summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-12 21:32:37 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-12 21:32:37 +0300
commit246dda00dd1bd75d909721a0f758667332484402 (patch)
tree3fd9ebe5199344b8f9de320b304a363c71026316 /sw/source/filter
parentfcb0e1e97dc9f1f76cba1028f8fc2cf6943df9b3 (diff)
Test _WIN32 instead of WNT and UNX
Change-Id: I5c48fb1363609fe6d051794351fa5aaab29979b9
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ascii/wrtasc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ascii/wrtasc.cxx b/sw/source/filter/ascii/wrtasc.cxx
index a7ee4f1e1d4e..3b03c5b99b48 100644
--- a/sw/source/filter/ascii/wrtasc.cxx
+++ b/sw/source/filter/ascii/wrtasc.cxx
@@ -55,7 +55,7 @@ SwASCWriter::SwASCWriter( const OUString& rFltNm )
break;
case 'A':
-#if !defined(WNT)
+#ifndef _WIN32
aNewOpts.SetCharSet( RTL_TEXTENCODING_MS_1252 );
aNewOpts.SetParaFlags( LINEEND_CRLF );
#endif
@@ -67,7 +67,7 @@ SwASCWriter::SwASCWriter( const OUString& rFltNm )
break;
case 'X':
-#if !defined(UNX)
+#ifdef _WIN32
aNewOpts.SetCharSet( RTL_TEXTENCODING_MS_1252 );
aNewOpts.SetParaFlags( LINEEND_LF );
#endif