summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/frmhtmlw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/frmhtmlw.cxx')
-rw-r--r--sfx2/source/bastyp/frmhtmlw.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx
index fda28524b0ec..107f8a9906be 100644
--- a/sfx2/source/bastyp/frmhtmlw.cxx
+++ b/sfx2/source/bastyp/frmhtmlw.cxx
@@ -54,12 +54,6 @@ static sal_Char const sHTML_SC_yes[] = "YES";
static sal_Char const sHTML_SC_no[] = "NO";
static sal_Char const sHTML_MIME_text_html[] = "text/html; charset=";
-#ifdef _WIN32
-const sal_Char SfxFrameHTMLWriter::sNewLine[] = "\015\012";
-#else
-const sal_Char SfxFrameHTMLWriter::sNewLine[] = "\012";
-#endif
-
void SfxFrameHTMLWriter::OutMeta( SvStream& rStrm,
const sal_Char *pIndent,
const OUString& rName,
@@ -67,7 +61,7 @@ void SfxFrameHTMLWriter::OutMeta( SvStream& rStrm,
rtl_TextEncoding eDestEnc,
OUString *pNonConvertableChars )
{
- rStrm << sNewLine;
+ rStrm << SAL_NEWLINE_STRING;
if( pIndent )
rStrm << pIndent;
@@ -102,7 +96,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL,
}
// Titel (auch wenn er leer ist)
- rStrm << sNewLine;
+ rStrm << SAL_NEWLINE_STRING;
if( pIndent )
rStrm << pIndent;
HTMLOutFuncs::Out_AsciiTag( rStrm, OOO_STRING_SVTOOLS_HTML_title );
@@ -120,7 +114,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL,
const OUString& rTarget = i_xDocProps->getDefaultTarget();
if( !rTarget.isEmpty() )
{
- rStrm << sNewLine;
+ rStrm << SAL_NEWLINE_STRING;
if( pIndent )
rStrm << pIndent;