split utl::TempFile into fast and named variants

Desktop / LibreOffice - Noel Grandin [gmail.com] - 29 September 2022 07:11 UTC

which makes it easier to know what each variant requires to stay on it's happy path

Change-Id: I3275a2543573367714bc78092e882f6535507285 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140469

4b95451f859b split utl::TempFile into fast and named variants
chart2/qa/extras/charttest.hxx | 14 +--
connectivity/source/drivers/dbase/DTable.cxx | 6 +-
.../source/drivers/firebird/Connection.cxx | 2 +-
.../source/drivers/firebird/Connection.hxx | 2 +-
connectivity/source/drivers/firebird/Driver.hxx | 4 +-
dbaccess/qa/unit/dbtest_base.cxx | 6 +-
dbaccess/qa/unit/embeddeddb_performancetest.cxx | 2 +-
dbaccess/qa/unit/hsql_binary_import.cxx | 2 +-
dbaccess/qa/unit/tdf119625.cxx | 2 +-
dbaccess/qa/unit/tdf126268.cxx | 2 +-
dbaccess/source/core/dataaccess/ModelImpl.cxx | 2 +-
dbaccess/source/ui/misc/TableCopyHelper.cxx | 2 +-
desktop/qa/desktop_lib/test_desktop_lib.cxx | 16 +--
desktop/source/app/appinit.cxx | 4 +-
desktop/source/app/dispatchwatcher.cxx | 4 +-
desktop/source/app/updater.cxx | 4 +-
desktop/source/deployment/manager/dp_manager.cxx | 4 +-
desktop/source/deployment/registry/dp_backend.cxx | 4 +-
desktop/source/lib/init.cxx | 2 +-
desktop/source/pkgchk/unopkg/unopkg_app.cxx | 4 +-
embeddedobj/qa/cppunit/msole.cxx | 2 +-
extensions/source/scanner/sane.cxx | 2 +-
filter/source/msfilter/svdfppt.cxx | 4 +-
filter/source/pdf/pdffilter.cxx | 2 +-
filter/source/svg/svgexport.cxx | 3 +-
filter/source/xsltdialog/xmlfilterjar.cxx | 3 +-
filter/source/xsltdialog/xmlfiltertestdialog.cxx | 4 +-
framework/source/services/autorecovery.cxx | 4 +-
hwpfilter/source/htags.cxx | 2 +-
include/test/htmltesttools.hxx | 2 +-
include/test/xmltesttools.hxx | 2 +-
include/unotest/macros_test.hxx | 4 +-
include/unotools/tempfile.hxx | 108 +++++++++++------
oox/qa/unit/drawingml.cxx | 4 +-
oox/qa/unit/export.cxx | 4 +-
package/source/xstor/owriteablestream.cxx | 2 -
package/source/xstor/owriteablestream.hxx | 2 +-
package/source/xstor/selfterminatefilestream.cxx | 2 +-
package/source/xstor/selfterminatefilestream.hxx | 4 +-
reportdesign/source/core/api/ReportEngineJFree.cxx | 6 +-
sc/qa/extras/htmlexporttest.cxx | 6 +-
sc/qa/extras/macros-test.cxx | 4 +-
sc/qa/extras/scddelinkobj.cxx | 6 +-
sc/qa/extras/scpdfexport.cxx | 49 ++++----
sc/qa/unit/SparklineImportExportTest.cxx | 6 +-
sc/qa/unit/helper/qahelper.cxx | 14 +--
sc/qa/unit/helper/qahelper.hxx | 12 +-
sc/qa/unit/helper/xpath.cxx | 6 +-
sc/qa/unit/helper/xpath.hxx | 4 +-
sc/qa/unit/jumbosheets-test.cxx | 4 +-
sc/qa/unit/pivottable_filters_test.cxx | 39 ++++---
sc/qa/unit/scshapetest.cxx | 2 +-
sc/qa/unit/subsequent_export_test.cxx | 102 +++++++++-------
sc/qa/unit/subsequent_export_test2.cxx | 118 ++++++++++++-------
sc/qa/unit/tiledrendering/tiledrendering.cxx | 4 +-
sc/qa/unit/uicalc/uicalc.cxx | 20 ++--
sc/source/filter/excel/xeescher.cxx | 1 -
sc/source/filter/inc/xcl97esc.hxx | 2 +-
sc/source/filter/inc/xeescher.hxx | 2 +-
sc/source/filter/xcl97/xcl97esc.cxx | 3 +-
sc/source/ui/app/drwtrans.cxx | 6 +-
sc/source/ui/app/transobj.cxx | 3 +-
sc/source/ui/docshell/docsh.cxx | 4 +-
sd/qa/filter/eppt/eppt.cxx | 6 +-
sd/qa/unit/HtmlExportTest.cxx | 2 +-
sd/qa/unit/PNGExportTests.cxx | 16 +--
sd/qa/unit/SVGExportTests.cxx | 2 +-
sd/qa/unit/SdrPdfImportTest.cxx | 2 +-
sd/qa/unit/ShapeImportExportTest.cxx | 2 +-
sd/qa/unit/export-tests-ooxml1.cxx | 78 ++++++-------
sd/qa/unit/export-tests-ooxml2.cxx | 92 +++++++--------
sd/qa/unit/export-tests-ooxml3.cxx | 130 ++++++++++-----------
sd/qa/unit/export-tests.cxx | 54 ++++-----
sd/qa/unit/misc-tests.cxx | 12 +-
sd/qa/unit/sdmodeltestbase.hxx | 12 +-
sd/qa/unit/uiimpress.cxx | 7 +-
sd/source/ui/app/sdxfer.cxx | 3 +-
sfx2/qa/cppunit/test_misc.cxx | 6 +-
sfx2/source/appl/flatpak.cxx | 5 +-
sfx2/source/appl/sfxhelp.cxx | 2 +-
sfx2/source/appl/xpackcreator.cxx | 2 +-
sfx2/source/dialog/mailmodel.cxx | 4 +-
sfx2/source/doc/docfile.cxx | 17 ++-
sfx2/source/doc/graphhelp.cxx | 2 +-
sfx2/source/doc/objstor.cxx | 2 +-
sfx2/source/doc/printhelper.cxx | 10 +-
sfx2/source/doc/sfxbasemodel.cxx | 2 +-
sfx2/source/view/viewsh.cxx | 3 +-
shell/source/win32/simplemail/smplmailclient.cxx | 2 +-
shell/source/win32/simplemail/smplmailclient.hxx | 2 +-
sot/source/sdstor/stg.cxx | 2 +-
sot/source/sdstor/stgstrms.cxx | 2 +-
sot/source/sdstor/ucbstorage.cxx | 12 +-
starmath/qa/extras/mmlexport-test.cxx | 2 +-
svl/source/fsstor/fsfactory.cxx | 3 +-
svtools/source/misc/embedtransfer.cxx | 3 +-
svx/qa/unit/XTableImportExportTest.cxx | 2 +-
svx/qa/unit/core.cxx | 2 +-
svx/qa/unit/customshapes.cxx | 10 +-
svx/qa/unit/gallery/test_gallery.cxx | 40 +++----
svx/qa/unit/unodraw.cxx | 2 +-
svx/qa/unit/xoutdev.cxx | 4 +-
svx/source/gallery2/gallerybinaryengine.cxx | 2 +-
svx/source/xml/xmleohlp.cxx | 3 +-
svx/source/xml/xmlgrhlp.cxx | 8 +-
sw/qa/core/draw/draw.cxx | 2 +-
sw/qa/core/filters-test.cxx | 2 +-
sw/qa/core/filters-test2.cxx | 2 +-
sw/qa/core/macros-test.cxx | 4 +-
sw/qa/core/uwriter.cxx | 2 +-
sw/qa/extras/globalfilter/globalfilter.cxx | 42 +++----
sw/qa/extras/htmlexport/htmlexport.cxx | 2 +-
sw/qa/extras/layout/layout.cxx | 8 +-
sw/qa/extras/layout/layout2.cxx | 4 +-
sw/qa/extras/mailmerge/mailmerge.cxx | 2 +-
sw/qa/extras/mailmerge/mailmerge2.cxx | 2 +-
sw/qa/extras/odfexport/odfexport.cxx | 2 +-
sw/qa/extras/ooxmlexport/ooxmllinks.cxx | 2 +-
sw/qa/extras/uiwriter/uiwriter.cxx | 2 +-
sw/qa/extras/uiwriter/uiwriter4.cxx | 8 +-
sw/qa/extras/uiwriter/uiwriter6.cxx | 6 +-
sw/qa/extras/uiwriter/uiwriter7.cxx | 6 +-
sw/qa/extras/uiwriter/uiwriter8.cxx | 2 +-
sw/qa/inc/swmodeltestbase.hxx | 4 +-
sw/qa/uibase/uiview/uiview.cxx | 2 +-
sw/qa/unit/swmodeltestbase.cxx | 2 +-
sw/source/core/doc/docglbl.cxx | 5 +-
sw/source/filter/html/wrthtml.cxx | 2 +-
sw/source/filter/html/wrthtml.hxx | 4 +-
sw/source/filter/ww8/wrtww8.cxx | 9 +-
sw/source/filter/ww8/ww8par.cxx | 9 +-
sw/source/ui/dbui/addresslistdialog.cxx | 2 +-
sw/source/ui/dbui/mmlayoutpage.cxx | 4 +-
sw/source/ui/dbui/mmresultdialogs.cxx | 6 +-
sw/source/ui/misc/glosbib.cxx | 2 +-
sw/source/uibase/app/docsh2.cxx | 2 +-
sw/source/uibase/dbui/dbmgr.cxx | 11 +-
sw/source/uibase/dochdl/swdtflvr.cxx | 3 +-
sw/source/uibase/misc/glosdoc.cxx | 2 +-
sw/source/uibase/uiview/srcview.cxx | 2 +-
sw/source/uibase/uno/unomailmerge.cxx | 3 +-
test/source/bootstrapfixture.cxx | 2 +-
test/source/htmltesttools.cxx | 2 +-
test/source/text/baseindex.cxx | 2 +-
test/source/xmltesttools.cxx | 2 +-
unotest/source/cpp/macros_test.cxx | 2 +-
unotools/source/ucbhelper/XTempFile.hxx | 2 +-
unotools/source/ucbhelper/tempfile.cxx | 68 ++++++++---
vcl/inc/unx/gtk/gtksalmenu.hxx | 2 +-
vcl/qa/cppunit/GraphicTest.cxx | 5 +-
vcl/qa/cppunit/filter/ipdf/ipdf.cxx | 2 +-
vcl/qa/cppunit/pdfexport/pdfexport.cxx | 85 +++++++-------
vcl/qa/cppunit/png/PngFilterTest.cxx | 8 +-
vcl/qa/cppunit/svm/svmtest.cxx | 2 +-
vcl/source/filter/ieps/ieps.cxx | 4 +-
vcl/source/fontsubset/sft.cxx | 2 +-
vcl/source/gdi/impgraph.cxx | 3 +-
vcl/unx/generic/print/glyphset.cxx | 2 +-
vcl/unx/gtk3/gtkinst.cxx | 4 +-
vcl/unx/gtk3/gtksalmenu.cxx | 2 +-
writerperfect/qa/unit/EPUBExportTest.cxx | 2 +-
xmloff/qa/unit/draw.cxx | 24 ++--
xmloff/qa/unit/style.cxx | 18 +--
xmloff/qa/unit/text.cxx | 30 ++---
xmlscript/qa/cppunit/test.cxx | 4 +-
xmlsecurity/qa/unit/signing/signing.cxx | 52 ++++-----
xmlsecurity/qa/unit/signing/signing2.cxx | 2 +-
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 14 +--
168 files changed, 942 insertions(+), 824 deletions(-)

Upstream: cgit.freedesktop.org


  • Share