canvas/inc/base/canvascustomspritebase.hxx       |    5 +----
 canvas/source/cairo/cairo_cachedbitmap.hxx       |    5 +----
 canvas/source/cairo/cairo_canvas.hxx             |    5 +----
 canvas/source/cairo/cairo_canvasbitmap.hxx       |    5 +----
 canvas/source/cairo/cairo_canvascustomsprite.hxx |    5 +----
 canvas/source/cairo/cairo_canvasfont.hxx         |    5 +----
 canvas/source/cairo/cairo_canvashelper.hxx       |    5 +----
 7 files changed, 7 insertions(+), 28 deletions(-)

New commits:
commit 574e3ddae11a4fa3965bbf8ddf6352f63b41d341
Author:     gokaysatir <gokaysa...@gmail.com>
AuthorDate: Mon Mar 23 16:08:52 2020 +0300
Commit:     Muhammet Kara <muhammet.k...@collabora.com>
CommitDate: Mon Mar 23 21:28:29 2020 +0100

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

diff --git a/canvas/inc/base/canvascustomspritebase.hxx 
b/canvas/inc/base/canvascustomspritebase.hxx
index 936ed220dbd6..c47f232e0301 100644
--- a/canvas/inc/base/canvascustomspritebase.hxx
+++ b/canvas/inc/base/canvascustomspritebase.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_BASE_CANVASCUSTOMSPRITEBASE_HXX
-#define INCLUDED_CANVAS_BASE_CANVASCUSTOMSPRITEBASE_HXX
+#pragma once
 
 #include <com/sun/star/rendering/XCanvas.hpp>
 
@@ -259,6 +258,4 @@ namespace canvas
     };
 }
 
-#endif // INCLUDED_CANVAS_BASE_CANVASCUSTOMSPRITEBASE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_cachedbitmap.hxx 
b/canvas/source/cairo/cairo_cachedbitmap.hxx
index bc406638dd57..0af07c07a6c8 100644
--- a/canvas/source/cairo/cairo_cachedbitmap.hxx
+++ b/canvas/source/cairo/cairo_cachedbitmap.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CACHEDBITMAP_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CACHEDBITMAP_HXX
+#pragma once
 
 #include <base/cachedprimitivebase.hxx>
 #include <com/sun/star/rendering/RenderState.hpp>
@@ -56,6 +55,4 @@ namespace cairocanvas
     };
 }
 
-#endif // INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CACHEDBITMAP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_canvas.hxx 
b/canvas/source/cairo/cairo_canvas.hxx
index b576da8542fc..581f23dac2b9 100644
--- a/canvas/source/cairo/cairo_canvas.hxx
+++ b/canvas/source/cairo/cairo_canvas.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVAS_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVAS_HXX
+#pragma once
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
@@ -136,6 +135,4 @@ namespace cairocanvas
     };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_canvasbitmap.hxx 
b/canvas/source/cairo/cairo_canvasbitmap.hxx
index 54cda90789fb..72a22ca0cfe3 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.hxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASBITMAP_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASBITMAP_HXX
+#pragma once
 
 #include <cppuhelper/compbase.hxx>
 
@@ -124,6 +123,4 @@ namespace cairocanvas
     };
 }
 
-#endif // INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASBITMAP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_canvascustomsprite.hxx 
b/canvas/source/cairo/cairo_canvascustomsprite.hxx
index 300f016464d8..ffe766ab0966 100644
--- a/canvas/source/cairo/cairo_canvascustomsprite.hxx
+++ b/canvas/source/cairo/cairo_canvascustomsprite.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASCUSTOMSPRITE_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASCUSTOMSPRITE_HXX
+#pragma once
 
 #include <cppuhelper/compbase.hxx>
 #include <comphelper/uno3.hxx>
@@ -143,6 +142,4 @@ namespace cairocanvas
     };
 }
 
-#endif // INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASCUSTOMSPRITE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_canvasfont.hxx 
b/canvas/source/cairo/cairo_canvasfont.hxx
index 59fca1286c3f..0c26bee66b72 100644
--- a/canvas/source/cairo/cairo_canvasfont.hxx
+++ b/canvas/source/cairo/cairo_canvasfont.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASFONT_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASFONT_HXX
+#pragma once
 
 #include <cppuhelper/compbase.hxx>
 #include <cppuhelper/basemutex.hxx>
@@ -81,6 +80,4 @@ namespace cairocanvas
 
 }
 
-#endif // INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASFONT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/cairo/cairo_canvashelper.hxx 
b/canvas/source/cairo/cairo_canvashelper.hxx
index 645be63f1a80..d540aba7d933 100644
--- a/canvas/source/cairo/cairo_canvashelper.hxx
+++ b/canvas/source/cairo/cairo_canvashelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASHELPER_HXX
-#define INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASHELPER_HXX
+#pragma once
 
 #include <com/sun/star/geometry/IntegerPoint2D.hpp>
 #include <com/sun/star/geometry/IntegerRectangle2D.hpp>
@@ -272,6 +271,4 @@ namespace cairocanvas
                                       css::rendering::FillRule eFillrule );
 }
 
-#endif // INCLUDED_CANVAS_SOURCE_CAIRO_CAIRO_CANVASHELPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to