[Libreoffice-commits] core.git: drawinglayer/inc

Elzem Atay (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 6 18:56:50 UTC 2020


 drawinglayer/inc/converters.hxx    |    5 +----
 drawinglayer/inc/emfplushelper.hxx |    5 +----
 drawinglayer/inc/wmfemfhelper.hxx  |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit ac91b39d5b8f96063fa5a10e50fa2a8a2738012f
Author:     Elzem Atay <elzematay at protonmail.com>
AuthorDate: Sat Jan 4 13:55:09 2020 +0000
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 6 19:56:16 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I9f8637ba0bf34fa2a9f0778db42249775a75636a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86219
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/drawinglayer/inc/converters.hxx b/drawinglayer/inc/converters.hxx
index eaa88f7b2818..acc00f3c4b3c 100644
--- a/drawinglayer/inc/converters.hxx
+++ b/drawinglayer/inc/converters.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DRAWINGLAYER_INC_CONVERTERS_HXX
-#define INCLUDED_DRAWINGLAYER_INC_CONVERTERS_HXX
+#pragma once
 
 #include <vcl/bitmapex.hxx>
 #include <drawinglayer/primitive2d/baseprimitive2d.hxx>
@@ -37,6 +36,4 @@ namespace drawinglayer
 
 } // end of namespace drawinglayer
 
-#endif // INCLUDED_DRAWINGLAYER_INC_CONVERTERS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/inc/emfplushelper.hxx b/drawinglayer/inc/emfplushelper.hxx
index 60bca56fc547..929a0dc46e09 100644
--- a/drawinglayer/inc/emfplushelper.hxx
+++ b/drawinglayer/inc/emfplushelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DRAWINGLAYER_INC_EMFPLUSHELPER_HXX
-#define INCLUDED_DRAWINGLAYER_INC_EMFPLUSHELPER_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <memory>
@@ -50,6 +49,4 @@ namespace emfplushelper
     };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/inc/wmfemfhelper.hxx b/drawinglayer/inc/wmfemfhelper.hxx
index 36e720601b07..ae8b8f16fb1f 100644
--- a/drawinglayer/inc/wmfemfhelper.hxx
+++ b/drawinglayer/inc/wmfemfhelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DRAWINGLAYER_INC_WMFEMFHELPER_HXX
-#define INCLUDED_DRAWINGLAYER_INC_WMFEMFHELPER_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <drawinglayer/primitive2d/baseprimitive2d.hxx>
@@ -220,6 +219,4 @@ namespace wmfemfhelper
         PropertyHolders& rPropertyHolders);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list