summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuukka Orava <tuukka.orava@outlook.com>2024-02-05 13:13:56 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-02-05 18:28:26 +0100
commitef6212158d8308d60d3edb6c87117958758436e2 (patch)
tree13cdfcab76390fae8ee82e1823f517c9dea9610f
parentf0d6b3e727448abb4428587bdf9b9c839b28e6f4 (diff)
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 <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--vcl/inc/graphic/GraphicFormatDetector.hxx5
-rw-r--r--vcl/inc/graphic/Manager.hxx5
-rw-r--r--vcl/inc/graphic/UnoGraphic.hxx5
-rw-r--r--vcl/inc/graphic/UnoGraphicDescriptor.hxx5
4 files changed, 4 insertions, 16 deletions
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: */