summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-17 09:52:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-17 11:51:11 +0200
commit4d7835fd6e92f7307e4c1cb1761108b91e564124 (patch)
tree835e85f84aaabc5a099167ac1da9f1b7a88cddc4 /extensions
parent02179ab7e771fae9d012724b8ff1397f4265cfc1 (diff)
-Werror=unused-macros (MinGW, extensions)
Change-Id: I9e442453108eddcfc6cbb9769ac224fc469f1efc
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/so_env.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/nsplugin/source/so_env.cxx b/extensions/source/nsplugin/source/so_env.cxx
index 447102ac1d8b..3e28a2bf31aa 100644
--- a/extensions/source/nsplugin/source/so_env.cxx
+++ b/extensions/source/nsplugin/source/so_env.cxx
@@ -65,8 +65,6 @@
#include "ns_debug.hxx"
#include <sal/config.h>
-#define PLUGIN_NAME "LibreOffice"
-
// Tranform all strings like %20 in pPath to one char like space
/*int retoreUTF8(char* pPath)
{
@@ -393,6 +391,7 @@ int UnixToDosPath(char* sPath)
}
#ifdef UNIX
+#define PLUGIN_NAME "LibreOffice"
char productName[128] = {0};
char* NSP_getProductName()
{