diff options
author | Michael Stahl <mst@openoffice.org> | 2010-09-30 16:03:07 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-09-30 16:03:07 +0200 |
commit | 5104cfc4b35a32ff3871dcd8f60079ceff2a608d (patch) | |
tree | e5ad65d9c029d08ec3a65a98bd242528ce519641 /sw/source/core/inc/txtfrm.hxx | |
parent | 3ffb5d1c462efed60ce2dd7f73af002f7cf6472d (diff) |
sw34refactor1: remove obsolete (due to printer refactoring) class SwPrtOptions:
remove SwPrtOptions instances with SwPrintData.
replace SwPrtOptions::MakeOptions() with sw::InitPrintOptionsFromApplication().
move some constants from swprtopt.hxx to printdata.hxx.
remove swprtopt.hxx.
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 5a8783df261b..0e7db85e64ac 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -24,8 +24,9 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef _TXTFRM_HXX -#define _TXTFRM_HXX +#ifndef SW_TXTFRM_HXX +#define SW_TXTFRM_HXX + #include <tools/mempool.hxx> #include <tools/string.hxx> #include "cntfrm.hxx" @@ -292,7 +293,8 @@ public: void PaintExtraData( const SwRect & rRect ) const; //Seitennummer usw. SwRect Paint(); - virtual void Paint( const SwRect &, const SwPrtOptions *pPrintData = NULL ) const; + virtual void Paint( SwRect const&, + SwPrintData const*const pPrintData = NULL ) const; virtual void Modify( SfxPoolItem*, SfxPoolItem* ); virtual sal_Bool GetInfo( SfxPoolItem & ) const; |