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>
This commit is contained in:
Heikki Ilvesmäki 2024-04-05 20:23:33 +03:00 committed by Taichi Haradaguchi
parent 86842d70e9
commit 2c724d88fe
3 changed files with 3 additions and 12 deletions

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */