[Libreoffice-commits] .: slideshow/source
Thorsten Behrens
thorsten at kemper.freedesktop.org
Wed Oct 27 06:20:26 PDT 2010
slideshow/source/engine/debug.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b96c50d7c17bb4a96a39a2a85e83ad14a7efc85d
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Wed Oct 27 15:19:18 2010 +0200
Fix build breakage in OSL_DEBUG_LEVEL>1
Conditionally compiled code referenced _vsnprintf.
diff --git a/slideshow/source/engine/debug.cxx b/slideshow/source/engine/debug.cxx
index 47e1434..1e5b312 100644
--- a/slideshow/source/engine/debug.cxx
+++ b/slideshow/source/engine/debug.cxx
@@ -308,7 +308,7 @@ DebugTraceScope::DebugTraceScope (const sal_Char* sFormat, ...)
va_start(args, sFormat);
msMessage[mnBufferSize-1] = 0;
- _vsnprintf(msMessage, mnBufferSize-1, sFormat, args);
+ snprintf(msMessage, mnBufferSize-1, sFormat, args);
TRACE_BEGIN("[ %s", msMessage);
va_end(args);
}
More information about the Libreoffice-commits
mailing list