summaryrefslogtreecommitdiff
path: root/include/editeng/outliner.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-13 11:21:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-13 11:21:01 +0200
commit4cb59a867f5a306642f3cbf49bd97b5e14c0998a (patch)
tree2b8dd1093e17d7543667404c70af444f8304df14 /include/editeng/outliner.hxx
parent51e848095a8ff07153d0e928b130658d5d5e93ce (diff)
Fix IndentingPagesHdl type (and GetIndentingPagesHdl is unused)
Change-Id: Ide5398040678a81e032e91e582b39d516e8c08a8
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r--include/editeng/outliner.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index d1b05adf6138..d121f0110160 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -596,7 +596,7 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster
Link<Outliner*,void> aDepthChangedHdl;
Link<Outliner*,void> aBeginMovingHdl;
Link<Outliner*,void> aEndMovingHdl;
- Link<OutlinerView*,long> aIndentingPagesHdl;
+ Link<OutlinerView*,bool> aIndentingPagesHdl;
Link<OutlinerView*,bool> aRemovingPagesHdl;
Link<EditFieldInfo*,void> aFieldClickedHdl;
Link<EditFieldInfo*,void> aCalcFieldValueHdl;
@@ -775,9 +775,8 @@ public:
bool RemovingPagesHdl( OutlinerView* );
void SetRemovingPagesHdl(const Link<OutlinerView*,bool>& rLink){aRemovingPagesHdl=rLink;}
Link<OutlinerView*,bool> GetRemovingPagesHdl() const { return aRemovingPagesHdl; }
- long IndentingPagesHdl( OutlinerView* );
- void SetIndentingPagesHdl(const Link<OutlinerView*,long>& rLink){aIndentingPagesHdl=rLink;}
- Link<OutlinerView*,long> GetIndentingPagesHdl() const { return aIndentingPagesHdl; }
+ bool IndentingPagesHdl( OutlinerView* );
+ void SetIndentingPagesHdl(const Link<OutlinerView*,bool>& rLink){aIndentingPagesHdl=rLink;}
// valid only in the two upper handlers
sal_Int32 GetSelPageCount() const { return nDepthChangedHdlPrevDepth; }