summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaaddin.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 16:08:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:01 +0200
commite19cd844be171097dddf6319a037b7503ad2c922 (patch)
tree64ed67787f118d2b97036cc687242002e7bda5ce /sw/source/ui/vba/vbaaddin.cxx
parentd0e9aa6a2b07cb183dd7f8b06399b28f67588a83 (diff)
Rephrase comparisons between bool and sal_Bool
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
Diffstat (limited to 'sw/source/ui/vba/vbaaddin.cxx')
-rw-r--r--sw/source/ui/vba/vbaaddin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbaaddin.cxx b/sw/source/ui/vba/vbaaddin.cxx
index 4547af5bfd0b..4c1358d58701 100644
--- a/sw/source/ui/vba/vbaaddin.cxx
+++ b/sw/source/ui/vba/vbaaddin.cxx
@@ -67,7 +67,7 @@ sal_Bool SAL_CALL SwVbaAddin::getInstalled() throw (uno::RuntimeException, std::
void SAL_CALL SwVbaAddin::setInstalled( sal_Bool _installed ) throw (uno::RuntimeException, std::exception)
{
- if( _installed != (mbInstalled ? 1 : 0) )
+ if( bool(_installed) != mbInstalled )
{
mbInstalled = _installed;
// TODO: should call AutoExec and AutoExit etc.