diff options
author | Harshit Jain <harshitjain1371999@gmail.com> | 2020-03-23 13:33:40 +0530 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-23 12:35:57 +0100 |
commit | fd1cd5522283f279a01d6d673f676a1346e9358b (patch) | |
tree | 3f4703ea2e2e32c2db054a0922286d7f9618dbff /avmedia/source | |
parent | 41dcf55d347d4f4810379148b2db0fb4a41d3465 (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: Ia4a6b35a9a734e9fa1dc9dea702fc1ec370021f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90901
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/win/framegrabber.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/win/interface.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/win/player.hxx | 5 | ||||
-rw-r--r-- | avmedia/source/win/window.hxx | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/avmedia/source/win/framegrabber.hxx b/avmedia/source/win/framegrabber.hxx index ba496fa5b99f..cfd708b08353 100644 --- a/avmedia/source/win/framegrabber.hxx +++ b/avmedia/source/win/framegrabber.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_AVMEDIA_SOURCE_WIN_FRAMEGRABBER_HXX -#define INCLUDED_AVMEDIA_SOURCE_WIN_FRAMEGRABBER_HXX +#pragma once #include "wincommon.hxx" #include <cppuhelper/implbase.hxx> @@ -55,6 +54,4 @@ private: } // namespace win } // namespace avmedia -#endif // INCLUDED_AVMEDIA_SOURCE_WIN_FRAMEGRABBER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/win/interface.hxx b/avmedia/source/win/interface.hxx index 08584777c7e6..a52c6ab1f36c 100644 --- a/avmedia/source/win/interface.hxx +++ b/avmedia/source/win/interface.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_AVMEDIA_SOURCE_WIN_INTERFACE_HXX -#define INCLUDED_AVMEDIA_SOURCE_WIN_INTERFACE_HXX +#pragma once extern "C" const CLSID CLSID_MediaDet; extern "C" const IID IID_IMediaDet; @@ -118,6 +117,4 @@ protected: ~ISampleGrabber() {} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/win/player.hxx b/avmedia/source/win/player.hxx index a95445bf33a0..9bdc0cb69c79 100644 --- a/avmedia/source/win/player.hxx +++ b/avmedia/source/win/player.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_AVMEDIA_SOURCE_WIN_PLAYER_HXX -#define INCLUDED_AVMEDIA_SOURCE_WIN_PLAYER_HXX +#pragma once #include <sal/config.h> @@ -117,6 +116,4 @@ private: } // namespace win } // namespace avmedia -#endif // INCLUDED_AVMEDIA_SOURCE_WIN_PLAYER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/win/window.hxx b/avmedia/source/win/window.hxx index 32ae3504f6d5..84b5423d9815 100644 --- a/avmedia/source/win/window.hxx +++ b/avmedia/source/win/window.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_AVMEDIA_SOURCE_WIN_WINDOW_HXX -#define INCLUDED_AVMEDIA_SOURCE_WIN_WINDOW_HXX +#pragma once #include <sal/config.h> @@ -113,6 +112,4 @@ private: } // namespace win } // namespace avmedia -#endif // INCLUDED_AVMEDIA_SOURCE_WIN_WINDOW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |