resolved fdo#82936 do not clear the 3D flag on refupdate

Change-Id: I2ae1368a2ffc20e988ff3ab66590a9f98902b862
(cherry picked from commit 75aad687cb5e63a41303aea568bf68b2b5f15d31)
cp#1000103: Set 3D flag when adjusting reference on cell move.

This is conceptually a backport of 31abf4ce4e18cf2e94c6e598f255ae7cd8f675fa,
adjusted to apply to the 4.2 code base.

Change-Id: Id2979c7699e2b28cc752d527f4cb328da1529c0d