summaryrefslogtreecommitdiff
path: root/sw/inc/unotxdoc.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-10 11:49:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-10 11:49:50 +0100
commitcd690d2e72be410058376c416a40ff5d918fb0f7 (patch)
treebededd74dcf985a02ea0ce97ba2987dffdc4db8d /sw/inc/unotxdoc.hxx
parente16221d3e0eb11958e20b8a1fd959c7055b9172e (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.hxx3
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