summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-30 18:24:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-30 18:30:40 +0200
commit6bb92c5eaf1ff2f5292442870c65bfe2771752ec (patch)
tree0e1d73d1f0597e1ada3c860276f0c9dc9cd22349 /sfx2
parent358d6006f1d9652aaf01661ea8dba4d7ec46d508 (diff)
Make sure IMPL_STATIC_LINK's type matches Link::pFunc's type
...to avoid -fsanitize=function warnings in Link::Call. Change-Id: I837b35bd3052716fbb41bf4f893961257d1f9b2c
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdownicon.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index d91ded524964..7483b71a8fa7 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -33,6 +33,7 @@
#include <sfx2/sfxuno.hxx>
#include <cppuhelper/compbase4.hxx>
#include <sfx2/dllapi.h>
+#include <tools/link.hxx>
class ResMgr;
namespace sfx2
@@ -125,7 +126,8 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
void StartFileDialog();
sfx2::FileDialogHelper* GetFileDialog() const { return m_pFileDlg; }
- static long DialogClosedHdl_Impl( ShutdownIcon*, sfx2::FileDialogHelper* );
+ DECL_STATIC_LINK(
+ ShutdownIcon, DialogClosedHdl_Impl, sfx2::FileDialogHelper*);
static bool IsQuickstarterInstalled();