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

Mohamed Sameh (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 16 19:51:23 UTC 2020


 avmedia/source/macavf/manager.hxx         |    5 +----
 avmedia/source/macavf/player.hxx          |    5 +----
 avmedia/source/macavf/window.hxx          |    5 +----
 avmedia/source/viewer/mediaevent_impl.hxx |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit 3f515b85e08872f1239e599c708fec6fe09a7b3a
Author:     Mohamed Sameh <mohamedsamehkhalil at gmail.com>
AuthorDate: Fri Feb 14 03:55:26 2020 -0500
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Feb 16 20:50:48 2020 +0100

    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 at collabora.com>

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: */


More information about the Libreoffice-commits mailing list