diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-16 15:03:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-17 08:25:29 +0200 |
commit | da5c3a1ee43dd1a07cbd1b8005488bf05432593d (patch) | |
tree | 0b3c86fdebd4620a25e1cdd20edb6cddeaeaa811 /avmedia | |
parent | 6ee4375763854e43e549aee5a35520def2e215a2 (diff) |
loplugin:staticvar in avmedia..connectivity
Change-Id: I5dcac79131c810787e8fa49df75e55cc78147860
Reviewed-on: https://gerrit.libreoffice.org/61834
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/wrapper/Common.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/EventManager.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Instance.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Media.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Player.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/avmedia/source/vlc/wrapper/Common.cxx b/avmedia/source/vlc/wrapper/Common.cxx index 66eea5fa8bc6..8eb23be81c75 100644 --- a/avmedia/source/vlc/wrapper/Common.cxx +++ b/avmedia/source/vlc/wrapper/Common.cxx @@ -25,7 +25,7 @@ namespace wrapper { bool Common::LoadSymbols() { - ApiMap const VLC_COMMON_API[] = + static ApiMap const VLC_COMMON_API[] = { SYM_MAP( libvlc_get_version ), SYM_MAP( libvlc_errmsg ) diff --git a/avmedia/source/vlc/wrapper/EventManager.cxx b/avmedia/source/vlc/wrapper/EventManager.cxx index 76259c933e15..5e7422e60dc5 100644 --- a/avmedia/source/vlc/wrapper/EventManager.cxx +++ b/avmedia/source/vlc/wrapper/EventManager.cxx @@ -47,7 +47,7 @@ void EventManager::Handler( const libvlc_event_t *event, void *pData ) bool EventManager::LoadSymbols() { - ApiMap const VLC_EVENT_MANAGER_API[] = + static ApiMap const VLC_EVENT_MANAGER_API[] = { SYM_MAP( libvlc_media_player_event_manager ), SYM_MAP( libvlc_event_attach ), diff --git a/avmedia/source/vlc/wrapper/Instance.cxx b/avmedia/source/vlc/wrapper/Instance.cxx index 6bc22ff75ec6..eb6dd99eb200 100644 --- a/avmedia/source/vlc/wrapper/Instance.cxx +++ b/avmedia/source/vlc/wrapper/Instance.cxx @@ -25,7 +25,7 @@ namespace wrapper { bool Instance::LoadSymbols() { - ApiMap const VLC_INSTANCE_API[] = + static ApiMap const VLC_INSTANCE_API[] = { SYM_MAP( libvlc_new ), SYM_MAP( libvlc_release ), diff --git a/avmedia/source/vlc/wrapper/Media.cxx b/avmedia/source/vlc/wrapper/Media.cxx index 9f23472d30f8..d884180bbd9d 100644 --- a/avmedia/source/vlc/wrapper/Media.cxx +++ b/avmedia/source/vlc/wrapper/Media.cxx @@ -46,7 +46,7 @@ namespace bool Media::LoadSymbols() { - ApiMap const VLC_MEDIA_API[] = + static ApiMap const VLC_MEDIA_API[] = { SYM_MAP( libvlc_media_new_path ), SYM_MAP( libvlc_media_release ), diff --git a/avmedia/source/vlc/wrapper/Player.cxx b/avmedia/source/vlc/wrapper/Player.cxx index 7eb33440e24d..108ec02d2100 100644 --- a/avmedia/source/vlc/wrapper/Player.cxx +++ b/avmedia/source/vlc/wrapper/Player.cxx @@ -67,7 +67,7 @@ namespace wrapper { bool Player::LoadSymbols() { - ApiMap const VLC_PLAYER_API[] = + static ApiMap const VLC_PLAYER_API[] = { SYM_MAP( libvlc_media_player_new_from_media ), SYM_MAP( libvlc_media_player_release ), |