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/unotxdoc.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/unotxdoc.hxx')
-rw-r--r--[-rwxr-xr-x] | sw/inc/unotxdoc.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index b50d5b0a1b76..b2d163ae92a0 100755..100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -130,7 +130,7 @@ class SwPrintUIOptions; class SwPrintData; class SwRenderData; class SwPrtOptions; -class SwWrtShell; +class ViewShell; typedef UnoActionContext* UnoActionContextPtr; @@ -597,18 +597,18 @@ public: -----------------------------------------------------------------------*/ class SwViewOptionAdjust_Impl { - SwWrtShell & m_rShell; + ViewShell & m_rShell; SwViewOption m_aOldViewOptions; // SwViewOption m_aRenderViewOptions; // view options to use when rendering for PDF export or printing // bool m_bRestoreViewOptions; public: - SwViewOptionAdjust_Impl( SwWrtShell& rSh, const SwViewOption &rViewOptions ); + SwViewOptionAdjust_Impl( ViewShell& rSh, const SwViewOption &rViewOptions ); ~SwViewOptionAdjust_Impl(); void AdjustViewOptions( const SwPrtOptions *pPrtOptions ); - bool checkShell( const SwWrtShell& rCompare ) const + bool checkShell( const ViewShell& rCompare ) const { return &rCompare == &m_rShell; } }; |