summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorMohamed Sameh <mohamedsamehkhalil@gmail.com>2020-02-14 03:55:26 -0500
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 20:50:48 +0100
commit3f515b85e08872f1239e599c708fec6fe09a7b3a (patch)
tree4d0575ca2ea1a3c60ee4035fb038632f7d33c8d6 /avmedia
parent7fddb9a1f69a1bac676ad48421256a1ba0274c83 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: If4e891742a59eb975be8353510dad71cadc546e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88671 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/manager.hxx5
-rw-r--r--avmedia/source/macavf/player.hxx5
-rw-r--r--avmedia/source/macavf/window.hxx5
-rw-r--r--avmedia/source/viewer/mediaevent_impl.hxx5
4 files changed, 4 insertions, 16 deletions
diff --git a/avmedia/source/macavf/manager.hxx b/avmedia/source/macavf/manager.hxx
index 9f8f6da2f59d..2320e8bb4656 100644
--- a/avmedia/source/macavf/manager.hxx
+++ b/avmedia/source/macavf/manager.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_MACAVF_MANAGER_HXX
-#define INCLUDED_AVMEDIA_SOURCE_MACAVF_MANAGER_HXX
+#pragma once
#include "macavfcommon.hxx"
#include <cppuhelper/implbase.hxx>
@@ -51,6 +50,4 @@ private:
} // namespace macavf
} // namespace avmedia
-#endif // INCLUDED_AVMEDIA_SOURCE_MACAVF_MANAGER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/macavf/player.hxx b/avmedia/source/macavf/player.hxx
index 99b79b843459..22867b1af20f 100644
--- a/avmedia/source/macavf/player.hxx
+++ b/avmedia/source/macavf/player.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_MACAVF_PLAYER_HXX
-#define INCLUDED_AVMEDIA_SOURCE_MACAVF_PLAYER_HXX
+#pragma once
#include <osl/conditn.h>
#include "macavfcommon.hxx"
@@ -83,6 +82,4 @@ private:
} // namespace macavf
} // namespace avmedia
-#endif // INCLUDED_AVMEDIA_SOURCE_MACAVF_PLAYER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/macavf/window.hxx b/avmedia/source/macavf/window.hxx
index d8d1f71b3772..9f078cdd9b31 100644
--- a/avmedia/source/macavf/window.hxx
+++ b/avmedia/source/macavf/window.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_MACAVF_WINDOW_HXX
-#define INCLUDED_AVMEDIA_SOURCE_MACAVF_WINDOW_HXX
+#pragma once
#include "macavfcommon.hxx"
#include <cppuhelper/implbase.hxx>
@@ -110,6 +109,4 @@ private:
} // namespace macavf
} // namespace avmedia
-#endif // INCLUDED_AVMEDIA_SOURCE_MACAVF_WINDOW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/avmedia/source/viewer/mediaevent_impl.hxx b/avmedia/source/viewer/mediaevent_impl.hxx
index f98279833333..9c864ecff29d 100644
--- a/avmedia/source/viewer/mediaevent_impl.hxx
+++ b/avmedia/source/viewer/mediaevent_impl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_AVMEDIA_SOURCE_VIEWER_MEDIAEVENT_IMPL_HXX
-#define INCLUDED_AVMEDIA_SOURCE_VIEWER_MEDIAEVENT_IMPL_HXX
+#pragma once
#include <avmedia/mediawindow.hxx>
#include <cppuhelper/implbase.hxx>
@@ -76,6 +75,4 @@ namespace avmedia
}
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */