diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-06 16:24:07 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-06 16:41:24 -0500 |
commit | 248a6136b898389a5d3d351859591b2de458ce90 (patch) | |
tree | e7fabaf9b96867d5dd6de8355cec47a13b781765 /sc/source/core/data/userdat.cxx | |
parent | bf6ccec6334141be5e0247f9cf3f34762f668e40 (diff) |
Fix re-calculation of the position of circular drawing objects.
Cell-anchored circular drawing objects would get distorted whenever
its bounding rectangle changes, either via insertion / removal of
columns / rows, or changing the row height / column width.
This commit fixes it by differentiating the validation circles, which
needs its own re-calc algorithm, from the normal circular drawing
objects.
Diffstat (limited to 'sc/source/core/data/userdat.cxx')
-rw-r--r-- | sc/source/core/data/userdat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/userdat.cxx b/sc/source/core/data/userdat.cxx index 2b2db805fde6..694763417e2c 100644 --- a/sc/source/core/data/userdat.cxx +++ b/sc/source/core/data/userdat.cxx @@ -70,7 +70,7 @@ ScDrawObjData::ScDrawObjData() : SdrObjUserData( SC_DRAWLAYER, SC_UD_OBJDATA, 0 ), maStart( ScAddress::INITIALIZE_INVALID ), maEnd( ScAddress::INITIALIZE_INVALID ), - mbNote( false ) + meType( DrawingObject ) { } |