diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-11-03 15:31:40 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-11-03 15:31:40 +0100 |
commit | 2f9f480b22f2fff59d9c48b4b46706c3d5223e66 (patch) | |
tree | afa230a86cd485ff91f1c4f79b9d72e66b89948a /sw/inc/printdata.hxx | |
parent | f9ae468e1cb8242ce7a9b1b33ca202fd0f649841 (diff) |
CWS swlayoutrefactoring: found logical conflict after resync: not every view has a WrtShell, so try to do printing with ViewShell where possible
Diffstat (limited to 'sw/inc/printdata.hxx')
-rw-r--r--[-rwxr-xr-x] | sw/inc/printdata.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx index f76ac65e747a..c8875e856eb8 100755..100644 --- a/sw/inc/printdata.hxx +++ b/sw/inc/printdata.hxx @@ -46,7 +46,7 @@ class SwViewOption; class OutputDevice; class SwViewOptionAdjust_Impl; class SwPrtOptions; -class SwWrtShell; +class ViewShell; class SfxViewShell; // forward declarations @@ -267,8 +267,8 @@ public: void DeletePostItData(); bool IsViewOptionAdjust() const { return m_pViewOptionAdjust != 0; } - bool NeedNewViewOptionAdjust( const SwWrtShell& ) const; - void ViewOptionAdjustStart( SwWrtShell &rSh, const SwViewOption &rViewOptions ); + bool NeedNewViewOptionAdjust( const ViewShell& ) const; + void ViewOptionAdjustStart( ViewShell &rSh, const SwViewOption &rViewOptions ); void ViewOptionAdjust( const SwPrtOptions *pPrtOptions ); void ViewOptionAdjustStop(); |