From bda1f323fd1f86862a710085d2e6b419c4c85ab4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 7 Sep 2015 10:11:24 +0300 Subject: WaE: loplugin:implicitboolconversion Explicit conversion (NoOp) from 'bool' to 'sal_IntPtr' (aka 'long') implicitly cast back to 'bool'. Change-Id: Id18733d1edb0aaa357f4601e9118487740e2cd0f --- sfx2/source/menu/mnumgr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/menu/mnumgr.cxx') 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 -- cgit