summaryrefslogtreecommitdiff
path: root/sw/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 /sw/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 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 12c3e08cb150..48a0477cd67b 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -967,7 +967,7 @@ void SwUiWriterTest::testExportRTF()
SwWriter aWrt(aStream, *xClpDoc);
aWrt.Write(xWrt);
- OString aData(static_cast<const sal_Char*>(aStream.GetBuffer()), aStream.GetSize());
+ OString aData(static_cast<const sal_Char*>(aStream.GetData()), aStream.GetSize());
//Amusingly eventually there was a commit id with "ccc" in it, and so the rtf contained
//{\*\generator LibreOfficeDev/4.4.0.0.alpha0$Linux_X86_64 LibreOffice_project/f70664ccc6837f2cc21a29bb4f44e41e100efe6b}