summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/graphicfilter/filters-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/graphicfilter/filters-test.cxx')
-rw-r--r--vcl/qa/cppunit/graphicfilter/filters-test.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/qa/cppunit/graphicfilter/filters-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
index 8020848b6e38..fe7485e3944a 100644
--- a/vcl/qa/cppunit/graphicfilter/filters-test.cxx
+++ b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
@@ -39,7 +39,7 @@ public:
const OUString &rURL, const OUString &,
SfxFilterFlags, SotClipboardFormatId, unsigned int) override;
- void checkExportImport(const OUString& aFilterShortName);
+ void checkExportImport(std::u16string_view aFilterShortName);
/**
* Ensure CVEs remain unbroken
@@ -103,7 +103,7 @@ void VclFiltersTest::testScaling()
}
}
-void VclFiltersTest::checkExportImport(const OUString& aFilterShortName)
+void VclFiltersTest::checkExportImport(std::u16string_view aFilterShortName)
{
Bitmap aBitmap( Size( 100, 100 ), 24 );
aBitmap.Erase(COL_WHITE);
@@ -139,11 +139,11 @@ void VclFiltersTest::checkExportImport(const OUString& aFilterShortName)
void VclFiltersTest::testExportImport()
{
fprintf(stderr, "Check ExportImport JPG\n");
- checkExportImport("jpg");
+ checkExportImport(u"jpg");
fprintf(stderr, "Check ExportImport PNG\n");
- checkExportImport("png");
+ checkExportImport(u"png");
fprintf(stderr, "Check ExportImport BMP\n");
- checkExportImport("bmp");
+ checkExportImport(u"bmp");
}
void VclFiltersTest::testCVEs()