summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-13 10:15:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-13 10:15:31 +0200
commit7668396d3915359e0b2879938e23c2b68fcb4fe5 (patch)
treec364d56e57ad8379fa46796c40e12eb9760690f6 /sd
parent8695633023cc321a095753db98bdc69d2aeee058 (diff)
loplugin:implicitboolconversion
Change-Id: Id59a7c9402c59e91715f63a88eeed40d2ef9bd92
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/outlview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 19f38f0181b9..076ee48d6b23 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -1196,7 +1196,7 @@ IMPL_LINK_NOARG_TYPED(OutlineView, RemovingPagesHdl, OutlinerView*, bool)
*/
IMPL_LINK_TYPED( OutlineView, IndentingPagesHdl, OutlinerView *, pOutlinerView, long )
{
- return RemovingPagesHdl(pOutlinerView);
+ return RemovingPagesHdl(pOutlinerView) ? 1 : 0;
}
/** returns the first slide that is selected in the outliner or where