summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/sfxhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/sfxhtml.cxx')
-rw-r--r--sfx2/source/bastyp/sfxhtml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index 40758e224de9..2f3a7ad6089e 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -176,7 +176,7 @@ IMAPOBJ_SETEVENT:
String sTmp( rOption.GetString() );
if( sTmp.Len() )
{
- sTmp.ConvertLineEnd();
+ sTmp = convertLineEnd(sTmp, GetSystemLineEnd());
aMacroTbl.Insert( nEvent,
new SvxMacro( sTmp, sEmpty, eScrpType ));
}