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

Stephan Bergmann sbergman at redhat.com
Wed Dec 21 13:36:45 UTC 2016


 avmedia/source/vlc/wrapper/SymbolLoader.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 93dce7329002f3ee19856ac55549c60732766efc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Dec 21 14:36:01 2016 +0100

    No apparent reason for an unnamed namespace in an include file here
    
    Change-Id: I5e9910d3b5ca070e34e7621a2d3009e5c6fc0586

diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
index eb71926..b26afe3 100644
--- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx
+++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
@@ -33,8 +33,6 @@ struct ApiMap
     SymbolFunc *refValue;
 };
 
-namespace
-{
 #if defined( LINUX )
     const char LibName[] = "libvlc.so.5";
 #elif defined( MACOSX )
@@ -42,7 +40,7 @@ namespace
 #elif defined( WNT )
     const char LibName[] = "libvlc.dll";
 
-    OUString GetVLCPath()
+    inline OUString GetVLCPath()
     {
         HKEY hKey;
         wchar_t arCurrent[MAX_PATH];
@@ -88,7 +86,6 @@ namespace
 
         return true;
     }
-}
 
     template<size_t N>
     bool InitApiMap( const ApiMap ( &pMap )[N]  )


More information about the Libreoffice-commits mailing list