summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-07 10:05:29 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-07 10:08:55 +0300
commit9e9d973e85f99d08166c4d16e568ed736f363000 (patch)
tree6d424e937f7cf37829515c23e146169a48fcab04 /sfx2
parent9af27324f5f5ef9bd340c6df8640b146a3eba21c (diff)
WaE: implicit conversion of literal of type 'long' to 'bool'
Change-Id: I5b5f6c41672da90a8a39e88498a0bbe5eebad909
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/taskpane.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index ce878f3d07d0..9358be4d65f7 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -981,7 +981,7 @@ namespace sfx2
IMPL_LINK_TYPED( TaskPaneController_Impl, OnMenuItemSelected, Menu*, i_pMenu, bool )
{
- ENSURE_OR_RETURN( i_pMenu, "TaskPaneController_Impl::OnMenuItemSelected: illegal menu!", 0L );
+ ENSURE_OR_RETURN( i_pMenu, "TaskPaneController_Impl::OnMenuItemSelected: illegal menu!", false );
i_pMenu->Deactivate();
switch ( i_pMenu->GetCurItemId() )
@@ -1010,7 +1010,7 @@ namespace sfx2
break;
}
- return 1L;
+ return true;
}