summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/outliner/outliner.cxx4
1 files changed, 2 insertions, 2 deletions
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 )