include/framework/addonsoptions.hxx | 6 ++---- include/framework/configimporter.hxx | 5 +---- include/framework/dispatchhelper.hxx | 5 +---- include/framework/documentundoguard.hxx | 5 +---- include/framework/imutex.hxx | 5 +---- include/framework/titlehelper.hxx | 5 +---- include/framework/undomanagerhelper.hxx | 5 +---- 7 files changed, 8 insertions(+), 28 deletions(-)
New commits: commit da79780f4394cb81d5672d698b5c2b5d8277b345 Author: Simon Chenery <[email protected]> AuthorDate: Mon Aug 25 20:31:02 2025 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Fri Oct 3 10:49:05 2025 +0200 tdf#143148 replace include guards with pragma once in dir include/framework Change-Id: I9e4c1033ea6624d8fe9861968402d6a3e756c966 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190190 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/include/framework/addonsoptions.hxx b/include/framework/addonsoptions.hxx index 45540c8b2fc2..11713e007ac3 100644 --- a/include/framework/addonsoptions.hxx +++ b/include/framework/addonsoptions.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 INCLUDED_FRAMEWORK_ADDONSOPTIONS_HXX -#define INCLUDED_FRAMEWORK_ADDONSOPTIONS_HXX + +#pragma once #include <config_options.h> #include <sal/types.h> @@ -259,6 +259,4 @@ class UNLESS_MERGELIBS(FWK_DLLPUBLIC) AddonsOptions } -#endif // INCLUDED_FRAMEWORK_ADDONSOPTIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/configimporter.hxx b/include/framework/configimporter.hxx index eca31271922c..cf54d6cc8f85 100644 --- a/include/framework/configimporter.hxx +++ b/include/framework/configimporter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_CONFIGIMPORTER_HXX -#define INCLUDED_FRAMEWORK_CONFIGIMPORTER_HXX +#pragma once #include <config_options.h> #include <framework/fwkdllapi.h> @@ -44,6 +43,4 @@ namespace framework } // namespace framework -#endif // INCLUDED_FRAMEWORK_CONFIGIMPORTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/dispatchhelper.hxx b/include/framework/dispatchhelper.hxx index e25ff291def4..2121df9e2b0c 100644 --- a/include/framework/dispatchhelper.hxx +++ b/include/framework/dispatchhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCHHELPER_HXX -#define INCLUDED_FRAMEWORK_INC_SERVICES_DISPATCHHELPER_HXX +#pragma once #include <config_options.h> #include <com/sun/star/frame/XDispatchHelper.hpp> @@ -98,6 +97,4 @@ public: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/documentundoguard.hxx b/include/framework/documentundoguard.hxx index c0cf232e7f28..9d7206ba421a 100644 --- a/include/framework/documentundoguard.hxx +++ b/include/framework/documentundoguard.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_DOCUMENTUNDOGUARD_HXX -#define INCLUDED_FRAMEWORK_DOCUMENTUNDOGUARD_HXX +#pragma once #include <framework/fwkdllapi.h> #include <com/sun/star/uno/Reference.hxx> @@ -57,6 +56,4 @@ namespace framework } // namespace framework -#endif // INCLUDED_FRAMEWORK_DOCUMENTUNDOGUARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/imutex.hxx b/include/framework/imutex.hxx index 4b4668f8ee04..d3a1372f6aa5 100644 --- a/include/framework/imutex.hxx +++ b/include/framework/imutex.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_IMUTEX_HXX -#define INCLUDED_FRAMEWORK_IMUTEX_HXX +#pragma once #include <sal/types.h> @@ -38,6 +37,4 @@ class SAL_NO_VTABLE IMutex }; } -#endif // INCLUDED_FRAMEWORK_IMUTEX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/titlehelper.hxx b/include/framework/titlehelper.hxx index c87111064f0d..d9c8590834cc 100644 --- a/include/framework/titlehelper.hxx +++ b/include/framework/titlehelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_TITLEHELPER_HXX -#define INCLUDED_FRAMEWORK_TITLEHELPER_HXX +#pragma once #include <config_options.h> #include <com/sun/star/uno/Reference.hxx> @@ -176,6 +175,4 @@ class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) TitleHelper final : } // namespace framework -#endif // INCLUDED_FRAMEWORK_TITLEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/framework/undomanagerhelper.hxx b/include/framework/undomanagerhelper.hxx index c1d142e49aba..5f71279a9675 100644 --- a/include/framework/undomanagerhelper.hxx +++ b/include/framework/undomanagerhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_UNDOMANAGERHELPER_HXX -#define INCLUDED_FRAMEWORK_UNDOMANAGERHELPER_HXX +#pragma once #include <config_options.h> #include <framework/fwkdllapi.h> @@ -158,6 +157,4 @@ namespace framework } // namespace framework -#endif // INCLUDED_FRAMEWORK_UNDOMANAGERHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
