From b01c31598d47e18ce5c06efbb485ab90b9d355fb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 19 Dec 2016 11:13:42 +0200 Subject: [PATCH] loplugin:unreffun Change-Id: I4663de7eb81b7af39b5a24581667fd7fcfb829cd --- sfx2/source/appl/shutdownicon.hxx | 7 +++++++ sfx2/source/appl/shutdowniconunx.cxx | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx index d90792751716..d3974699de0d 100644 --- a/sfx2/source/appl/shutdownicon.hxx +++ b/sfx2/source/appl/shutdownicon.hxx @@ -34,6 +34,13 @@ #include #include +extern "C" { + +void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray(); +void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray(); + +} + class ResMgr; namespace sfx2 { diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx index 8428b192d1e0..52d176dc1224 100644 --- a/sfx2/source/appl/shutdowniconunx.cxx +++ b/sfx2/source/appl/shutdowniconunx.cxx @@ -49,13 +49,6 @@ using namespace ::osl; -extern "C" { - -void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray(); -void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray(); - -} - static ResMgr *pVCLResMgr; static GtkStatusIcon* pTrayIcon; static GtkWidget *pExitMenuItem = nullptr;