diff options
author | Christian Lippka <cl@openoffice.org> | 2001-11-27 12:09:01 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-11-27 12:09:01 +0000 |
commit | d4c57d1e6a235a8944d7cd995286cf2485d99e3a (patch) | |
tree | eab7b7335346f853d8fa78b641eafaa0330d794f /svx | |
parent | 5be65bd30931f2db604f42c6d35dd09ac690dcc3 (diff) |
#95195# fixed problem with multiply properties per item on SetPropertyValues call
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index af8cfd8ce60f..593398c842a2 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshape.cxx,v $ * - * $Revision: 1.78 $ + * $Revision: 1.79 $ * - * last change: $Author: cl $ $Date: 2001-11-19 15:02:42 $ + * last change: $Author: cl $ $Date: 2001-11-27 13:09:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1642,7 +1642,8 @@ void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const u pSet = new SfxItemSet( pModel->GetItemPool(), pMap->nWID, pMap->nWID); } - pSet->Put(pObj->GetItem(pMap->nWID)); + if( pSet->GetItemState( pMap->nWID ) != SFX_ITEM_SET ) + pSet->Put(pObj->GetItem(pMap->nWID)); if( !SvxUnoTextRangeBase::SetPropertyValueHelper( *pSet, pMap, rVal, *pSet )) { |