[Libreoffice-commits] core.git: sfx2/source
Tor Lillqvist
tml at collabora.com
Mon Dec 19 09:33:29 UTC 2016
sfx2/source/appl/shutdownicon.hxx | 7 +++++++
sfx2/source/appl/shutdowniconunx.cxx | 7 -------
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit b01c31598d47e18ce5c06efbb485ab90b9d355fb
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Dec 19 11:13:42 2016 +0200
loplugin:unreffun
Change-Id: I4663de7eb81b7af39b5a24581667fd7fcfb829cd
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index d907927..d397469 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 8428b19..52d176d 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;
More information about the Libreoffice-commits
mailing list