diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/iosys.hxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/iosys.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/inc/iosys.hxx b/basic/source/inc/iosys.hxx index 7fb75a2e113c..ca5c6b275bcc 100644 --- a/basic/source/inc/iosys.hxx +++ b/basic/source/inc/iosys.hxx @@ -88,7 +88,7 @@ class SbiIoSystem short nChan; ErrCode nError; void ReadCon(OString&); - void WriteCon(const OUString&); + void WriteCon(std::u16string_view); public: SbiIoSystem(); ~SbiIoSystem() COVERITY_NOEXCEPT_FALSE; @@ -102,7 +102,7 @@ public: void Close(); void Read(OString&); char Read(); - void Write(const OUString&); + void Write(std::u16string_view); // 0 == bad channel or no SvStream (nChannel=0..CHANNELS-1) SbiStream* GetStream( short nChannel ) const; void CloseAll(); // JSM diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 6fc681f48492..4c991c6676c7 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -744,7 +744,7 @@ char SbiIoSystem::Read() return ch; } -void SbiIoSystem::Write(const OUString& rBuf) +void SbiIoSystem::Write(std::u16string_view rBuf) { if( !nChan ) { @@ -806,7 +806,7 @@ void SbiIoSystem::ReadCon(OString& rIn) // output of a MessageBox, if there's a CR in the console-buffer -void SbiIoSystem::WriteCon(const OUString& rText) +void SbiIoSystem::WriteCon(std::u16string_view rText) { aOut += rText; sal_Int32 n1 = aOut.indexOf('\n'); |