summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf/rtfout.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-12 20:13:48 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-12 20:34:54 +0300
commitb11f257d9b6927a7df1f2a3f03405e045a1beec6 (patch)
tree4d58b604c0c97ccdc301a6dd53d3511764fdfa34 /svtools/source/svrtf/rtfout.cxx
parent610681b97aca28c4c40c3462875cd47105442a21 (diff)
Test _WIN32 instead of UNX as it's Win32 that is the special case here
Change-Id: Ic729eab62109d854122fa5c6b7b4dc163088dd04
Diffstat (limited to 'svtools/source/svrtf/rtfout.cxx')
-rw-r--r--svtools/source/svrtf/rtfout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index 5272fe1506c5..919a009a1ee1 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -25,10 +25,10 @@
#include <svtools/rtfout.hxx>
-#if defined(UNX)
-const sal_Char RTFOutFuncs::sNewLine = '\012';
-#else
+#ifdef _WIN32
const sal_Char RTFOutFuncs::sNewLine[] = "\015\012";
+#else
+const sal_Char RTFOutFuncs::sNewLine[] = "\012";
#endif