summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdobj.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-03-27 08:04:08 +0000
committerChristian Lippka <cl@openoffice.org>2002-03-27 08:04:08 +0000
commit66f60c2b441c92633b9c8896d40d873967699bc5 (patch)
tree95ac82f6e848b31bb1202e24c9e3ca585f64c856 /svx/source/svdraw/svdobj.cxx
parentda6b0cc4687453922e4b0247c1462dd61e81adad (diff)
#67368# merged position & size tabpage for changed protect feature
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r--svx/source/svdraw/svdobj.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 5178893ae80c..6e98acaf6c3b 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdobj.cxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: ka $ $Date: 2002-03-06 11:09:04 $
+ * last change: $Author: cl $ $Date: 2002-03-27 09:04:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -3638,6 +3638,11 @@ void SdrObject::NbcApplyNotPersistAttr(const SfxItemSet& rAttr)
FASTBOOL b=((const SdrObjSizeProtectItem*)pPoolItem)->GetValue();
SetResizeProtect(b);
}
+
+ /* #67368# move protect always sets size protect */
+ if( IsMoveProtect() )
+ SetResizeProtect( true );
+
if (rAttr.GetItemState(SDRATTR_OBJPRINTABLE,TRUE,&pPoolItem)==SFX_ITEM_SET) {
FASTBOOL b=((const SdrObjPrintableItem*)pPoolItem)->GetValue();
SetPrintable(b);