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/view/vdraw.cxx | |
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/view/vdraw.cxx')
-rw-r--r-- | sw/source/core/view/vdraw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx index 1aa7c91a4c69..4c1f045f79be 100644 --- a/sw/source/core/view/vdraw.cxx +++ b/sw/source/core/view/vdraw.cxx @@ -52,7 +52,7 @@ #include "viewimp.hxx" #include "dflyobj.hxx" #include "viewopt.hxx" -#include "swprtopt.hxx" +#include "printdata.hxx" #include "dcontact.hxx" #include "dview.hxx" #include "flyfrm.hxx" @@ -179,7 +179,7 @@ void SwViewImp::UnlockPaint() // outliner of the draw view for painting layers <hell> and <heaven>. // OD 25.06.2003 #108784# - correct type of 1st parameter void SwViewImp::PaintLayer( const SdrLayerID _nLayerID, - const SwPrtOptions * _pPrintData, + SwPrintData const*const pPrintData, const SwRect& , const Color* _pPageBackgrdColor, const bool _bIsPageRightToLeft ) const @@ -226,11 +226,11 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID, } pOutDev->Push( PUSH_LINECOLOR ); // #114231# - if (_pPrintData) + if (pPrintData) { // hide drawings but not form controls (form controls are handled elsewhere) SdrView &rSdrView = const_cast< SdrView & >(GetPageView()->GetView()); - rSdrView.setHideDraw( !_pPrintData->IsPrintDraw() ); + rSdrView.setHideDraw( !pPrintData->IsPrintDraw() ); } GetPageView()->DrawLayer(_nLayerID, pOutDev); pOutDev->Pop(); |