[Libreoffice-commits] .: sfx2/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Sun Feb 6 04:32:37 PST 2011
sfx2/source/doc/objstor.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 006268122c7846203c7992426027fd5344c2d8b8
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Sun Feb 6 13:32:25 2011 +0100
OSL_DEBUG_LEVEL formatting
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index be127c5..eb45ce0 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1733,7 +1733,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
struct _ea eaType;
strcpy( filePath, CHAR_POINTER( aSystemFileURL));
strcpy( docType, CHAR_POINTER( rMedium.GetFilter()->GetServiceName()));
-#if OSL_DEBUG_LEVEL>1
+#if OSL_DEBUG_LEVEL > 1
printf( "file name: %s\n", filePath);
printf( "filter name: %s\n", CHAR_POINTER(rMedium.GetFilter()->GetFilterName()));
printf( "service name: %s\n", docType);
@@ -1760,7 +1760,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
eaType.value = &eaAscii;
// put EA to file
rc = _ea_put( &eaType, filePath, 0, ".TYPE");
-#if OSL_DEBUG_LEVEL>1
+#if OSL_DEBUG_LEVEL > 1
printf( "ea name: %s, rc %d, errno %d\n", eaAscii.szType, rc, errno);
#endif
}
More information about the Libreoffice-commits
mailing list