summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-21 09:14:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-22 20:21:55 +0200
commit55dda8e8d0a29ae150f58168d72ab2611ed2b8a8 (patch)
treec7aa7cf59e1e4fe12a8a66cac3080b09db4e0481 /desktop
parent6d8124e30c6ce38219ca323f9674f242c822c360 (diff)
convert Link<> to typed
Change-Id: I92df586295c11bc9e9276770656901c2e4e714b9
Diffstat (limited to 'desktop')
-rw-r--r--desktop/inc/app.hxx2
-rw-r--r--desktop/source/app/app.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 184c86f42875..92577f8b6a0d 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -148,7 +148,7 @@ class Desktop : public Application
void OpenSplashScreen();
void CloseSplashScreen();
- DECL_STATIC_LINK( Desktop, ImplInitFilterHdl, ConvertData* );
+ DECL_STATIC_LINK_TYPED( Desktop, ImplInitFilterHdl, ::ConvertData&, bool );
DECL_STATIC_LINK_TYPED( Desktop, AsyncInitFirstRun, Timer*, void );
/** checks if the office is run the first time
<p>If so, <method>DoFirstRunInitializations</method> is called (asynchronously and delayed) and the
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 153196386567..de739c8b4976 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1697,9 +1697,9 @@ int Desktop::doShutdown()
return EXIT_SUCCESS;
}
-IMPL_STATIC_LINK( Desktop, ImplInitFilterHdl, ConvertData*, pData )
+IMPL_STATIC_LINK_TYPED( Desktop, ImplInitFilterHdl, ::ConvertData&, rData, bool )
{
- return GraphicFilter::GetGraphicFilter().GetFilterCallback().Call( pData );
+ return GraphicFilter::GetGraphicFilter().GetFilterCallback().Call( &rData );
}
bool Desktop::InitializeConfiguration()