[Libreoffice-commits] .: Branch 'libreoffice-3-3' - extensions/source

René Engelhard rene at kemper.freedesktop.org
Sun Jan 9 13:28:20 PST 2011


 extensions/source/nsplugin/source/so_env.cxx |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 53f53717db2106313507d9c4c9d222d5c0b18179
Author: Rene Engelhard <rene at debian.org>
Date:   Sun Jan 9 20:45:46 2011 +0100

    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 at redhat.com>

diff --git a/extensions/source/nsplugin/source/so_env.cxx b/extensions/source/nsplugin/source/so_env.cxx
index 2dd4f8f..8f8e436 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,8 +226,10 @@ 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;
 }
 #endif


More information about the Libreoffice-commits mailing list