diff options
author | Dieter Loeschky <dl@openoffice.org> | 2001-05-29 13:43:33 +0000 |
---|---|---|
committer | Dieter Loeschky <dl@openoffice.org> | 2001-05-29 13:43:33 +0000 |
commit | 2f22258f4ccffe9869188cf4e0ad65fd442391e7 (patch) | |
tree | b3212a43df479dc5573c6d21ec9daad0a5fde9d4 | |
parent | 7e0e4bd86b50686f46429c3e4c3a882bdf66891c (diff) |
#87340# BurnInStyleSheetAttributes(): consider hard attributes
-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 ); } |