summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2015-07-13 23:32:28 -0400
committerAndras Timar <andras.timar@collabora.com>2015-11-05 22:58:27 +0100
commitcdebfc0f5a230668d9630492118c06ceda339543 (patch)
treeaefcc7b13ca6947c0a9c3c8fad88c6cd3c8581ec /sw/source/uibase
parent6064a8b601a4d3ee6e4bbe598d7ee50712d300e4 (diff)
tdf#39080 Added HideWhitespaceMode ViewOption flagcp-5.0-8
Change-Id: I94ac57881dc3a3628413b9198ea750fdc282accb Reviewed-on: https://gerrit.libreoffice.org/17278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 3e3c5369e87066a4bfdead5fc9dbfe128f84df52)
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/config/viewopt.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 77c716af839d..3670bddebd33 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -82,6 +82,7 @@ bool SwViewOption::IsEqualFlags( const SwViewOption &rOpt ) const
&& mbFormView == rOpt.IsFormView()
&& mbBrowseMode == rOpt.getBrowseMode()
&& mbViewLayoutBookMode == rOpt.mbViewLayoutBookMode
+ && mbHideWhitespaceMode == rOpt.mbHideWhitespaceMode
&& bShowPlaceHolderFields == rOpt.bShowPlaceHolderFields
&& bIdle == rOpt.bIdle
#ifdef DBG_UTIL
@@ -165,6 +166,7 @@ SwViewOption::SwViewOption() :
mbBrowseMode(false),
mbBookView(false),
mbViewLayoutBookMode(false),
+ mbHideWhitespaceMode(false),
bShowPlaceHolderFields( true ),
nZoom( 100 ),
eZoom( SvxZoomType::PERCENT ),
@@ -237,6 +239,7 @@ SwViewOption::SwViewOption(const SwViewOption& rVOpt)
mbBookView = rVOpt.mbBookView;
mbBrowseMode = rVOpt.mbBrowseMode;
mbViewLayoutBookMode = rVOpt.mbViewLayoutBookMode;
+ mbHideWhitespaceMode = rVOpt.mbHideWhitespaceMode;
bShowPlaceHolderFields = rVOpt.bShowPlaceHolderFields;
bIdle = rVOpt.bIdle;
@@ -277,6 +280,7 @@ SwViewOption& SwViewOption::operator=( const SwViewOption &rVOpt )
mbBookView = rVOpt.mbBookView;
mbBrowseMode = rVOpt.mbBrowseMode;
mbViewLayoutBookMode = rVOpt.mbViewLayoutBookMode;
+ mbHideWhitespaceMode = rVOpt.mbHideWhitespaceMode;
bShowPlaceHolderFields = rVOpt.bShowPlaceHolderFields;
bIdle = rVOpt.bIdle;