From acbfda3065a5f6f7d4161da366b88bb69d8cc36d Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 16 Dec 2003 12:09:39 +0000 Subject: INTEGRATION: CWS aw007 (1.2.20); FILE MERGED 2003/12/10 09:50:44 aw 1.2.20.1: #114265# I made some places more secure which use the mpItemSet inside the properties implementations --- svx/source/sdr/properties/circleproperties.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'svx/source/sdr/properties/circleproperties.cxx') diff --git a/svx/source/sdr/properties/circleproperties.cxx b/svx/source/sdr/properties/circleproperties.cxx index 260170a743a4..7acfe8d431d5 100644 --- a/svx/source/sdr/properties/circleproperties.cxx +++ b/svx/source/sdr/properties/circleproperties.cxx @@ -2,9 +2,9 @@ * * $RCSfile: circleproperties.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2003-11-24 16:48:17 $ + * last change: $Author: vg $ $Date: 2003-12-16 13:09:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -170,6 +170,9 @@ namespace sdr // call parent RectangleProperties::PreProcessSave(); + // force ItemSet + GetObjectItemSet(); + // prepare SetItems for storage const SfxItemSet& rSet = *mpItemSet; const SfxItemSet* pParent = mpStyleSheet ? &(mpStyleSheet->GetItemSet()) : 0L; @@ -213,7 +216,9 @@ namespace sdr if(eKindA != SDRCIRC_FULL) { + // force ItemSet GetObjectItemSet(); + mpItemSet->Put(SdrCircKindItem(eKindA)); if(rObj.GetStartWink()) -- cgit