summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
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 )