summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 17:56:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:09 +0200
commit930b60d9a16e2111d3c35371241a753193168936 (patch)
treed8a3ec946ad2cee83efae1e7997e2750af81273d /editeng
parenta602a1ce43ea5debf6693d83dd5b164942574969 (diff)
Outliner::RemovingPagesHdl return type wants to be bool
Change-Id: I7d57d560f28683a840022cf766ef22cc50683349
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 )