diff options
Diffstat (limited to 'sw/source/filter/html/wrthtml.cxx')
-rw-r--r-- | sw/source/filter/html/wrthtml.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index c73eb04cf40c..612400fc56d3 100644 --- a/sw/source/filter/html/wrthtml.cxx +++ b/sw/source/filter/html/wrthtml.cxx @@ -80,12 +80,6 @@ #define MAX_INDENT_LEVEL 20 -#ifdef _WIN32 -const sal_Char SwHTMLWriter::sNewLine[] = "\015\012"; -#else -const sal_Char SwHTMLWriter::sNewLine[] = "\012"; -#endif - static sal_Char sIndentTabs[MAX_INDENT_LEVEL+2] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; @@ -1248,7 +1242,7 @@ void SwHTMLWriter::OutNewLine( sal_Bool bCheck ) { if( !bCheck || (Strm().Tell()-nLastLFPos) > nIndentLvl ) { - Strm() << sNewLine; + Strm() << SAL_NEWLINE_STRING; nLastLFPos = Strm().Tell(); } |