diff options
author | Dieter Loeschky <dl@openoffice.org> | 2001-03-28 06:58:21 +0000 |
---|---|---|
committer | Dieter Loeschky <dl@openoffice.org> | 2001-03-28 06:58:21 +0000 |
commit | 6bd07031abd130f0ab5533a4ee9de31e187cba2b (patch) | |
tree | 6ba25b05e91914565fbb80ade907d13e081c0f28 | |
parent | d35bb77f2df25c75d932e33a5c9a8717d573fcef (diff) |
* virtual void ItemSetChanged(const SfxItemSet& rSet)
-rw-r--r-- | svx/source/svdraw/svdoattr.cxx | 8 | ||||
-rw-r--r-- | svx/source/svdraw/svdotxat.cxx | 15 |
2 files changed, 14 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index 4b9765569e34..82b494aa9663 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdoattr.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: dl $ $Date: 2001-03-16 09:45:25 $ + * last change: $Author: dl $ $Date: 2001-03-28 07:58:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -851,10 +851,10 @@ void SdrAttrObj::ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem } } -void SdrAttrObj::ItemSetChanged() +void SdrAttrObj::ItemSetChanged(const SfxItemSet& rSet) { // call parent - SdrObject::ItemSetChanged(); + SdrObject::ItemSetChanged(rSet); // own modifications bBoundRectDirty = TRUE; diff --git a/svx/source/svdraw/svdotxat.cxx b/svx/source/svdraw/svdotxat.cxx index a69b4c1c3317..be98d2380352 100644 --- a/svx/source/svdraw/svdotxat.cxx +++ b/svx/source/svdraw/svdotxat.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdotxat.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: dl $ $Date: 2001-03-16 09:45:05 $ + * last change: $Author: dl $ $Date: 2001-03-28 07:58:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,6 +127,10 @@ #include <editeng.hxx> #endif +#ifndef _SVX_POSTITEM_HXX //autogen +#include <svx/postitem.hxx> +#endif + //////////////////////////////////////////////////////////////////////////////////////////////////// // // @@@@@@ @@@@@ @@ @@ @@@@@@ @@@@ @@@@@ @@@@@@ @@ -246,7 +250,7 @@ void SdrTextObj::NbcSetStyleSheet(SfxStyleSheet* pNewStyleSheet, FASTBOOL bDontR //////////////////////////////////////////////////////////////////////////////////////////////////// // private support routines for ItemSet access -void SdrTextObj::ItemSetChanged() +void SdrTextObj::ItemSetChanged(const SfxItemSet& rSet) { // handle outliner attributes ImpForceItemSet(); @@ -292,7 +296,7 @@ void SdrTextObj::ItemSetChanged() SendRepaintBroadcast(); // call parent - SdrAttrObj::ItemSetChanged(); + SdrAttrObj::ItemSetChanged(rSet); } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -325,8 +329,9 @@ void SdrTextObj::BurnInStyleSheetAttributes( BOOL bPseudoSheetsOnly ) for ( USHORT nPara = 0; nPara < nParaCount; nPara++ ) { SfxStyleSheet* pSheet = pOutliner->GetStyleSheet( nPara ); + SfxStyleFamily eFam = pSheet->GetFamily(); - if( pSheet && !bPseudoSheetsOnly || pSheet->GetFamily() == SFX_STYLE_FAMILY_PSEUDO ) + if( pSheet && ( !bPseudoSheetsOnly || pSheet->GetFamily() == SFX_STYLE_FAMILY_PSEUDO ) ) { SfxItemSet aSet( pSheet->GetItemSet() ); aSet.Put( pOutliner->GetParaAttribs( nPara ), FALSE ); |