vcl/source/filter/idxf/dxfgrprd.hxx | 6 +----- vcl/source/filter/idxf/dxfreprd.hxx | 6 +----- vcl/source/filter/idxf/dxftblrd.hxx | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-)
New commits: commit abe269d3f9ca01bb1151d3ef8c20bcfa6530c65c Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Mon Nov 21 20:00:09 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Nov 22 10:22:17 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: Id18265f8d6470870730ffdc9ad879ef99f120aae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143056 Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/vcl/source/filter/idxf/dxfgrprd.hxx b/vcl/source/filter/idxf/dxfgrprd.hxx index 4d20ae2bff0f..6bf3d38a099f 100644 --- a/vcl/source/filter/idxf/dxfgrprd.hxx +++ b/vcl/source/filter/idxf/dxfgrprd.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFGRPRD_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFGRPRD_HXX +#pragma once #include <rtl/string.hxx> #include <sal/types.h> @@ -109,7 +108,4 @@ inline const OString& DXFGroupReader::GetS() const return S; } -#endif - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/idxf/dxfreprd.hxx b/vcl/source/filter/idxf/dxfreprd.hxx index e9c6bc6530a8..734193fcec84 100644 --- a/vcl/source/filter/idxf/dxfreprd.hxx +++ b/vcl/source/filter/idxf/dxfreprd.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFREPRD_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFREPRD_HXX +#pragma once #include "dxfblkrd.hxx" #include "dxftblrd.hxx" @@ -123,7 +122,4 @@ inline sal_uInt8 DXFPalette::GetRed(sal_uInt8 nIndex) const { return pRed[nIndex inline sal_uInt8 DXFPalette::GetGreen(sal_uInt8 nIndex) const { return pGreen[nIndex]; } inline sal_uInt8 DXFPalette::GetBlue(sal_uInt8 nIndex) const { return pBlue[nIndex]; } -#endif - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/idxf/dxftblrd.hxx b/vcl/source/filter/idxf/dxftblrd.hxx index f60c0461e2a7..9e0f83f3ed56 100644 --- a/vcl/source/filter/idxf/dxftblrd.hxx +++ b/vcl/source/filter/idxf/dxftblrd.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFTBLRD_HXX -#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFTBLRD_HXX +#pragma once #include <sal/config.h> @@ -169,7 +168,4 @@ public: }; -#endif - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */