summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-07 10:06:41 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-07 10:09:02 +0300
commitb3bf41c92fd27c21d0d325dfca7121fe59f82f41 (patch)
treec66a9c3772163bcfba8f85cc5f448aa99ac1224a /sfx2/source/dialog
parent9e9d973e85f99d08166c4d16e568ed736f363000 (diff)
WaE: loplugin:implicitboolconversion
Explicit conversion (NoOp) from 'bool' to 'sal_IntPtr' (aka 'long') implicitly cast back to 'bool'. Change-Id: I53b2a2098eb9122aca0617d37188b62322980b72
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index e931b0fcc531..4950c2a7b796 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -2155,7 +2155,7 @@ IMPL_LINK_TYPED( SfxCommonTemplateDialog_Impl, MenuSelectHdl, Menu*, pMenu, bool
nLastItemId = pMenu->GetCurItemId();
Application::PostUserEvent(
LINK( this, SfxCommonTemplateDialog_Impl, MenuSelectAsyncHdl ), 0 );
- return sal_IntPtr(true);
+ return true;
}
IMPL_LINK_NOARG_TYPED( SfxCommonTemplateDialog_Impl, MenuSelectAsyncHdl, void*, void )