diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-31 13:41:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-04 13:08:30 +0200 |
commit | 2ec22477739d2c075e7d9997c3e90cb1a512f63f (patch) | |
tree | 44bd0825fe930703c393a78e771670fa0b52dce4 /sd | |
parent | 66a205d56f4ebd3ce6f32472ce90eb2c94f6f840 (diff) |
convert Link<> to typed
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/DrawViewShell.hxx | 24 | ||||
-rw-r--r-- | sd/source/ui/view/drviews1.cxx | 4 |
2 files changed, 13 insertions, 15 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 44b56f2b074e..c3bf37d15600 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -389,22 +389,22 @@ public: //move this method to ViewShell. //void NotifyAccUpdate(); protected: - DrawView* mpDrawView; - SdPage* mpActualPage; - Rectangle maMarkRect; - Point maMousePos; - bool mbMousePosFreezed; + DrawView* mpDrawView; + SdPage* mpActualPage; + Rectangle maMarkRect; + Point maMousePos; + bool mbMousePosFreezed; VclPtr<TabControl> maTabControl; - EditMode meEditMode; - PageKind mePageKind; - bool mbZoomOnPage; - bool mbIsRulerDrag; + EditMode meEditMode; + PageKind mePageKind; + bool mbZoomOnPage; + bool mbIsRulerDrag; sal_uLong mnLockCount; - bool mbReadOnly; - static bool mbPipette; + bool mbReadOnly; + static bool mbPipette; DECL_LINK_TYPED( ClipboardChanged, TransferableDataHelper*, void ); - DECL_LINK( TabSplitHdl, TabBar * ); + DECL_LINK_TYPED( TabSplitHdl, TabBar *, void ); DECL_LINK( NameObjectHdl, AbstractSvxNameDialog* ); DECL_LINK( RenameSlideHdl, AbstractSvxNameDialog* ); diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index 32cd1d4e0dff..f04dea68d5fc 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -606,7 +606,7 @@ void DrawViewShell::SetUIUnit(FieldUnit eUnit) * Refresh TabControl on splitter change */ -IMPL_LINK( DrawViewShell, TabSplitHdl, TabBar *, pTab ) +IMPL_LINK_TYPED( DrawViewShell, TabSplitHdl, TabBar *, pTab, void ) { const long int nMax = maViewSize.Width() - maScrBarWH.Width() - maTabControl->GetPosPixel().X() ; @@ -626,8 +626,6 @@ IMPL_LINK( DrawViewShell, TabSplitHdl, TabBar *, pTab ) Size aScrSize(nMax - aTabSize.Width(), maScrBarWH.Height()); mpHorizontalScrollBar->SetPosSizePixel(aPos, aScrSize); - - return 0; } /// inherited from sd::ViewShell |