summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/GraphicDescriptorTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/GraphicDescriptorTest.cxx')
-rw-r--r--vcl/qa/cppunit/GraphicDescriptorTest.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/qa/cppunit/GraphicDescriptorTest.cxx b/vcl/qa/cppunit/GraphicDescriptorTest.cxx
index eec8f49f94f0..13f51262c233 100644
--- a/vcl/qa/cppunit/GraphicDescriptorTest.cxx
+++ b/vcl/qa/cppunit/GraphicDescriptorTest.cxx
@@ -42,7 +42,7 @@ BitmapEx createBitmap()
return BitmapEx(aBitmap);
}
-void createBitmapAndExportForType(SvStream& rStream, OUString const& sType)
+void createBitmapAndExportForType(SvStream& rStream, std::u16string_view sType)
{
BitmapEx aBitmapEx = createBitmap();
@@ -57,7 +57,7 @@ void createBitmapAndExportForType(SvStream& rStream, OUString const& sType)
void GraphicDescriptorTest::testDetectPNG()
{
SvMemoryStream aStream;
- createBitmapAndExportForType(aStream, "png");
+ createBitmapAndExportForType(aStream, u"png");
GraphicDescriptor aDescriptor(aStream, nullptr);
aDescriptor.Detect(true);
@@ -71,7 +71,7 @@ void GraphicDescriptorTest::testDetectPNG()
void GraphicDescriptorTest::testDetectJPG()
{
SvMemoryStream aStream;
- createBitmapAndExportForType(aStream, "jpg");
+ createBitmapAndExportForType(aStream, u"jpg");
GraphicDescriptor aDescriptor(aStream, nullptr);
aDescriptor.Detect(true);
@@ -85,7 +85,7 @@ void GraphicDescriptorTest::testDetectJPG()
void GraphicDescriptorTest::testDetectGIF()
{
SvMemoryStream aStream;
- createBitmapAndExportForType(aStream, "gif");
+ createBitmapAndExportForType(aStream, u"gif");
GraphicDescriptor aDescriptor(aStream, nullptr);
aDescriptor.Detect(true);