summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2011-01-09 20:45:46 +0100
committerRene Engelhard <rene@debian.org>2011-01-09 22:27:14 +0100
commit0a9c73fd0228d306867b030f66e192b9ab1490a5 (patch)
treebc37d35830b132bb875f3d374cfb1ad0b80a4258
parent60ff78bdcfeef7713a3669cfe37e81e29f33f6aa (diff)
fix nsplugin for LibreOffice name
- OpenOffice path -> LibreOffice path - only split "LibreOffice path [...] out with OSL_DEBUG_LEVEL > 0 Signed-off-by: Caolan McNamara <caolanm@redhat.com>
-rw-r--r--extensions/source/nsplugin/source/so_env.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/extensions/source/nsplugin/source/so_env.cxx b/extensions/source/nsplugin/source/so_env.cxx
index 212ff43d7272..bf782a74933f 100644
--- a/extensions/source/nsplugin/source/so_env.cxx
+++ b/extensions/source/nsplugin/source/so_env.cxx
@@ -205,7 +205,9 @@ int nspluginOOoModuleHook (void** aResult)
strcpy (realFileName, libFileName);
}
- fprintf (stderr, "OpenOffice path before fixup is '%s'\n", realFileName);
+#if OSL_DEBUG_LEVEL > 0
+ fprintf (stderr, "LibreOffice path before fixup is '%s'\n", realFileName);
+#endif
if (realFileName[0] != '/') {
/* a relative sym-link and we need to get an absolute path */
@@ -224,7 +226,9 @@ int nspluginOOoModuleHook (void** aResult)
*aResult = realFileName;
- fprintf (stderr, "OpenOffice path is '%s'\n", realFileName);
+#if OSL_DEBUG_LEVEL > 0
+ fprintf (stderr, "LibreOffice path is '%s'\n", realFileName);
+#endif
return 0;
}