diff options
-rw-r--r-- | svx/source/svdraw/svdoattr.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index fd419ca40bef..1d0802eebcbc 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdoattr.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: dl $ $Date: 2001-05-10 16:11:01 $ + * last change: $Author: dl $ $Date: 2001-05-29 14:43:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1326,6 +1326,17 @@ void SdrAttrObj::BurnInStyleSheetAttributes( BOOL bPseudoSheetsOnly ) nWhich = aIter.NextWhich(); } + SfxWhichIter aHardAttrIter( GetItemSet() ); + nWhich = aHardAttrIter.FirstWhich(); + + while( nWhich ) + { + if( SFX_ITEM_SET == GetItemSet().GetItemState(nWhich, FALSE, &pItem) ) + aSet.Put( *pItem->Clone() ); + + nWhich = aHardAttrIter.NextWhich(); + } + // Set StyleSheet attributes as hard attributes SetItemSet( aSet ); } |