summaryrefslogtreecommitdiff
path: root/svtools/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-04 09:15:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-04 15:03:06 +0200
commit1a049bc17c5f5ca524289efb73981292c32c58a1 (patch)
treea81d757bd824f63dda8e6609b2b67c36e2294708 /svtools/qa
parente607f1da329a2d4dd91904053d7ff86ac05c77bf (diff)
drop SvMemoryStream::GetBuffer
since it does the same thing as GetData() Change-Id: I18d35aa4e67ad7775987160c021863d0de90179b Reviewed-on: https://gerrit.libreoffice.org/61350 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/qa')
-rw-r--r--svtools/qa/unit/testHtmlWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/qa/unit/testHtmlWriter.cxx b/svtools/qa/unit/testHtmlWriter.cxx
index 2edf9665b607..e1ef5650c8dc 100644
--- a/svtools/qa/unit/testHtmlWriter.cxx
+++ b/svtools/qa/unit/testHtmlWriter.cxx
@@ -25,7 +25,7 @@ OString extractFromStream(SvMemoryStream& rStream)
rStream.WriteChar('\0');
rStream.Flush();
rStream.Seek(STREAM_SEEK_TO_BEGIN);
- return OString(static_cast<const sal_Char*>(rStream.GetBuffer()));
+ return OString(static_cast<const sal_Char*>(rStream.GetData()));
}
}