From 930b60d9a16e2111d3c35371241a753193168936 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 17:56:06 +0200 Subject: Outliner::RemovingPagesHdl return type wants to be bool Change-Id: I7d57d560f28683a840022cf766ef22cc50683349 --- editeng/source/outliner/outliner.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 50c88f0d9376..cecf2b2f3f0d 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -1771,9 +1771,9 @@ void Outliner::DrawingTab( const Point& rStartPos, long nWidth, const OUString& } } -long Outliner::RemovingPagesHdl( OutlinerView* pView ) +bool Outliner::RemovingPagesHdl( OutlinerView* pView ) { - return aRemovingPagesHdl.IsSet() ? aRemovingPagesHdl.Call( pView ) : sal_True; + return !aRemovingPagesHdl.IsSet() || aRemovingPagesHdl.Call( pView ); } bool Outliner::ImpCanDeleteSelectedPages( OutlinerView* pCurView, sal_Int32 _nFirstPage, sal_Int32 nPages ) -- cgit