diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 17:17:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 18:24:03 +0100 |
commit | 101e5cc49c413bede477c0f44b2256e087f7db8c (patch) | |
tree | d0a2150de095e7f4465623102d910db6cc9ed7f6 /svtools/source/config | |
parent | b184636e1ccbc6560430a6a3e44fe56d2014c8f7 (diff) |
bool improvements
Change-Id: I85faf4e3fcab6763af11eb6a4082820e88bea1ca
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/menuoptions.cxx | 2 | ||||
-rw-r--r-- | svtools/source/config/miscopt.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 1a320b18e4ab..8089c5c912d3 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -280,7 +280,7 @@ SvtMenuOptions_Impl::~SvtMenuOptions_Impl() { // Flush data to configuration! // User has no chance to do that. - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 3a600333ada7..555a9d4a8bf8 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -404,7 +404,7 @@ SvtMiscOptions_Impl::SvtMiscOptions_Impl() SvtMiscOptions_Impl::~SvtMiscOptions_Impl() { // We must save our current values .. if user forgets it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } |