summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-27 13:08:02 +0200
committerNoel Grandin <noel@peralex.com>2015-08-28 09:49:56 +0200
commitbd8b93fdff93ff7b2b7e493a7bcef6a59f299dae (patch)
treef05be9665737f0667faf95702d96fbf3f0a103c5 /sc/source/ui/view
parent1b9c3a17e8496aedfb80528c5275e6658154789d (diff)
make PostUserEvent Link<> typed
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/cellsh2.cxx5
-rw-r--r--sc/source/ui/view/preview.cxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index d16b70dab1ed..e106cb3cd823 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -187,10 +187,9 @@ static bool lcl_GetSortParam( const ScViewData* pData, ScSortParam& rSortParam )
//after end execute from !IsModalInputMode, it is safer to delay deleting
namespace
{
- sal_IntPtr DelayDeleteAbstractDialog( void *pAbstractDialog, void * /*pArg*/ )
+ void DelayDeleteAbstractDialog( void *pAbstractDialog, void * /*pArg*/ )
{
delete static_cast<SfxAbstractTabDialog*>( pAbstractDialog );
- return 0;
}
}
@@ -947,7 +946,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
}
//after end execute from !IsModalInputMode, it is safer to delay deleting
//delete pDlg;
- Application::PostUserEvent( Link<>( pDlg, &DelayDeleteAbstractDialog ) );
+ Application::PostUserEvent( Link<void*,void>( pDlg, &DelayDeleteAbstractDialog ) );
}
}
break;
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 470634229483..666abee73ca2 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -927,10 +927,9 @@ void ScPreview::StaticInvalidate()
rBindings.Invalidate(SID_ATTR_ZOOMSLIDER);
}
-IMPL_STATIC_LINK_NOARG( ScPreview, InvalidateHdl )
+IMPL_STATIC_LINK_NOARG_TYPED( ScPreview, InvalidateHdl, void*, void )
{
StaticInvalidate();
- return 0;
}
void ScPreview::DataChanged( const DataChangedEvent& rDCEvt )