From b11f257d9b6927a7df1f2a3f03405e045a1beec6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 12 Oct 2013 20:13:48 +0300 Subject: Test _WIN32 instead of UNX as it's Win32 that is the special case here Change-Id: Ic729eab62109d854122fa5c6b7b4dc163088dd04 --- svtools/source/svhtml/htmlout.cxx | 6 +++--- svtools/source/svrtf/rtfout.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'svtools') 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 #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 -#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 -- cgit