summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:58:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 13:01:19 +0200
commit2925275a63ded4e8a48db4d22b1809112ccfdb6f (patch)
treed729bee5b9731ae24b6a99a9852c5a5f72b9d401
parent69625a9191ec005a7f1885aa289a75251f7ccfb4 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): avmedia
Change-Id: I3736d81f73658105b877cd9577c6023ca4ca0805 Reviewed-on: https://gerrit.libreoffice.org/76698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--avmedia/source/framework/soundhandler.cxx2
-rw-r--r--avmedia/source/gstreamer/gstframegrabber.cxx2
-rw-r--r--avmedia/source/gstreamer/gstmanager.cxx2
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx2
-rw-r--r--avmedia/source/gstreamer/gstwindow.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 0b580399eb15..c98de6051796 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -86,7 +86,7 @@ css::uno::Sequence< css::uno::Type > SAL_CALL SoundHandler::getTypes()
return aTypeCollection.getTypes();
}
-#define IMPLEMENTATIONNAME_SOUNDHANDLER OUString("com.sun.star.comp.framework.SoundHandler")
+#define IMPLEMENTATIONNAME_SOUNDHANDLER "com.sun.star.comp.framework.SoundHandler"
/*===========================================================================================================*/
/* XServiceInfo */
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx
index e41386882d20..bc183d563332 100644
--- a/avmedia/source/gstreamer/gstframegrabber.cxx
+++ b/avmedia/source/gstreamer/gstframegrabber.cxx
@@ -158,7 +158,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
OUString SAL_CALL FrameGrabber::getImplementationName( )
{
- return OUString( AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME );
+ return AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME;
}
sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName )
diff --git a/avmedia/source/gstreamer/gstmanager.cxx b/avmedia/source/gstreamer/gstmanager.cxx
index aa55134e028f..0f4f055e4f59 100644
--- a/avmedia/source/gstreamer/gstmanager.cxx
+++ b/avmedia/source/gstreamer/gstmanager.cxx
@@ -53,7 +53,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString&
OUString SAL_CALL Manager::getImplementationName( )
{
- return OUString( AVMEDIA_GST_MANAGER_IMPLEMENTATIONNAME );
+ return AVMEDIA_GST_MANAGER_IMPLEMENTATIONNAME;
}
sal_Bool SAL_CALL Manager::supportsService( const OUString& ServiceName )
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 1a2e2e966add..4f1bf6665166 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -913,7 +913,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber()
OUString SAL_CALL Player::getImplementationName()
{
- return OUString( AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME );
+ return AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME;
}
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx
index df128744e0f0..98a6c78738bf 100644
--- a/avmedia/source/gstreamer/gstwindow.cxx
+++ b/avmedia/source/gstreamer/gstwindow.cxx
@@ -175,7 +175,7 @@ void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventLis
OUString SAL_CALL Window::getImplementationName( )
{
- return OUString( AVMEDIA_GST_WINDOW_IMPLEMENTATIONNAME );
+ return AVMEDIA_GST_WINDOW_IMPLEMENTATIONNAME;
}
sal_Bool SAL_CALL Window::supportsService( const OUString& ServiceName )