diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-09-17 15:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-18 12:00:51 +0200 |
commit | 898ba5beb4db4ff30cc4409da829c3d79907f37e (patch) | |
tree | 9128a742c7f427e8fdc8fa8a3a5f4d4a31fc8bae /vcl | |
parent | ca3d526a24390df6158bf233fa63e19f5f4b1f4b (diff) |
use more string_view in utl::TempFile
Change-Id: I151c66479053b9b5b7699a4938a622b4320aeaa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140104
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/png/PngFilterTest.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/png/PngFilterTest.cxx b/vcl/qa/cppunit/png/PngFilterTest.cxx index 8635165ad705..a3ae29216d7e 100644 --- a/vcl/qa/cppunit/png/PngFilterTest.cxx +++ b/vcl/qa/cppunit/png/PngFilterTest.cxx @@ -1730,8 +1730,7 @@ void PngFilterTest::testMsGifInPng() aFilterProperty.Value <<= aAdditionalChunkSequence; uno::Sequence<beans::PropertyValue> aPNGParameters{ aFilterProperty }; // Export the png with the chunk - OUString ext = u".png"; - utl::TempFile aTempFile(u"testPngExportMsGif", true, &ext); + utl::TempFile aTempFile(u"testPngExportMsGif", true, u".png"); if (!bKeepTemp) aTempFile.EnableKillingFile(); { |