jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2 +- jvmfwk/source/framework.cxx | 4 ++-- stoc/source/security/permissions.cxx | 2 +- svl/source/config/ctloptions.cxx | 2 +- tools/source/fsys/urlobj.cxx | 2 +- unotools/source/config/cmdoptions.cxx | 2 +- unotools/source/config/compatibility.cxx | 2 +- unotools/source/config/dynamicmenuoptions.cxx | 2 +- unotools/source/config/eventcfg.cxx | 2 +- unotools/source/config/extendedsecurityoptions.cxx | 2 +- unotools/source/config/fontoptions.cxx | 2 +- unotools/source/config/localisationoptions.cxx | 2 +- unotools/source/config/moduleoptions.cxx | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-)
New commits: commit 891ffcb141239cb0c51b37f7cc9be0957915ec31 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 21 12:07:55 2014 +0100 bool improvements Change-Id: I2733b729fe516c0e857490369d493bb7d8fb7c77 diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx index e2da7df..1bfb2f6 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 5d09386..78f280a 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 990c2b5..964cf50 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 3fcfc8f..a052613 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 ec6f5cc..2b3674e 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 c661fd5..e823087 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 1d67f9a..4fac21c 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 c72fff8..aa3ce5a 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(); } commit fb96dc3c8f031a79266f9921d614c334fa9e17a8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 21 11:56:55 2014 +0100 bool improvements Change-Id: I5237197595b1b892e7720de13fc835b64470505e diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 441770d..8db39a1 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -3960,7 +3960,7 @@ bool INetURLObject::operator ==(INetURLObject const & rObject) const } default: - return (aPath1 == aPath2) != false; + return aPath1 == aPath2; } } commit 246630a7503c82d61a1bbe1f60449bb4b7b33bc3 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 21 11:50:41 2014 +0100 bool improvements Change-Id: I28697ffd7902321730435e15fcf3018c78a61c5f diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index 7ff4c49..feb66a5 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -130,7 +130,7 @@ SvtCTLOptions_Impl::SvtCTLOptions_Impl() : } SvtCTLOptions_Impl::~SvtCTLOptions_Impl() { - if ( IsModified() == sal_True ) + if ( IsModified() ) Commit(); } // ----------------------------------------------------------------------------- commit 721e30bf54426e0a3512468af966111ab4a0c528 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 21 11:48:48 2014 +0100 bool improvements Change-Id: I00e7cdadc4e66fa9656c0a63f4ef18d3673b8e8a diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index 03b6fd4..ff46844 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -318,7 +318,7 @@ FilePermission::FilePermission( : Permission( FILE, next ) , m_actions( makeMask( perm.Actions, s_actions ) ) , m_url( perm.URL ) - , m_allFiles( sal_False != perm.URL.startsWith("<<ALL FILES>>") ) + , m_allFiles( perm.URL.startsWith("<<ALL FILES>>") ) { if (! m_allFiles) { commit e7f7b1d09cead90c2fee075b5bfabf0c71cec28e Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 21 11:46:57 2014 +0100 bool improvements Change-Id: Ic4572480d48e341c8fa611a3283efc351f530eb5 diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index b1c5eaf..238842d 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -1032,7 +1032,7 @@ rtl::Reference<VendorBase> getJREInfoByPath( } } } - if (ret.is() == false) + if (!ret.is()) vecBadPaths.push_back(sFilePath); else { diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index c138f7e..688864e 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -302,7 +302,7 @@ javaFrameworkError SAL_CALL jfw_startVM( if (mode == jfw::JFW_MODE_APPLICATION) { const jfw::MergedSettings settings; - if (sal_False == settings.getEnabled()) + if (!settings.getEnabled()) return JFW_E_JAVA_DISABLED; aInfo.attach(settings.createJavaInfo()); //check if a Java has ever been selected @@ -949,7 +949,7 @@ javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled) //check if Enabled is false; const jfw::MergedSettings settings; - if (settings.getEnabled() == sal_False) + if (!settings.getEnabled()) g_bEnabledSwitchedOn = true; } jfw::NodeJava node(jfw::NodeJava::USER); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits