summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-07-18 17:23:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-20 08:01:58 +0000
commit91b1f300cf7f357c3a39d0d5810326cc78d78f16 (patch)
treea89ef37ce86d8fe5babde77a43a098001ca3c164 /starmath
parentbca4d6f896fb12ceff37476c43ea8892898dd385 (diff)
convert to typed Link<> in sfx2
Change-Id: Ifa42bd14d7329ff1043fa736513c468dda30485e Reviewed-on: https://gerrit.libreoffice.org/17195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/view.hxx2
-rw-r--r--starmath/source/view.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index e4f64a55e58c..72f98570e276 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -246,7 +246,7 @@ class SmViewShell: public SfxViewShell
bool bPasteState;
- DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
+ DECL_LINK_TYPED( DialogClosedHdl, sfx2::FileDialogHelper*, void );
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
/** Used to determine whether insertions using SID_INSERTSYMBOL and SID_INSERTCOMMAND
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index f9bb00c30141..84b9ab20be4c 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2011,7 +2011,7 @@ void SmViewShell::Activate( bool bIsMDIActivate )
}
}
-IMPL_LINK( SmViewShell, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg )
+IMPL_LINK_TYPED( SmViewShell, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg, void )
{
assert(_pFileDlg && "SmViewShell::DialogClosedHdl(): no file dialog");
assert(pImpl->pDocInserter && "ScDocShell::DialogClosedHdl(): no document inserter");
@@ -2039,7 +2039,6 @@ IMPL_LINK( SmViewShell, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg )
pImpl->pRequest->SetReturnValue( SfxBoolItem( pImpl->pRequest->GetSlot(), true ) );
pImpl->pRequest->Done();
- return 0;
}
void SmViewShell::Notify( SfxBroadcaster& , const SfxHint& rHint )