diff options
author | Oliver Specht <os@openoffice.org> | 2002-09-09 07:42:38 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-09-09 07:42:38 +0000 |
commit | a2ec16ccf2a755da96225749f09f0526b66f876b (patch) | |
tree | 9bd4169b4d3d02ae0ce106387c2dc90a76003993 /sw/source/ui/inc/label.hxx | |
parent | ec14a6e25f7898ea293b0f989804ee85136f69e8 (diff) |
#102806# update of label types improved
Diffstat (limited to 'sw/source/ui/inc/label.hxx')
-rw-r--r-- | sw/source/ui/inc/label.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sw/source/ui/inc/label.hxx b/sw/source/ui/inc/label.hxx index 7144c2094e68..a7bca4ad2c73 100644 --- a/sw/source/ui/inc/label.hxx +++ b/sw/source/ui/inc/label.hxx @@ -2,9 +2,9 @@ * * $RCSfile: label.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2001-01-24 09:05:18 $ + * last change: $Author: os $ $Date: 2002-09-09 08:42:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,7 +98,7 @@ class SwLabDlg : public SfxTabDialog String sFormat; String sMedium; BOOL m_bLabel; - void _ReplaceGroup( const String &rMake, SwLabItem *pItem ); + void _ReplaceGroup( const String &rMake ); virtual void PageCreated( USHORT nId, SfxTabPage &rPage ); public: @@ -122,7 +122,8 @@ public: const SvStringsDtor &Makes() const { return aMakes; } Printer *GetPrt(); - inline void ReplaceGroup( const String &rMake, SwLabItem *pItem ); + inline void ReplaceGroup( const String &rMake ); + void UpdateGroup( const String &rMake ) {_ReplaceGroup( rMake );} static void UpdateFieldInformation(::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel, const SwLabItem& rItem); const String& GetBusinessCardStr() const {return sBusinessCardDlg;} @@ -131,10 +132,10 @@ public: }; -inline void SwLabDlg::ReplaceGroup( const String &rMake, SwLabItem *pItem ) +inline void SwLabDlg::ReplaceGroup( const String &rMake ) { if ( rMake != aLstGroup ) - _ReplaceGroup( rMake, pItem ); + _ReplaceGroup( rMake ); } #endif |