summaryrefslogtreecommitdiff
path: root/sw/qa/unit
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-10 22:43:04 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-04-10 23:13:32 +0200
commit5fe96b6dcec8f0ccb7c606fa8e981112e6160e7e (patch)
tree7c19b02613c6c573c5bf577fb3cae94df6df5078 /sw/qa/unit
parent5dba03b200564e2f891fc7e75e948f93ea769c10 (diff)
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa/unit')
-rw-r--r--sw/qa/unit/swmodeltestbase.cxx4
1 files changed, 2 insertions, 2 deletions
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("<reqif-xhtml:html xmlns:reqif-xhtml=\"http://www.w3.org/1999/xhtml\">\n");
+ rStream.WriteOString("<reqif-xhtml:html xmlns:reqif-xhtml=\"http://www.w3.org/1999/xhtml\">\n");
SvFileStream aFileStream(maTempFile.GetURL(), StreamMode::READ);
rStream.WriteStream(aFileStream);
- rStream.WriteCharPtr("</reqif-xhtml:html>\n");
+ rStream.WriteOString("</reqif-xhtml:html>\n");
rStream.Seek(0);
}