summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-12-19 20:56:15 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2014-12-19 20:58:43 +0100
commitd6e7c247563cb15dcc143f6d1d583c746af0184b (patch)
tree4ed29cfa54117e01cded0b4f25f18929345a4293 /sal
parentbccfe2cbc3166f8f15c43417a958701328cfe64b (diff)
constants via #define must be integer if used in #if statement
breaks windows build otherwise (fatal erro C1017) Change-Id: Idae78c621bfb8f989eb33220f015e17a7b7fb92f
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/string.cxx2
-rw-r--r--sal/rtl/ustring.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx
index 259906c47c73..07842ecc594c 100644
--- a/sal/rtl/string.cxx
+++ b/sal/rtl/string.cxx
@@ -56,7 +56,7 @@ static rtl_String const aImplEmpty_rtl_String =
* ustring.cxx
*/
-#define IMPL_RTL_IS_USTRING false
+#define IMPL_RTL_IS_USTRING 0
#define IMPL_RTL_STRCODE sal_Char
#define IMPL_RTL_USTRCODE( c ) ((unsigned char)c)
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 0fc9e06ad783..a9406d859b63 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -62,7 +62,7 @@ static rtl_uString const aImplEmpty_rtl_uString =
* string.cxx
*/
-#define IMPL_RTL_IS_USTRING true
+#define IMPL_RTL_IS_USTRING 1
#define IMPL_RTL_STRCODE sal_Unicode
#define IMPL_RTL_USTRCODE( c ) (c)