summaryrefslogtreecommitdiff
path: root/sw/inc/format.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-13 08:26:57 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-13 08:26:57 +0000
commit200823fde5a9e663f69265db2f4be8faffcab968 (patch)
treeb417a015553479508dd74f9d0c7dc20abc755551 /sw/inc/format.hxx
parent8b820dd16de9fe44c0f8db0d942915bbefc5d1fe (diff)
INTEGRATION: CWS swlists01 (1.30.378); FILE MERGED
2008/05/08 16:17:15 od 1.30.378.2: RESYNC: (1.30-1.31); FILE MERGED 2008/03/06 08:00:42 od 1.30.378.1: #i86732# class <SwFmt> - replacing methods <SetAttr(..)> and method <ResetAttr(..)> by virtual methods <SetFmtAttr(..)> and method <ResetFmtAttr(..)>
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r--sw/inc/format.hxx21
1 files changed, 11 insertions, 10 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index ccda6e0a9119..03f9211c1bd4 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: format.hxx,v $
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
* This file is part of OpenOffice.org.
*
@@ -99,15 +99,16 @@ public:
// Ist bInParents FALSE,
// wird nur in diesem Format nach dem Attribut gesucht.
- inline const SfxPoolItem& GetAttr( USHORT nWhich,
- BOOL bInParents = TRUE ) const;
+ inline const SfxPoolItem& GetFmtAttr( USHORT nWhich,
+ BOOL bInParents = TRUE ) const;
inline SfxItemState GetItemState( USHORT nWhich, BOOL bSrchInParent = TRUE,
const SfxPoolItem **ppItem = 0 ) const;
- SW_DLLPUBLIC BOOL SetAttr( const SfxPoolItem& );
- SW_DLLPUBLIC BOOL SetAttr( const SfxItemSet& rSet );
-
- // Nimmt den Hint mit nWhich aus dem Delta-Array
- SW_DLLPUBLIC BOOL ResetAttr( USHORT nWhich1, USHORT nWhich2 = 0 );
+ // --> OD 2008-03-03 #refactorlists#
+ // methods renamed and made virtual
+ SW_DLLPUBLIC virtual BOOL SetFmtAttr( const SfxPoolItem& rAttr );
+ SW_DLLPUBLIC virtual BOOL SetFmtAttr( const SfxItemSet& rSet );
+ SW_DLLPUBLIC virtual BOOL ResetFmtAttr( USHORT nWhich1, USHORT nWhich2 = 0 );
+ // <--
// --> OD 2007-01-24 #i73790#
// Method renamed and made virtual
@@ -335,8 +336,8 @@ public:
// --------------- inline Implementierungen ------------------------
-inline const SfxPoolItem& SwFmt::GetAttr( USHORT nWhich,
- BOOL bInParents ) const
+inline const SfxPoolItem& SwFmt::GetFmtAttr( USHORT nWhich,
+ BOOL bInParents ) const
{
return aSet.Get( nWhich, bInParents );
}