include/tools/color.hxx | 5 +---- include/tools/config.hxx | 5 +---- include/tools/date.hxx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-)
New commits: commit 3c4bc6ae412e259525759b67b6e29ccf828dd3d3 Author: Sampath-1984 <[email protected]> AuthorDate: Mon Oct 27 11:06:20 2025 +0530 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Mon Oct 27 19:00:01 2025 +0100 tdf#143148 Replace include guards with pragma once Changed in the following files: - include/tools/color.hxx - include/tools/config.hxx - include/tools/date.hxx Change-Id: I5adb65f4b256eb06616ade246cbda2ab0369c8ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193013 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <[email protected]> diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 16c1a6259f8e..012f294c8f14 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.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_TOOLS_COLOR_HXX -#define INCLUDED_TOOLS_COLOR_HXX +#pragma once #include <sal/types.h> #include <tools/toolsdllapi.h> @@ -485,6 +484,4 @@ namespace color TOOLS_DLLPUBLIC bool createFromString(OString const& rString, Color& rColor); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/tools/config.hxx b/include/tools/config.hxx index 3616d087cfb9..f9b1a93e33b2 100644 --- a/include/tools/config.hxx +++ b/include/tools/config.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_TOOLS_CONFIG_HXX -#define INCLUDED_TOOLS_CONFIG_HXX +#pragma once #include <tools/toolsdllapi.h> #include <rtl/ustring.hxx> @@ -64,6 +63,4 @@ private: Config& operator = ( const Config& rConfig ) = delete; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/tools/date.hxx b/include/tools/date.hxx index db6c1a9e7029..ae31d4246927 100644 --- a/include/tools/date.hxx +++ b/include/tools/date.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_TOOLS_DATE_HXX -#define INCLUDED_TOOLS_DATE_HXX +#pragma once #include <tools/toolsdllapi.h> @@ -247,6 +246,4 @@ public: TOOLS_DLLPUBLIC std::ostream& operator<<(std::ostream& os, const Date& rDate); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
