diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 12:07:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 13:24:31 +0100 |
commit | 891ffcb141239cb0c51b37f7cc9be0957915ec31 (patch) | |
tree | 72a3194003904bd06a50f1014da77243d48cd31a /unotools | |
parent | bool improvements (diff) | |
download | core-891ffcb141239cb0c51b37f7cc9be0957915ec31.tar.gz core-891ffcb141239cb0c51b37f7cc9be0957915ec31.zip |
bool improvements
Change-Id: I2733b729fe516c0e857490369d493bb7d8fb7c77
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/cmdoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/compatibility.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/dynamicmenuoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/eventcfg.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/extendedsecurityoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/fontoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/localisationoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx index e2da7dfa6cb8..1bfb2f62ab4c 100644 --- a/unotools/source/config/cmdoptions.cxx +++ b/unotools/source/config/cmdoptions.cxx @@ -236,7 +236,7 @@ SvtCommandOptions_Impl::SvtCommandOptions_Impl() SvtCommandOptions_Impl::~SvtCommandOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index 5d09386cc075..78f280ace2e6 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -420,7 +420,7 @@ SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl() SvtCompatibilityOptions_Impl::~SvtCompatibilityOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index 990c2b5adc56..964cf50765cc 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -456,7 +456,7 @@ SvtDynamicMenuOptions_Impl::SvtDynamicMenuOptions_Impl() SvtDynamicMenuOptions_Impl::~SvtDynamicMenuOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index 3fcfc8f2b846..a052613ca0ab 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -126,7 +126,7 @@ GlobalEventConfig_Impl::GlobalEventConfig_Impl() GlobalEventConfig_Impl::~GlobalEventConfig_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx index ec6f5cc9d13e..2b3674eba5fc 100644 --- a/unotools/source/config/extendedsecurityoptions.cxx +++ b/unotools/source/config/extendedsecurityoptions.cxx @@ -191,7 +191,7 @@ SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl() SvtExtendedSecurityOptions_Impl::~SvtExtendedSecurityOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx index c661fd500071..e82308706d7d 100644 --- a/unotools/source/config/fontoptions.cxx +++ b/unotools/source/config/fontoptions.cxx @@ -184,7 +184,7 @@ SvtFontOptions_Impl::SvtFontOptions_Impl() SvtFontOptions_Impl::~SvtFontOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/localisationoptions.cxx b/unotools/source/config/localisationoptions.cxx index 1d67f9a26eaa..4fac21c7c4d9 100644 --- a/unotools/source/config/localisationoptions.cxx +++ b/unotools/source/config/localisationoptions.cxx @@ -173,7 +173,7 @@ SvtLocalisationOptions_Impl::SvtLocalisationOptions_Impl() SvtLocalisationOptions_Impl::~SvtLocalisationOptions_Impl() { // We must save our current values .. if user forget it! - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index c72fff8ce216..aa3ce5afd764 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -403,7 +403,7 @@ SvtModuleOptions_Impl::SvtModuleOptions_Impl() *//*-*************************************************************************************************************/ SvtModuleOptions_Impl::~SvtModuleOptions_Impl() { - if( IsModified() == sal_True ) + if( IsModified() ) { Commit(); } |