summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jurt/source/pipe/staticsalhack.cxx7
-rw-r--r--sal/rtl/string.cxx9
-rw-r--r--sal/rtl/ustring.cxx9
3 files changed, 18 insertions, 7 deletions
diff --git a/jurt/source/pipe/staticsalhack.cxx b/jurt/source/pipe/staticsalhack.cxx
index b2c10d4dc6f9..23afde168bda 100644
--- a/jurt/source/pipe/staticsalhack.cxx
+++ b/jurt/source/pipe/staticsalhack.cxx
@@ -14,13 +14,6 @@
#undef SAL_LOG_WARN
#include <sal/rtl/string.cxx>
-#undef IMPL_RTL_EMPTYSTRING
-#undef IMPL_RTL_STRCODE
-#undef IMPL_RTL_STRINGDATA
-#undef IMPL_RTL_STRINGNAME
-#undef IMPL_RTL_STRNAME
-#undef IMPL_RTL_USTRCODE
-#undef RTL_LOG_STRING_BITS
#include <sal/rtl/ustring.cxx>
#include <sal/osl/unx/conditn.cxx>
diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx
index 07842ecc594c..a71ba162d64e 100644
--- a/sal/rtl/string.cxx
+++ b/sal/rtl/string.cxx
@@ -76,6 +76,15 @@ static rtl_String const aImplEmpty_rtl_String =
#include "strtmpl.cxx"
+#undef IMPL_RTL_EMPTYSTRING
+#undef IMPL_RTL_IS_USTRING
+#undef IMPL_RTL_STRCODE
+#undef IMPL_RTL_STRINGDATA
+#undef IMPL_RTL_STRINGNAME
+#undef IMPL_RTL_STRNAME
+#undef IMPL_RTL_USTRCODE
+#undef RTL_LOG_STRING_BITS
+
sal_Int32 SAL_CALL rtl_str_valueOfFloat(sal_Char * pStr, float f)
SAL_THROW_EXTERN_C()
{
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index a9406d859b63..082842523e81 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -84,6 +84,15 @@ static void internRelease (rtl_uString *pThis);
#include "strtmpl.cxx"
+#undef IMPL_RTL_EMPTYSTRING
+#undef IMPL_RTL_IS_USTRING
+#undef IMPL_RTL_STRCODE
+#undef IMPL_RTL_STRINGDATA
+#undef IMPL_RTL_STRINGNAME
+#undef IMPL_RTL_STRNAME
+#undef IMPL_RTL_USTRCODE
+#undef RTL_LOG_STRING_BITS
+
sal_Int32 rtl_ustr_indexOfAscii_WithLength(
sal_Unicode const * str, sal_Int32 len,
char const * subStr, sal_Int32 subLen) SAL_THROW_EXTERN_C()