vcl/inc/graphic/GraphicFormatDetector.hxx |    5 +----
 vcl/inc/graphic/Manager.hxx               |    5 +----
 vcl/inc/graphic/UnoGraphic.hxx            |    5 +----
 vcl/inc/graphic/UnoGraphicDescriptor.hxx  |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit ef6212158d8308d60d3edb6c87117958758436e2
Author:     Tuukka Orava <[email protected]>
AuthorDate: Mon Feb 5 13:13:56 2024 +0200
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Mon Feb 5 18:28:26 2024 +0100

    tdf#143148 Use pragma once in vcl/inc/graphic
    
    Change-Id: Id88d0c64f02d9a0ca111de3d08e3d542dfba2a1c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162997
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <[email protected]>
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git a/vcl/inc/graphic/GraphicFormatDetector.hxx 
b/vcl/inc/graphic/GraphicFormatDetector.hxx
index d6791e377fc1..24ffcab18b7a 100644
--- a/vcl/inc/graphic/GraphicFormatDetector.hxx
+++ b/vcl/inc/graphic/GraphicFormatDetector.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX
-#define INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX
+#pragma once
 
 #include <tools/stream.hxx>
 #include <vector>
@@ -203,6 +202,4 @@ private:
 };
 }
 
-#endif // INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/graphic/Manager.hxx b/vcl/inc/graphic/Manager.hxx
index 65e92146491c..d239f6a8b01d 100644
--- a/vcl/inc/graphic/Manager.hxx
+++ b/vcl/inc/graphic/Manager.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX
-#define INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <rtl/strbuf.hxx>
@@ -76,6 +75,4 @@ public:
 
 } // end namespace vcl::graphic
 
-#endif // INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx
index ce060c98f40c..94fcb361dcd1 100644
--- a/vcl/inc/graphic/UnoGraphic.hxx
+++ b/vcl/inc/graphic/UnoGraphic.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX
-#define INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX
+#pragma once
 
 #include <com/sun/star/graphic/XGraphic.hpp>
 #include <com/sun/star/awt/XBitmap.hpp>
@@ -84,6 +83,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/graphic/UnoGraphicDescriptor.hxx 
b/vcl/inc/graphic/UnoGraphicDescriptor.hxx
index 2adc19dac059..3631c504fa92 100644
--- a/vcl/inc/graphic/UnoGraphicDescriptor.hxx
+++ b/vcl/inc/graphic/UnoGraphicDescriptor.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX
-#define INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX
+#pragma once
 
 #include <comphelper/propertysethelper.hxx>
 #include <com/sun/star/lang/XServiceInfo.hpp>
@@ -114,6 +113,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to