summaryrefslogtreecommitdiff
path: root/avmedia/source/macavf
diff options
context:
space:
mode:
authorFurkan Ahmet Kara <furkanahmetkara.fk@gmail.com>2020-02-08 17:30:12 +0200
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-11 12:27:12 +0100
commitcb942e1326f2eaf4b1796c20dbb21602d3e02307 (patch)
treeb7eb06af3bf952fcd870fbbb9366ad440e24f170 /avmedia/source/macavf
parent016da11f3643fdce7e8caaf2c1f1e29341f101dd (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I4f0ff5864f343c016ae88477e064b0c643cd0d9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88268 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'avmedia/source/macavf')
-rw-r--r--avmedia/source/macavf/framegrabber.hxx5
-rw-r--r--avmedia/source/macavf/macavfcommon.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/avmedia/source/macavf/framegrabber.hxx b/avmedia/source/macavf/framegrabber.hxx
index 2bcd5011497c..a0fceec3bf47 100644
--- a/avmedia/source/macavf/framegrabber.hxx
+++ b/avmedia/source/macavf/framegrabber.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_MACAVF_FRAMEGRABBER_HXX
-#define INCLUDED_AVMEDIA_SOURCE_MACAVF_FRAMEGRABBER_HXX
+#pragma once
#include "macavfcommon.hxx"
#include <cppuhelper/implbase.hxx>
@@ -55,6 +54,4 @@ private:
} // namespace macavf
} // namespace avmedia
-#endif // INCLUDED_AVMEDIA_SOURCE_MACAVF_FRAMEGRABBER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/macavf/macavfcommon.hxx b/avmedia/source/macavf/macavfcommon.hxx
index cac042102bfb..c682755ce8a8 100644
--- a/avmedia/source/macavf/macavfcommon.hxx
+++ b/avmedia/source/macavf/macavfcommon.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_MACAVF_MACAVFCOMMON_HXX
-#define INCLUDED_AVMEDIA_SOURCE_MACAVF_MACAVFCOMMON_HXX
+#pragma once
#include <premac.h>
#import <Cocoa/Cocoa.h>
@@ -89,6 +88,4 @@ public:
}}
-#endif // INCLUDED_AVMEDIA_SOURCE_MACAVF_MACAVFCOMMON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */