summaryrefslogtreecommitdiff
path: root/svtools
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
parent610681b97aca28c4c40c3462875cd47105442a21 (diff)
Test _WIN32 instead of UNX as it's Win32 that is the special case here
Change-Id: Ic729eab62109d854122fa5c6b7b4dc163088dd04
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/htmlout.cxx6
-rw-r--r--svtools/source/svrtf/rtfout.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index b633e7064ec7..5c0b1d8cc840 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -31,10 +31,10 @@
#include <svtools/imappoly.hxx>
#include "svl/urihelper.hxx"
-#if defined(UNX)
-const sal_Char HTMLOutFuncs::sNewLine = '\012';
-#else
+#ifdef _WIN32
const sal_Char HTMLOutFuncs::sNewLine[] = "\015\012";
+#else
+const sal_Char HTMLOutFuncs::sNewLine[] = "\012";
#endif
#define TXTCONV_BUFFER_SIZE 20
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