[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Mon Jul 13 01:15:57 PDT 2015


 sd/source/ui/view/outlview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7668396d3915359e0b2879938e23c2b68fcb4fe5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 13 10:15:17 2015 +0200

    loplugin:implicitboolconversion
    
    Change-Id: Id59a7c9402c59e91715f63a88eeed40d2ef9bd92

diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 19f38f0..076ee48 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


More information about the Libreoffice-commits mailing list