summaryrefslogtreecommitdiffstats
path: root/oox/source/helper/binaryoutputstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/helper/binaryoutputstream.cxx')
-rw-r--r--oox/source/helper/binaryoutputstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/helper/binaryoutputstream.cxx b/oox/source/helper/binaryoutputstream.cxx
index bac274af1857..50ce7f11ce9e 100644
--- a/oox/source/helper/binaryoutputstream.cxx
+++ b/oox/source/helper/binaryoutputstream.cxx
@@ -99,7 +99,7 @@ void BinaryXOutputStream::writeMemory( const void* pMem, sal_Int32 nBytes, size_
}
void
-BinaryOutputStream::writeCharArrayUC( const OUString& rString, rtl_TextEncoding eTextEnc )
+BinaryOutputStream::writeCharArrayUC( std::u16string_view rString, rtl_TextEncoding eTextEnc )
{
OString sBuf( OUStringToOString( rString, eTextEnc ) );
sBuf = sBuf.replace( '\0', '?' );