loplugin:bufferadd loosen some constraints

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 16 October 2019 10:12 EDT

and extend O*StringView to have a constructor that takes a pointer and a length

Change-Id: I6120e96280f030757e855a6596efdae438b7e1e8 Reviewed-on: https://gerrit.libreoffice.org/80872

4a96fb8ec013 loplugin:bufferadd loosen some constraints
bridges/source/jni_uno/jni_data.cxx | 12 +--
compilerplugins/clang/bufferadd.cxx | 36 ++-------
compilerplugins/clang/test/bufferadd.cxx | 17 +++++
.../customize/CustomNotebookbarGenerator.cxx | 12 +--
dbaccess/source/ui/app/AppControllerDnD.cxx | 5 +-
.../deployment/manager/dp_activepackages.cxx | 33 ++++----
.../deployment/registry/component/dp_component.cxx | 15 ++--
.../source/deployment/registry/dp_backenddb.cxx | 54 ++++++-------
desktop/source/splash/splash.cxx | 7 +-
editeng/source/items/bulitem.cxx | 5 +-
framework/source/jobs/helponstartup.cxx | 9 +--
.../source/layoutmanager/toolbarlayoutmanager.cxx | 6 +-
framework/source/services/desktop.cxx | 6 +-
.../source/breakiterator/breakiteratorImpl.cxx | 15 ++--
.../source/breakiterator/breakiterator_unicode.cxx | 5 +-
include/rtl/stringconcat.hxx | 2 +
sc/source/core/tool/addincol.cxx | 18 +----
sc/source/core/tool/interpr1.cxx | 4 +-
sc/source/core/tool/unitconv.cxx | 5 +-
sc/source/filter/excel/xehelper.cxx | 4 +-
sc/source/filter/html/htmlexp.cxx | 7 +-
sc/source/ui/view/viewutil.cxx | 6 +-
sd/source/ui/unoidl/UnoDocumentSettings.cxx | 4 +-
sdext/source/pdfimport/misc/pdfihelper.cxx | 5 +-
sdext/source/pdfimport/pdfparse/pdfentries.cxx | 34 ++++-----
sdext/source/pdfimport/sax/emitcontext.cxx | 10 +--
sdext/source/pdfimport/tree/drawtreevisiting.cxx | 5 +-
sdext/source/pdfimport/tree/writertreevisiting.cxx | 5 +-
sfx2/source/appl/appuno.cxx | 6 +-
sfx2/source/bastyp/frmhtmlw.cxx | 7 +-
sfx2/source/dialog/filedlghelper.cxx | 18 ++---
sfx2/source/view/classificationhelper.cxx | 3 +-
stoc/source/security/file_policy.cxx | 7 +-
stoc/source/security/permissions.cxx | 7 +-
svtools/source/svhtml/htmlout.cxx | 5 +-
sw/source/filter/html/htmlbas.cxx | 16 ++--
sw/source/filter/html/htmlfldw.cxx | 11 +--
sw/source/filter/html/htmlflywriter.cxx | 10 +--
sw/source/filter/html/htmlftn.cxx | 18 ++---
sw/source/filter/html/htmltabw.cxx | 6 +-
sw/source/filter/html/wrthtml.cxx | 25 +++---
sw/source/uibase/app/applab.cxx | 10 +--
tools/source/fsys/urlobj.cxx | 16 ++--
vcl/source/gdi/pdfwriter_impl.cxx | 88 +++++++++-------------
vcl/unx/generic/print/printerjob.cxx | 12 +--
vcl/unx/generic/printer/cpdmgr.cxx | 5 +-
vcl/unx/generic/printer/cupsmgr.cxx | 12 +--
vcl/unx/generic/printer/ppdparser.cxx | 8 +-
vcl/unx/generic/printer/printerinfomanager.cxx | 4 +-
vcl/unx/generic/window/salframe.cxx | 5 +-
vcl/workben/svpclient.cxx | 9 +--
vcl/workben/svptest.cxx | 6 +-
writerfilter/source/dmapper/TextEffectsHandler.cxx | 2 +-
xmloff/source/style/xmlnumi.cxx | 10 +--
54 files changed, 269 insertions(+), 403 deletions(-)

Upstream: cgit.freedesktop.org


  • Share