diff options
Diffstat (limited to 'basic/source/app/textedit.cxx')
-rw-r--r-- | basic/source/app/textedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx index 294b12e656be..ad66db90d856 100644 --- a/basic/source/app/textedit.cxx +++ b/basic/source/app/textedit.cxx @@ -818,7 +818,7 @@ DBG_CHKTHIS(TextEdit,0); } String aSave = GetText(); aSave.ConvertLineEnd(LINEEND_LF); - aStrm << ByteString( aSave, aFileEncoding ).GetBuffer(); + aStrm << rtl::OUStringToOString(aSave, aFileEncoding).getStr(); if( aStrm.GetError() != SVSTREAM_OK ) bOk = sal_False; else |