diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-10 11:49:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-10 11:49:50 +0100 |
commit | cd690d2e72be410058376c416a40ff5d918fb0f7 (patch) | |
tree | bededd74dcf985a02ea0ce97ba2987dffdc4db8d /sw/inc/unotxdoc.hxx | |
parent | e16221d3e0eb11958e20b8a1fd959c7055b9172e (diff) |
Resolves: fdo#39159 don't restore original view settings on temp documents
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r-- | sw/inc/unotxdoc.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 7aad16da1d3c..bc21cf3350f3 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -588,9 +588,10 @@ class SwViewOptionAdjust_Impl { ViewShell & m_rShell; SwViewOption m_aOldViewOptions; + bool m_bIsTmpSelection; public: - SwViewOptionAdjust_Impl( ViewShell& rSh, const SwViewOption &rViewOptions ); + SwViewOptionAdjust_Impl( ViewShell& rSh, const SwViewOption &rViewOptions, bool bIsTmpSelection ); ~SwViewOptionAdjust_Impl(); void AdjustViewOptions( SwPrintData const* const pPrtOptions ); bool checkShell( const ViewShell& rCompare ) const |