summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-07 10:11:24 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-07 10:11:24 +0300
commitbda1f323fd1f86862a710085d2e6b419c4c85ab4 (patch)
tree3f1f04b934633ec4478dec339096081262935a9e /sfx2
parentb3bf41c92fd27c21d0d325dfca7121fe59f82f41 (diff)
WaE: loplugin:implicitboolconversion
Explicit conversion (NoOp) from 'bool' to 'sal_IntPtr' (aka 'long') implicitly cast back to 'bool'. Change-Id: Id18733d1edb0aaa357f4601e9118487740e2cd0f
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/menu/mnumgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx
index a8460511ca13..33d69e54b077 100644
--- a/sfx2/source/menu/mnumgr.cxx
+++ b/sfx2/source/menu/mnumgr.cxx
@@ -222,11 +222,11 @@ IMPL_LINK_TYPED( SfxMenuManager, Select, Menu *, pSelMenu, bool )
if (!aCommand.isEmpty() && pBindings)
{
pBindings->ExecuteCommand_Impl( aCommand );
- return sal_IntPtr(true);
+ return true;
}
if (!pBindings)
- return sal_IntPtr(true);
+ return true;
if ( pBindings->IsBound(nId) )
// normal function