diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/OutlineView.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 495a4d7b4fc6..0daad3da8f18 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -102,7 +102,7 @@ public: DECL_LINK_TYPED( BeginMovingHdl, Outliner *, void ); DECL_LINK_TYPED( EndMovingHdl, Outliner *, void ); DECL_LINK_TYPED( RemovingPagesHdl, OutlinerView *, bool ); - DECL_LINK_TYPED( IndentingPagesHdl, OutlinerView *, long ); + DECL_LINK_TYPED( IndentingPagesHdl, OutlinerView *, bool ); DECL_LINK( BeginDropHdl, void * ); DECL_LINK( EndDropHdl, void * ); DECL_LINK_TYPED( PaintingFirstLineHdl, PaintFirstLineInfo*, void ); diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 076ee48d6b23..768571807d3f 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1194,9 +1194,9 @@ IMPL_LINK_NOARG_TYPED(OutlineView, RemovingPagesHdl, OutlinerView*, bool) /** * Handler for indenting level 0 paragraphs (pages): Warning */ -IMPL_LINK_TYPED( OutlineView, IndentingPagesHdl, OutlinerView *, pOutlinerView, long ) +IMPL_LINK_TYPED( OutlineView, IndentingPagesHdl, OutlinerView *, pOutlinerView, bool ) { - return RemovingPagesHdl(pOutlinerView) ? 1 : 0; + return RemovingPagesHdl(pOutlinerView); } /** returns the first slide that is selected in the outliner or where @@ -1371,7 +1371,7 @@ void OutlineView::ResetLinks() const mrOutliner.SetEndMovingHdl(Link<::Outliner*,void>()); mrOutliner.SetStatusEventHdl(aEmptyLink); mrOutliner.SetRemovingPagesHdl(Link<OutlinerView*,bool>()); - mrOutliner.SetIndentingPagesHdl(Link<OutlinerView*,long>()); + mrOutliner.SetIndentingPagesHdl(Link<OutlinerView*,bool>()); mrOutliner.SetDrawPortionHdl(Link<DrawPortionInfo*,void>()); mrOutliner.SetBeginPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); mrOutliner.SetEndPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); |