summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-07-11 12:52:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-13 06:58:01 +0000
commit26ac3ee8b2f8cb3bd298d98f9a94c9e305f6c304 (patch)
treee3151f901b656070bba1837d9881d57ac12fbb46 /include
parentd11b244bf9b9115f5384d6ff43bdffc7f1289d71 (diff)
editeng, convert to typed Link<>
and remove SvxBrushItem::SetDoneLink since the field it sets is unused.wq Change-Id: Ide95a295fa8004f1ddab5e560f01d36d36658a72 Reviewed-on: https://gerrit.libreoffice.org/16943 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/brushitem.hxx2
-rw-r--r--include/editeng/outliner.hxx6
2 files changed, 3 insertions, 5 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index 22a3d4219a87..0c2c26f7d5f3 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -95,8 +95,6 @@ public:
Color& GetColor() { return aColor; }
void SetColor( const Color& rCol) { aColor = rCol; }
- void SetDoneLink( const Link<>& rLink );
-
SvxGraphicPosition GetGraphicPos() const { return eGraphicPos; }
void PurgeMedium() const;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 5a2dbe9f8cf9..fbe0b367c16b 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -589,7 +589,7 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster
Paragraph* pHdlParagraph;
sal_Int32 mnFirstSelPage;
- Link<> aDrawPortionHdl;
+ Link<DrawPortionInfo*,void> aDrawPortionHdl;
Link<> aDrawBulletHdl;
Link<> aExpandHdl;
Link<> aParaInsertedHdl;
@@ -796,8 +796,8 @@ public:
void SetFieldClickedHdl(const Link<>& rLink ) { aFieldClickedHdl= rLink; }
Link<> GetFieldClickedHdl() const { return aFieldClickedHdl; }
- void SetDrawPortionHdl(const Link<>& rLink){aDrawPortionHdl=rLink;}
- Link<> GetDrawPortionHdl() const { return aDrawPortionHdl; }
+ void SetDrawPortionHdl(const Link<DrawPortionInfo*,void>& rLink){aDrawPortionHdl=rLink;}
+ Link<DrawPortionInfo*,void> GetDrawPortionHdl() const { return aDrawPortionHdl; }
void SetDrawBulletHdl(const Link<>& rLink){aDrawBulletHdl=rLink;}
Link<> GetDrawBulletHdl() const { return aDrawBulletHdl; }