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

Stephan Bergmann sbergman at redhat.com
Sat May 9 10:25:20 PDT 2015


 avmedia/source/macavf/macavfcommon.hxx |    2 +-
 avmedia/source/macavf/player.mm        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d133a87c1e518f14b0fa0e0e8e372a9925c55f1a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sat May 9 19:24:55 2015 +0200

    loplugin:staticmethods
    
    Change-Id: If3dd46119c043daa1498cbeebc9cef2b7b9cafe4

diff --git a/avmedia/source/macavf/macavfcommon.hxx b/avmedia/source/macavf/macavfcommon.hxx
index c63df0d..d675bc3 100644
--- a/avmedia/source/macavf/macavfcommon.hxx
+++ b/avmedia/source/macavf/macavfcommon.hxx
@@ -85,7 +85,7 @@ private:
     static MacAVObserverObject* mpMacAVObserverObject;
 public:
     virtual ~MacAVObserverHandler() {}
-    MacAVObserverObject* getObserver() const;
+    static MacAVObserverObject* getObserver();
     virtual bool handleObservation( NSString* pKeyPath ) = 0;
 };
 
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm
index 84d2916..257576d 100644
--- a/avmedia/source/macavf/player.mm
+++ b/avmedia/source/macavf/player.mm
@@ -62,7 +62,7 @@ namespace avmedia { namespace macavf {
 
 MacAVObserverObject* MacAVObserverHandler::mpMacAVObserverObject = NULL;
 
-MacAVObserverObject* MacAVObserverHandler::getObserver() const
+MacAVObserverObject* MacAVObserverHandler::getObserver()
 {
     if( !mpMacAVObserverObject)
     {


More information about the Libreoffice-commits mailing list