vcl/source/filter/idxf/dxfvec.hxx  |    6 +-----
 vcl/source/filter/igif/gifread.hxx |    5 +----
 vcl/source/filter/ipict/shape.hxx  |    5 +----
 3 files changed, 3 insertions(+), 13 deletions(-)

New commits:
commit 39490a5a07db543f681fcd6e59083d5c72dc9927
Author:     Bogdan B <buzea.bog...@libreoffice.org>
AuthorDate: Mon Nov 21 19:56:35 2022 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Nov 22 07:47:16 2022 +0100

    tdf#143148 Use pragma once instead of include guards
    
    Change-Id: I20add5a23520c54425174959b4757720639413e6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143055
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/vcl/source/filter/idxf/dxfvec.hxx 
b/vcl/source/filter/idxf/dxfvec.hxx
index 59b6babc2965..2aed6ef0ddf8 100644
--- a/vcl/source/filter/idxf/dxfvec.hxx
+++ b/vcl/source/filter/idxf/dxfvec.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFVEC_HXX
-#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFVEC_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <vcl/lineinfo.hxx>
@@ -212,7 +211,4 @@ inline bool DXFVector::operator == (const DXFVector & rV) 
const
     else return false;
 }
 
-
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/filter/igif/gifread.hxx 
b/vcl/source/filter/igif/gifread.hxx
index de9a506f24b9..642921fd0afd 100644
--- a/vcl/source/filter/igif/gifread.hxx
+++ b/vcl/source/filter/igif/gifread.hxx
@@ -17,14 +17,11 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_SOURCE_FILTER_IGIF_GIFREAD_HXX
-#define INCLUDED_VCL_SOURCE_FILTER_IGIF_GIFREAD_HXX
+#pragma once
 
 #include <vcl/graph.hxx>
 
 VCL_DLLPUBLIC bool ImportGIF(SvStream& rStream, Graphic& rGraphic);
 bool IsGIFAnimated(SvStream& rStream, Size& rLogicSize);
 
-#endif // INCLUDED_VCL_SOURCE_FILTER_IGIF_GIFREAD_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/filter/ipict/shape.hxx 
b/vcl/source/filter/ipict/shape.hxx
index bccd39e63c26..446d564e9590 100644
--- a/vcl/source/filter/ipict/shape.hxx
+++ b/vcl/source/filter/ipict/shape.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
-#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
+#pragma once
 
 #include <vcl/virdev.hxx>
 
@@ -52,6 +51,4 @@ void drawPolygon(VirtualDevice *dev, bool drawFrame, 
tools::Polygon const &rect,
   void drawArc(VirtualDevice *dev, bool drawFrame, tools::Rectangle const 
&orig, const double& angle1, const double& angle2, Size const &pSize);
 }
 
-#endif // INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to