summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-20 15:23:18 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-20 15:23:18 +0200
commit06097771671e439c7aca2bd6bcf010444f111141 (patch)
tree6042e785b506a3c33dbad8748e450caa86251de1 /desktop
parent24b49879338cd01fece071576504821e5e36cbb4 (diff)
WaE: work around loplugin:unreffun and loplugin:externandnotdefined
Change-Id: I5192ad1f068746da257f3e1d9340325956b1e69d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/inc/app.hxx4
-rw-r--r--desktop/source/app/sofficemain.cxx4
-rw-r--r--desktop/unx/source/glxtest.cxx1
3 files changed, 5 insertions, 4 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 33e7c0cdbe01..876b6438be68 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -192,6 +192,10 @@ OUString ReplaceStringHookProc(const OUString& rStr);
}
+#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
+bool fire_glxtest_process();
+#endif
+
#endif // INCLUDED_DESKTOP_INC_APP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index 606ba4fdcc22..9cee2c4cc6dd 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -53,10 +53,6 @@
#include <touch/touch.h>
#endif
-#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
-bool fire_glxtest_process();
-#endif
-
extern "C" int DESKTOP_DLLPUBLIC soffice_main()
{
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
diff --git a/desktop/unx/source/glxtest.cxx b/desktop/unx/source/glxtest.cxx
index d8d9c2059e84..df9603a1b4fd 100644
--- a/desktop/unx/source/glxtest.cxx
+++ b/desktop/unx/source/glxtest.cxx
@@ -5,6 +5,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "app.hxx"
//////////////////////////////////////////////////////////////////////////////
//