summaryrefslogtreecommitdiff
path: root/vcl/inc/skia
diff options
context:
space:
mode:
authorHeikki Ilvesmäki <heikki.ilvesmaki@gmail.com>2024-04-05 20:23:33 +0300
committerTaichi Haradaguchi <20001722@ymail.ne.jp>2024-04-06 02:31:36 +0200
commit2c724d88fef38a390744bbe1a4add031c6c62843 (patch)
treec935c08eb779ad134ca0526c1aae475d4abda933 /vcl/inc/skia
parent86842d70e983913002ca0faf35c7288983007a12 (diff)
tdf#143148 use pragma once instead of include guards
Change-Id: I87f971d5c5e61127025e66947f181d6012e20ecb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165825 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r--vcl/inc/skia/x11/gdiimpl.hxx5
-rw-r--r--vcl/inc/skia/x11/salvd.hxx5
-rw-r--r--vcl/inc/skia/x11/textrender.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/vcl/inc/skia/x11/gdiimpl.hxx b/vcl/inc/skia/x11/gdiimpl.hxx
index f7198671b4d6..849e81d9858b 100644
--- a/vcl/inc/skia/x11/gdiimpl.hxx
+++ b/vcl/inc/skia/x11/gdiimpl.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_INC_SKIA_X11_GDIIMPL_HXX
-#define INCLUDED_VCL_INC_SKIA_X11_GDIIMPL_HXX
+#pragma once
#include <vcl/dllapi.h>
@@ -40,6 +39,4 @@ private:
friend std::unique_ptr<sk_app::WindowContext> createVulkanWindowContext(bool);
};
-#endif // INCLUDED_VCL_INC_SKIA_X11_GDIIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/skia/x11/salvd.hxx b/vcl/inc/skia/x11/salvd.hxx
index 137a58ae6790..9dc952350f7b 100644
--- a/vcl/inc/skia/x11/salvd.hxx
+++ b/vcl/inc/skia/x11/salvd.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_INC_SKIA_X11_SALVD_H
-#define INCLUDED_VCL_INC_SKIA_X11_SALVD_H
+#pragma once
#include <salvd.hxx>
#include <unx/saldisp.hxx>
@@ -43,6 +42,4 @@ public:
virtual bool SetSize(tools::Long nNewDX, tools::Long nNewDY) override;
};
-#endif // INCLUDED_VCL_INC_SKIA_X11_SALVD_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/skia/x11/textrender.hxx b/vcl/inc/skia/x11/textrender.hxx
index 623e229e8e33..aacd8a6c7b70 100644
--- a/vcl/inc/skia/x11/textrender.hxx
+++ b/vcl/inc/skia/x11/textrender.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_SKIA_TEXTRENDER_HXX
-#define INCLUDED_VCL_INC_SKIA_TEXTRENDER_HXX
+#pragma once
#include <unx/freetypetextrender.hxx>
@@ -34,6 +33,4 @@ private:
static inline sk_sp<SkFontMgr> fontManager;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */