Kaydet (Commit) ea50cb70 authored tarafından Michael Stahl's avatar Michael Stahl

sw: replace OUStringBuffer

Change-Id: Iebb4ac4a7307bb8482ca735096503da03448fee7
üst a7762b56
......@@ -474,11 +474,8 @@ OString DocxExport::WriteOLEObject(SwOLEObj& rObject, OUString const& rProgID)
lcl_ConvertProgID(rProgID, sMediaType, sRelationType, sFileExtension);
OUString sFileName = "embeddings/oleObject" + OUString::number( ++m_nOLEObjects ) + "." + sFileExtension;
uno::Reference< io::XOutputStream > xOutStream = GetFilter().openFragmentStream( OUStringBuffer()
.append( "word/" )
.append( sFileName )
.makeStringAndClear(),
sMediaType );
uno::Reference<io::XOutputStream> const xOutStream =
GetFilter().openFragmentStream("word/" + sFileName, sMediaType);
OUString sId;
if( lcl_CopyStream( xInStream, xOutStream ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment