summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-12-19 11:13:42 +0200
committerTor Lillqvist <tml@collabora.com>2016-12-19 11:32:28 +0200
commitb01c31598d47e18ce5c06efbb485ab90b9d355fb (patch)
treee19aa1a7543cebdf3ddccecf0b40129f3674ee52 /sfx2/source
parentea992517bf8b1d48c2e02717f5bc9efc3ebb1c2e (diff)
loplugin:unreffun
Change-Id: I4663de7eb81b7af39b5a24581667fd7fcfb829cd
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/shutdownicon.hxx7
-rw-r--r--sfx2/source/appl/shutdowniconunx.cxx7
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 <sfx2/dllapi.h>
#include <tools/link.hxx>
+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;