summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2015-07-13 23:32:28 -0400
committerCaolán McNamara <caolanm@redhat.com>2015-08-17 12:23:34 +0000
commit3e3c5369e87066a4bfdead5fc9dbfe128f84df52 (patch)
treefc162a7df276de5a51ace36f05d1cbab2be6ded3 /sw/source/uibase/config
parentd9e872114fcb1beedf2f068d19bd4eda1854073a (diff)
tdf#39080 Added HideWhitespaceMode ViewOption flag
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>
Diffstat (limited to 'sw/source/uibase/config')
-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 190a6e3b5d72..1a105b89db6f 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -81,6 +81,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
@@ -164,6 +165,7 @@ SwViewOption::SwViewOption() :
mbBrowseMode(false),
mbBookView(false),
mbViewLayoutBookMode(false),
+ mbHideWhitespaceMode(false),
bShowPlaceHolderFields( true ),
nZoom( 100 ),
eZoom( SvxZoomType::PERCENT ),
@@ -234,6 +236,7 @@ SwViewOption::SwViewOption(const SwViewOption& rVOpt)
mbBookView = rVOpt.mbBookView;
mbBrowseMode = rVOpt.mbBrowseMode;
mbViewLayoutBookMode = rVOpt.mbViewLayoutBookMode;
+ mbHideWhitespaceMode = rVOpt.mbHideWhitespaceMode;
bShowPlaceHolderFields = rVOpt.bShowPlaceHolderFields;
bIdle = rVOpt.bIdle;
@@ -274,6 +277,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;