diff options
author | Armin Weiss <aw@openoffice.org> | 2001-01-18 09:48:47 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2001-01-18 09:48:47 +0000 |
commit | 2df8fefc28332b4060238fd7519b347942b70234 (patch) | |
tree | 92eb581e36c2fe896531372e7b38cc16b3c8abd2 /svx/source/svdraw/svdocirc.cxx | |
parent | f56f261e72214f1e3f5092b44a4394b411a96d08 (diff) |
#81921# ImpSetCircInfoToAttr() used SetItem() which was implicitly calling
ImpSetAttrToCircInfo(). This needed to be solved in using the local ItemSet
directly.
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index e70289cc8741..daa0e950231a 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdocirc.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: aw $ $Date: 2000-12-11 11:56:32 $ + * last change: $Author: aw $ $Date: 2001-01-18 10:48:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1504,14 +1504,21 @@ void SdrCircObj::ImpSetCircInfoToAttr() if(eNewKindA != eOldKindA || nStartWink != nOldStartWink || nEndWink != nOldEndWink) { + // #81921# since SetItem() implicitly calls ImpSetAttrToCircInfo() + // setting the item directly is necessary here. + ImpForceItemSet(); + if(eNewKindA != eOldKindA) - SetItem(SdrCircKindItem(eNewKindA)); + mpObjectItemSet->Put(SdrCircKindItem(eNewKindA)); if(nStartWink != nOldStartWink) - SetItem(SdrCircStartAngleItem(nStartWink)); + mpObjectItemSet->Put(SdrCircStartAngleItem(nStartWink)); if(nEndWink != nOldEndWink) - SetItem(SdrCircEndAngleItem(nEndWink)); + mpObjectItemSet->Put(SdrCircEndAngleItem(nEndWink)); + + SetXPolyDirty(); + ImpSetAttrToCircInfo(); } } |