add SvStream::ReadLine(OStringBuffer... to reduce OString allocation

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 13 May 2022 09:11 UTC

and use it where possible

Change-Id: I3efc7a642f73661ce606c917c0323ba9948521c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134265

3817965ded6c add SvStream::ReadLine(OStringBuffer... to reduce OString allocation
connectivity/source/drivers/hsqldb/HDriver.cxx | 4 ++--
cui/source/options/personalization.cxx | 2 +-
idl/source/prj/command.cxx | 4 ++--
include/tools/stream.hxx | 2 ++
linguistic/source/dicimp.cxx | 6 +++---
oox/source/export/drawingml.cxx | 7 ++++---
oox/source/export/vmlexport.cxx | 6 +++---
sc/source/ui/docshell/impex.cxx | 2 +-
sd/source/filter/html/htmlex.cxx | 4 ++--
sd/source/ui/view/sdview3.cxx | 6 +++---
sfx2/source/bastyp/mieclip.cxx | 13 +++++++------
svx/source/tbxctrls/Palette.cxx | 12 ++++++------
sw/source/core/edit/edtox.cxx | 2 +-
sw/source/ui/dbui/mmresultdialogs.cxx | 2 +-
sw/source/uibase/dbui/dbmgr.cxx | 2 +-
tools/source/stream/stream.cxx | 13 ++++++++++---
vcl/source/edit/texteng.cxx | 2 +-
vcl/source/image/ImplImageTree.cxx | 3 ++-
vcl/source/treelist/imap2.cxx | 4 ++--
vcl/source/treelist/transfer.cxx | 2 +-
20 files changed, 55 insertions(+), 43 deletions(-)

Upstream: cgit.freedesktop.org


  • Share