[Libreoffice-commits] core.git: tools/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 27 06:08:19 PDT 2013


 tools/source/string/tustring.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit e36a3f91ce6d31502d2adf5899d601b161172d00
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 27 14:07:53 2013 +0100

    -Werror=unused-macros
    
    Change-Id: Ic44d85b0180612d499beec35e944402becd181a7

diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index b07cd3c..ac4bb4a 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -37,12 +37,15 @@ DBG_NAME( UniString )
 #define STRCODEU        sal_Unicode
 #define STRING          UniString
 #define STRINGDATA      UniStringData
-#define DBGCHECKSTRING  DbgCheckUniString
 #define STRING_TYPE     rtl_uString
 #define STRING_ACQUIRE  rtl_uString_acquire
 #define STRING_RELEASE  rtl_uString_release
 #define STRING_NEW      rtl_uString_new
 
+#if defined DBG_UTIL
+#define DBGCHECKSTRING  DbgCheckUniString
+#endif
+
 #include <strimp.cxx>
 #include <strucvt.cxx>
 #include <strascii.cxx>


More information about the Libreoffice-commits mailing list