diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-06 14:33:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-06 21:15:48 +0200 |
commit | bd0c058811538a646196b479a8ce8d94a64763aa (patch) | |
tree | a1f249f31414c0f3410269b302e5ab3c8dfc19e8 /avmedia | |
parent | cc21480a25f1a289c7dd1bc536699fcae1457fc8 (diff) |
fix --disable-avmedia clang-plugins warnings
abandoned getting this to work because not sure what this should
look like, seems caught between two stools as to what it wants to do
Change-Id: Ica0d1e25f2a19dfee0fe40d3e106d05e1f861c2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120119
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/avmediadummy.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/avmedia/source/avmediadummy.cxx b/avmedia/source/avmediadummy.cxx index 6c6ada0163e9..823cc6ec9f80 100644 --- a/avmedia/source/avmediadummy.cxx +++ b/avmedia/source/avmediadummy.cxx @@ -61,6 +61,7 @@ bool MediaItem::PutValue( const css::uno::Any&, sal_uInt8 ) AVMediaSetMask MediaItem::getMaskSet() const { + (void) this; // Silence loplugin:staticmethods return AVMediaSetMask::NONE; } @@ -83,10 +84,10 @@ bool MediaItem::operator==( const SfxPoolItem& rItem ) const } // namespace avmedia -extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL +extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_comp_framework_SoundHandler_get_implementation(css::uno::XComponentContext*, css::uno::Sequence<css::uno::Any> const &) { - return NULL; + return nullptr; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |