diff options
author | Luv Sharma <luvsharma.del@gmail.com> | 2024-01-03 23:47:13 +0530 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-02-23 08:05:38 +0100 |
commit | a6cdc75f98a9449fd796420170d2097e96b6e873 (patch) | |
tree | 9f61158ecd88fdb0a01221e0b01d39bba36a52b6 /avmedia | |
parent | 23056ce647654d57b63cb48a30488d35fcd26c7f (diff) |
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 <stephan.bergmann@allotropia.de>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstframegrabber.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 <string> -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 ) |