[Libreoffice-commits] core.git: avmedia/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 6 19:16:22 UTC 2021


 avmedia/source/avmediadummy.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit bd0c058811538a646196b479a8ce8d94a64763aa
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Aug 6 14:33:02 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Aug 6 21:15:48 2021 +0200

    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 at redhat.com>

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: */


More information about the Libreoffice-commits mailing list