From 5fe96b6dcec8f0ccb7c606fa8e981112e6160e7e Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 10 Apr 2023 22:43:04 +0300 Subject: Drop SvStream::WriteCharPtr WriteOString is a better replacement Change-Id: Ic431b9aeb98d19fe61cff71360eee555105cc2bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150192 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sw/qa/unit/swmodeltestbase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/qa/unit') diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx index 823148151377..a5d32101068a 100644 --- a/sw/qa/unit/swmodeltestbase.cxx +++ b/sw/qa/unit/swmodeltestbase.cxx @@ -624,10 +624,10 @@ SwDocShell* SwModelTestBase::getSwDocShell() void SwModelTestBase::WrapReqifFromTempFile(SvMemoryStream& rStream) { - rStream.WriteCharPtr("\n"); + rStream.WriteOString("\n"); SvFileStream aFileStream(maTempFile.GetURL(), StreamMode::READ); rStream.WriteStream(aFileStream); - rStream.WriteCharPtr("\n"); + rStream.WriteOString("\n"); rStream.Seek(0); } -- cgit