vcl/source/filter/ixbm/xbmread.hxx | 5 +---- vcl/source/filter/ixpm/rgbtable.hxx | 5 +---- vcl/source/filter/svm/SvmConverter.hxx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-)
New commits: commit b43d4e1d220b333b7eb17e8a7d914e2cab72985f Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Mon Nov 21 19:52:31 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Nov 22 07:47:36 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: I1e542a5fce00e1c07019a828a7f45f1b7d2fe7c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143054 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/vcl/source/filter/ixbm/xbmread.hxx b/vcl/source/filter/ixbm/xbmread.hxx index bee3eadc9406..ce8d3d159d56 100644 --- a/vcl/source/filter/ixbm/xbmread.hxx +++ b/vcl/source/filter/ixbm/xbmread.hxx @@ -17,13 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_IXBM_XBMREAD_HXX -#define INCLUDED_VCL_SOURCE_FILTER_IXBM_XBMREAD_HXX +#pragma once #include <vcl/graph.hxx> VCL_DLLPUBLIC bool ImportXBM(SvStream& rStream, Graphic& rGraphic); -#endif // INCLUDED_VCL_SOURCE_FILTER_IXBM_XBMREAD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/ixpm/rgbtable.hxx b/vcl/source/filter/ixpm/rgbtable.hxx index 1ded061e79db..f8b36ed98a55 100644 --- a/vcl/source/filter/ixpm/rgbtable.hxx +++ b/vcl/source/filter/ixpm/rgbtable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_IXPM_RGBTABLE_HXX -#define INCLUDED_VCL_SOURCE_FILTER_IXPM_RGBTABLE_HXX +#pragma once #include <sal/types.h> @@ -691,6 +690,4 @@ const XPMRGBTab pRGBTable[] = { { nullptr, 0 , 0, 0} }; -#endif // INCLUDED_VCL_SOURCE_FILTER_IXPM_RGBTABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/svm/SvmConverter.hxx b/vcl/source/filter/svm/SvmConverter.hxx index 23185dc04b4b..cde32b31fe90 100644 --- a/vcl/source/filter/svm/SvmConverter.hxx +++ b/vcl/source/filter/svm/SvmConverter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_SVMCONVERTER_HXX -#define INCLUDED_VCL_INC_SVMCONVERTER_HXX +#pragma once #include <vcl/dllapi.h> #include <vcl/gdimtf.hxx> @@ -87,6 +86,4 @@ private: extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportSVM(SvStream& rStream); -#endif // INCLUDED_VCL_INC_SVMCONVERTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */