O[U]String::replaceAt overloads that take string_view

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 23 November 2021 13:00 UTC

which results in lots of nice string_view improvements picked up by the plugins

Change-Id: Ib0ec3887816b3d4436d003b739d9814f83e244b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125657

ec1c4c493017 O[U]String::replaceAt overloads that take string_view
basctl/source/basicide/baside2b.cxx | 6 +-
basic/source/runtime/runtime.cxx | 2 +-
chart2/source/inc/CommonConverters.hxx | 2 +-
chart2/source/tools/CommonConverters.cxx | 2 +-
comphelper/source/misc/logging.cxx | 2 +-
comphelper/source/misc/string.cxx | 2 +-
connectivity/source/commontools/DateConversion.cxx | 2 +-
connectivity/source/commontools/dbtools2.cxx | 4 +-
connectivity/source/commontools/predicateinput.cxx | 2 +-
connectivity/source/drivers/dbase/DTable.cxx | 2 +-
connectivity/source/drivers/firebird/Tables.cxx | 2 +-
connectivity/source/drivers/firebird/Util.cxx | 2 +-
connectivity/source/drivers/flat/ETable.cxx | 2 +-
connectivity/source/drivers/hsqldb/HTable.cxx | 2 +-
connectivity/source/drivers/mysql_jdbc/YTable.cxx | 2 +-
connectivity/source/drivers/mysql_jdbc/YTables.cxx | 2 +-
connectivity/source/parse/sqlnode.cxx | 8 +--
connectivity/source/resource/sharedresources.cxx | 2 +-
cui/source/customize/cfg.cxx | 4 +-
cui/source/dialogs/about.cxx | 2 +-
cui/source/dialogs/hyphen.cxx | 4 +-
cui/source/dialogs/scriptdlg.cxx | 12 ++--
cui/source/tabpages/numfmt.cxx | 6 +-
dbaccess/source/filter/hsqldb/utils.cxx | 2 +-
dbaccess/source/ui/dlg/dbwizsetup.cxx | 2 +-
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 6 +-
editeng/inc/editdoc.hxx | 2 +-
editeng/qa/unit/core-test.cxx | 2 +-
editeng/source/editeng/editdoc.cxx | 8 +--
editeng/source/editeng/eehtml.cxx | 2 +-
editeng/source/editeng/impedit2.cxx | 6 +-
extensions/source/abpilot/abpfinalpage.cxx | 2 +-
forms/source/component/Edit.cxx | 2 +-
formula/source/core/api/FormulaCompiler.cxx | 10 +--
framework/source/uielement/fontmenucontroller.cxx | 2 +-
.../source/inputchecker/inputsequencechecker.cxx | 2 +-
.../inputchecker/inputsequencechecker_hi.cxx | 2 +-
.../inputchecker/inputsequencechecker_th.cxx | 10 +--
include/comphelper/string.hxx | 2 +-
include/rtl/string.h | 5 ++
include/rtl/string.hxx | 12 ++++
include/rtl/ustring.h | 5 ++
include/rtl/ustring.hxx | 12 ++++
oox/source/drawingml/chart/chartconverter.cxx | 2 +-
oox/source/ole/vbaexport.cxx | 2 +-
reportdesign/source/core/api/Group.cxx | 4 +-
reportdesign/source/core/api/ReportDefinition.cxx | 10 +--
reportdesign/source/core/api/Section.cxx | 4 +-
reportdesign/source/core/api/Tools.cxx | 2 +-
reportdesign/source/core/inc/Tools.hxx | 2 +-
reportdesign/source/filter/xml/xmlExport.cxx | 2 +-
reportdesign/source/filter/xml/xmlGroup.cxx | 2 +-
reportdesign/source/ui/dlg/Formula.cxx | 2 +-
sal/rtl/bootstrap.cxx | 2 +-
sal/rtl/string.cxx | 36 +++++++++++
sal/rtl/strtmpl.hxx | 74 ++++++++++++++++++++++
sal/rtl/ustring.cxx | 7 ++
sal/util/sal.map | 6 ++
sc/qa/unit/subsequent_export_test2.cxx | 4 +-
sc/source/core/data/global2.cxx | 2 +-
sc/source/core/tool/address.cxx | 2 +-
sc/source/core/tool/compiler.cxx | 6 +-
sc/source/core/tool/interpr1.cxx | 10 +--
sc/source/core/tool/rangenam.cxx | 2 +-
sc/source/core/tool/rangeutl.cxx | 2 +-
sc/source/filter/dif/difexp.cxx | 2 +-
sc/source/filter/excel/xecontent.cxx | 4 +-
sc/source/filter/excel/xicontent.cxx | 2 +-
sc/source/filter/excel/xiescher.cxx | 2 +-
sc/source/filter/ftools/ftools.cxx | 4 +-
sc/source/filter/oox/formulabase.cxx | 2 +-
sc/source/filter/oox/worksheetbuffer.cxx | 2 +-
sc/source/filter/oox/worksheethelper.cxx | 2 +-
sc/source/ui/Accessibility/AccessibleCell.cxx | 12 ++--
sc/source/ui/app/inputhdl.cxx | 4 +-
sc/source/ui/docshell/docsh4.cxx | 8 +--
sc/source/ui/docshell/impex.cxx | 2 +-
sc/source/ui/miscdlgs/acredlin.cxx | 2 +-
sc/source/ui/navipi/content.cxx | 2 +-
sc/source/ui/unoobj/addruno.cxx | 2 +-
sc/source/ui/unoobj/chart2uno.cxx | 2 +-
sc/source/ui/view/output2.cxx | 2 +-
sc/source/ui/view/viewfunc.cxx | 4 +-
sd/source/core/drawdoc2.cxx | 10 +--
sd/source/filter/eppt/pptx-epptooxml.cxx | 2 +-
sd/source/ui/dlg/custsdlg.cxx | 2 +-
sd/source/ui/docshell/docshel3.cxx | 8 +--
sdext/source/minimizer/informationdialog.cxx | 2 +-
sfx2/source/appl/childwin.cxx | 4 +-
sfx2/source/dialog/dockwin.cxx | 4 +-
sfx2/source/dialog/filedlghelper.cxx | 2 +-
sfx2/source/doc/doctemplates.cxx | 2 +-
sfx2/source/doc/new.cxx | 4 +-
shell/source/win32/spsupp/spsuppHelper.cxx | 2 +-
starmath/source/view.cxx | 6 +-
svtools/source/svhtml/parhtml.cxx | 10 +--
svx/source/dialog/fntctrl.cxx | 2 +-
svx/source/fmcomp/gridcell.cxx | 2 +-
svx/source/svdraw/svdobj.cxx | 2 +-
sw/source/core/access/acccell.cxx | 12 ++--
sw/source/core/crsr/swcrsr.cxx | 2 +-
sw/source/core/edit/autofmt.cxx | 2 +-
sw/source/core/fields/expfld.cxx | 6 +-
sw/source/core/table/swtable.cxx | 4 +-
sw/source/core/text/porfld.cxx | 2 +-
sw/source/core/txtnode/fntcache.cxx | 8 +--
sw/source/core/txtnode/modeltoviewhelper.cxx | 2 +-
sw/source/core/txtnode/ndtxt.cxx | 12 ++--
sw/source/core/txtnode/thints.cxx | 4 +-
sw/source/core/undo/undel.cxx | 2 +-
sw/source/core/unocore/unofield.cxx | 4 +-
sw/source/filter/html/css1atr.cxx | 2 +-
sw/source/filter/html/htmlflywriter.cxx | 4 +-
sw/source/filter/html/htmlform.cxx | 2 +-
sw/source/filter/html/wrthtml.cxx | 4 +-
sw/source/filter/ww8/writerwordglue.cxx | 44 ++++++-------
sw/source/filter/ww8/wrtw8num.cxx | 4 +-
sw/source/filter/ww8/ww8graf.cxx | 4 +-
sw/source/filter/ww8/ww8par5.cxx | 14 ++--
sw/source/ui/dbui/dbinsdlg.cxx | 2 +-
sw/source/ui/dialog/ascfldlg.cxx | 4 +-
sw/source/uibase/app/applab.cxx | 2 +-
sw/source/uibase/dbui/dbmgr.cxx | 2 +-
sw/source/uibase/docvw/edtwin.cxx | 6 +-
sw/source/uibase/misc/redlndlg.cxx | 2 +-
sw/source/uibase/shells/langhelper.cxx | 6 +-
sw/source/uibase/shells/textsh1.cxx | 10 +--
sw/source/uibase/uiview/srcview.cxx | 2 +-
tools/source/fsys/urlobj.cxx | 2 +-
ucb/source/ucp/hierarchy/hierarchyuri.cxx | 2 +-
vcl/osx/salmenu.cxx | 2 +-
vcl/source/control/combobox.cxx | 4 +-
vcl/source/control/tabctrl.cxx | 2 +-
vcl/source/edit/textdoc.cxx | 4 +-
vcl/source/filter/FilterConfigCache.cxx | 6 +-
vcl/source/gdi/pdfwriter_impl.cxx | 2 +-
vcl/source/image/ImplImage.cxx | 2 +-
vcl/source/outdev/text.cxx | 6 +-
vcl/source/treelist/transfer.cxx | 2 +-
vcl/source/window/mnemonic.cxx | 8 +--
vcl/unx/generic/printer/ppdparser.cxx | 6 +-
vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx | 4 +-
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 +-
xmlhelp/source/treeview/tvread.cxx | 2 +-
xmloff/source/style/xmlnumfi.cxx | 2 +-
145 files changed, 436 insertions(+), 279 deletions(-)

Upstream: cgit.freedesktop.org


  • Share