diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index b879872a8bca..71f5cce8aae6 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SKIA_GDIIMPL_HXX -#define INCLUDED_VCL_SKIA_GDIIMPL_HXX +#pragma once #include @@ -436,6 +435,4 @@ inline SkPaint SkiaSalGraphicsImpl::makePixelPaint(std::optional color) c return paint; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx index c42aa30f4654..639436346d61 100644 --- a/vcl/inc/skia/salbmp.hxx +++ b/vcl/inc/skia/salbmp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_SKIA_SALBMP_H -#define INCLUDED_VCL_INC_SKIA_SALBMP_H +#pragma once #include #include @@ -226,6 +225,4 @@ private: #endif }; -#endif // INCLUDED_VCL_INC_SKIA_SALBMP_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/strhelper.hxx b/vcl/inc/strhelper.hxx index 7793418334e1..e8f085864139 100644 --- a/vcl/inc/strhelper.hxx +++ b/vcl/inc/strhelper.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_VCL_STRHELPER_HXX -#define INCLUDED_VCL_STRHELPER_HXX +#pragma once #include #include @@ -49,6 +48,4 @@ namespace psp } // namespace -#endif // INCLUDED_VCL_STRHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/strings.hxx b/vcl/inc/strings.hxx index 45e9b2af4310..b4cf785ffc49 100644 --- a/vcl/inc/strings.hxx +++ b/vcl/inc/strings.hxx @@ -7,11 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_STRINGS_HXX -#define INCLUDED_VCL_INC_STRINGS_HXX +#pragma once #define SV_APP_VCLBACKEND "VCL: " -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/xmloff/source/chart/ColorPropertySet.hxx b/xmloff/source/chart/ColorPropertySet.hxx index d73bf48be0d9..e623c39afde8 100644 --- a/xmloff/source/chart/ColorPropertySet.hxx +++ b/xmloff/source/chart/ColorPropertySet.hxx @@ -16,8 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef XMLOFF_COLORPROPERTYSET_HXX -#define XMLOFF_COLORPROPERTYSET_HXX + +#pragma once #include #include @@ -76,7 +76,5 @@ private: } // namespace xmloff::chart -// XMLOFF_COLORPROPERTYSET_HXX -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */