summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorDieter Loeschky <dl@openoffice.org>2001-05-29 05:49:26 +0000
committerDieter Loeschky <dl@openoffice.org>2001-05-29 05:49:26 +0000
commit9107085d54786e92b946c30e7909c361821a3382 (patch)
tree1ba2f2e4ef61f2b3c9fa71df45c7457f8131b7c0 /svx/source
parentfcd07fbd471c916590d6b402a9e4c42597cea7c0 (diff)
#86510# BurnInStyleSheetAttributes(): type casting SdrObject pointer
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdpage.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index e7397c1b670d..8be960931ae5 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdpage.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: sj $ $Date: 2001-05-22 10:22:16 $
+ * last change: $Author: dl $ $Date: 2001-05-29 06:49:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -949,8 +949,11 @@ void SdrObjList::BurnInStyleSheetAttributes( BOOL bPseudoSheetsOnly )
{
ULONG nAnz=GetObjCount();
ULONG nNum=0;
- while (nNum<nAnz) {
- GetObj(nNum)->BurnInStyleSheetAttributes( bPseudoSheetsOnly );
+ while (nNum<nAnz)
+ {
+ SdrObject* pObj = GetObj(nNum);
+ if( pObj->ISA( SdrAttrObj ) )
+ ( (SdrAttrObj*) pObj )->BurnInStyleSheetAttributes( bPseudoSheetsOnly );
nNum++;
}
}