summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-16 12:29:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-17 11:52:43 +0100
commit05fd1abb06821be51a6a23a1c8953dfaf24e1187 (patch)
tree4f21ba651c714a537397a5b334e97b98108630ef /avmedia/source
parent8405b8cde173d60c62faae728ec572c383f3af5b (diff)
loplugin:stringliteraldefine in avmedia
Change-Id: Ie34a45a745ac9546208444b2e499b581e18d449f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125275 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx1
-rw-r--r--avmedia/source/inc/mediamisc.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index 4f12f80f5ded..f25ec5c6bb0c 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -47,7 +47,6 @@
constexpr OUStringLiteral AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME = u"com.sun.star.comp.avmedia.Player_GStreamer";
constexpr OUStringLiteral AVMEDIA_GST_PLAYER_SERVICENAME = u"com.sun.star.media.Player_GStreamer";
-
#define AVVERSION "gst 1.0: "
using namespace ::com::sun::star;
diff --git a/avmedia/source/inc/mediamisc.hxx b/avmedia/source/inc/mediamisc.hxx
index 542dbe5f1f74..b0f9964d18f9 100644
--- a/avmedia/source/inc/mediamisc.hxx
+++ b/avmedia/source/inc/mediamisc.hxx
@@ -33,7 +33,7 @@
#endif
// Mime types
-#define AVMEDIA_MIMETYPE_COMMON "application/vnd.sun.star.media"
+inline constexpr OUStringLiteral AVMEDIA_MIMETYPE_COMMON = u"application/vnd.sun.star.media";
inline OUString AvmResId(TranslateId aId)
{