tdf#158068 Replace string literals with OUString literals in canvas

Change-Id: I7bbcc08786843d6d289b3170248ce2696e57f3b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177602
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
anonymotter 2024-11-29 20:23:27 -08:00 committed by Ilmari Lauhakangas
parent 1b4bf7effc
commit 7a12424df2

View file

@ -122,17 +122,17 @@ namespace dxcanvas
OUString SAL_CALL Canvas::getServiceName( )
{
return "com.sun.star.rendering.Canvas.GDI+";
return u"com.sun.star.rendering.Canvas.GDI+"_ustr;
}
// XServiceInfo
css::uno::Sequence<OUString> Canvas::getSupportedServiceNames( )
{
return { "com.sun.star.rendering.Canvas.GDI+" };
return { u"com.sun.star.rendering.Canvas.GDI+"_ustr };
}
OUString Canvas::getImplementationName( )
{
return "com.sun.star.comp.rendering.Canvas.GDI+";
return u"com.sun.star.comp.rendering.Canvas.GDI+"_ustr;
}
sal_Bool Canvas::supportsService( const OUString& sServiceName )
{
@ -212,17 +212,17 @@ namespace dxcanvas
OUString SAL_CALL BitmapCanvas::getServiceName( )
{
return "com.sun.star.rendering.BitmapCanvas.GDI+";
return u"com.sun.star.rendering.BitmapCanvas.GDI+"_ustr;
}
// XServiceInfo
css::uno::Sequence<OUString> BitmapCanvas::getSupportedServiceNames( )
{
return { "com.sun.star.rendering.BitmapCanvas.GDI+" };
return { u"com.sun.star.rendering.BitmapCanvas.GDI+"_ustr };
}
OUString BitmapCanvas::getImplementationName( )
{
return "com.sun.star.comp.rendering.BitmapCanvas.GDI+";
return u"com.sun.star.comp.rendering.BitmapCanvas.GDI+"_ustr;
}
sal_Bool BitmapCanvas::supportsService( const OUString& sServiceName )
{