summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Loeschky <dl@openoffice.org>2001-07-06 09:06:43 +0000
committerDieter Loeschky <dl@openoffice.org>2001-07-06 09:06:43 +0000
commit770e123d367d1dc47b1e61f9cf0c45f1fbef80d0 (patch)
tree32a8e5a2d33e0ad4aedb156c868da54841d2945f
parent083790deabd9dde0db09b20df58033ec83caeba0 (diff)
#89025# BurnInStyleSheetAttributes(): search also in parent stylesheet
-rw-r--r--svx/source/svdraw/svdoattr.cxx8
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();