diff options
author | Dieter Loeschky <dl@openoffice.org> | 2001-07-06 09:06:43 +0000 |
---|---|---|
committer | Dieter Loeschky <dl@openoffice.org> | 2001-07-06 09:06:43 +0000 |
commit | 770e123d367d1dc47b1e61f9cf0c45f1fbef80d0 (patch) | |
tree | 32a8e5a2d33e0ad4aedb156c868da54841d2945f | |
parent | 083790deabd9dde0db09b20df58033ec83caeba0 (diff) |
#89025# BurnInStyleSheetAttributes(): search also in parent stylesheet
-rw-r--r-- | svx/source/svdraw/svdoattr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index 1d0802eebcbc..b23d47bee8ec 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdoattr.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: dl $ $Date: 2001-05-29 14:43:33 $ + * last change: $Author: dl $ $Date: 2001-07-06 10:06:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1309,7 +1309,7 @@ void SdrAttrObj::BurnInStyleSheetAttributes( BOOL bPseudoSheetsOnly ) { // Get StyleSheet attributes SfxItemSet aSet(*pPool, - SDRATTR_START,SDRATTR_NOTPERSIST_FIRST-1, + SDRATTR_START, SDRATTR_NOTPERSIST_FIRST-1, SDRATTR_NOTPERSIST_LAST+1, SDRATTR_END, EE_ITEMS_START,EE_ITEMS_END, 0,0); @@ -1320,7 +1320,7 @@ void SdrAttrObj::BurnInStyleSheetAttributes( BOOL bPseudoSheetsOnly ) while( nWhich ) { - if( SFX_ITEM_SET == mpStyleSheet->GetItemSet().GetItemState(nWhich, FALSE, &pItem) ) + if( SFX_ITEM_SET == mpStyleSheet->GetItemSet().GetItemState(nWhich, TRUE, &pItem) ) aSet.Put( *pItem->Clone() ); nWhich = aIter.NextWhich(); |