From a6cdc75f98a9449fd796420170d2097e96b6e873 Mon Sep 17 00:00:00 2001 From: Luv Sharma Date: Wed, 3 Jan 2024 23:47:13 +0530 Subject: tdf#158067: an example of OUStringLiteral -> operator u""_ustr replacement Change-Id: I0b7f8dda1d266f6d71b5781bea65242ff235bc47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161593 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- avmedia/source/gstreamer/gstframegrabber.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'avmedia') diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx index 7a6575123318..d8f96bd5e568 100644 --- a/avmedia/source/gstreamer/gstframegrabber.cxx +++ b/avmedia/source/gstreamer/gstframegrabber.cxx @@ -31,7 +31,6 @@ #include -constexpr OUStringLiteral AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME = u"com.sun.star.comp.avmedia.FrameGrabber_GStreamer"; constexpr OUString AVMEDIA_GST_FRAMEGRABBER_SERVICENAME = u"com.sun.star.media.FrameGrabber_GStreamer"_ustr; using namespace ::com::sun::star; @@ -161,7 +160,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe OUString SAL_CALL FrameGrabber::getImplementationName( ) { - return AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME; + return u"com.sun.star.comp.avmedia.FrameGrabber_GStreamer"_ustr; } sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName ) -- cgit