summaryrefslogtreecommitdiffstats
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/htmlout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index cf3f746fc89f..33c276a50516 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -885,7 +885,7 @@ SvStream& HTMLOutFuncs::OutScript( SvStream& rStrm,
{
// Wir schreiben das Modul mm ANSI-Zeichensatz, aber mit
// System-Zeilenumbruechen raus.
- rtl::OString sSource(rtl::OUStringToOString(rSource, eDestEnc));
+ const rtl::OString sSource(rtl::OUStringToOString(rSource, eDestEnc));
rStrm << sSource.getStr() << sNewLine;
}
rStrm << sNewLine;