diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-07 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-07 10:03:42 +0100 |
commit | 91106b5b6153f324399f4fbb74b0f90c6eccc7ec (patch) | |
tree | b9f9b843481fa4b7fe5dffb6313ffb230b8d3f05 /avmedia/source | |
parent | e5570ce8e936ab07e5f5f676d7043d8f32bf7306 (diff) |
loplugin:passstuffbyref in avmedia..canvas
Change-Id: I916a6431eb0720af16dcb5aa46b758f92dbe4ec4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176179
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index f587ced4241a..c2ecaa29d9bf 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -285,7 +285,7 @@ bool MediaItem::setMimeType(const OUString& rMimeType) return bChanged; } -OUString MediaItem::getMimeType() const +const OUString & MediaItem::getMimeType() const { return !m_pImpl->m_sMimeType.isEmpty() ? m_pImpl->m_sMimeType : AVMEDIA_MIMETYPE_COMMON; } |