diff options
author | Abraham Samuel Adekunle <abrahamadekunle50@gmail.com> | 2024-10-12 15:21:43 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-10-13 20:55:50 +0200 |
commit | 3287deb82ef0ee2048f733ae981961f527888727 (patch) | |
tree | 6b67455b4fdb7e47f1689a41cae506668092e733 /include/basic | |
parent | 0e70c14134e899d3abb443761fe9f6a7249f724a (diff) |
tdf#143148 Use pragma once instead of include guards
Change-Id: I70338b85b9c0205a7dd2349d10c621ceddacb176
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174849
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/basicdllapi.h | 5 | ||||
-rw-r--r-- | include/basic/basicmanagerrepository.hxx | 7 | ||||
-rw-r--r-- | include/basic/basrdll.hxx | 6 | ||||
-rw-r--r-- | include/basic/codecompletecache.hxx | 6 | ||||
-rw-r--r-- | include/basic/modsizeexceeded.hxx | 6 | ||||
-rw-r--r-- | include/basic/sbdef.hxx | 6 |
6 files changed, 6 insertions, 30 deletions
diff --git a/include/basic/basicdllapi.h b/include/basic/basicdllapi.h index 90b1f786166c..86f7e086abc6 100644 --- a/include/basic/basicdllapi.h +++ b/include/basic/basicdllapi.h @@ -6,8 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_BASIC_BASICDLLAPI_H -#define INCLUDED_BASIC_BASICDLLAPI_H +#pragma once #include <sal/types.h> @@ -18,6 +17,4 @@ #endif #define BASIC_DLLPRIVATE SAL_DLLPRIVATE -#endif // INCLUDED_BASIC_BASICDLLAPI_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/basicmanagerrepository.hxx b/include/basic/basicmanagerrepository.hxx index 40025784b0ed..13620e509ba3 100644 --- a/include/basic/basicmanagerrepository.hxx +++ b/include/basic/basicmanagerrepository.hxx @@ -16,9 +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_BASIC_BASICMANAGERREPOSITORY_HXX -#define INCLUDED_BASIC_BASICMANAGERREPOSITORY_HXX +#pragma once #include <config_options.h> #include <basic/basicdllapi.h> @@ -133,7 +131,4 @@ namespace basic } // namespace basic - -#endif // INCLUDED_BASIC_BASICMANAGERREPOSITORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/basrdll.hxx b/include/basic/basrdll.hxx index 2748bf3fd37c..a0387414bb58 100644 --- a/include/basic/basrdll.hxx +++ b/include/basic/basrdll.hxx @@ -16,9 +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_BASIC_BASRDLL_HXX -#define INCLUDED_BASIC_BASRDLL_HXX +#pragma once #include <basic/basicdllapi.h> #include <tools/ref.hxx> @@ -38,6 +36,4 @@ public: static void SetDebugMode(bool bDebugMode); }; -#endif // INCLUDED_BASIC_BASRDLL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/codecompletecache.hxx b/include/basic/codecompletecache.hxx index 2c6c0873fcb0..c21a40825ad0 100644 --- a/include/basic/codecompletecache.hxx +++ b/include/basic/codecompletecache.hxx @@ -16,9 +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_BASIC_CODECOMPLETECACHE_HXX -#define INCLUDED_BASIC_CODECOMPLETECACHE_HXX +#pragma once #include <config_options.h> #include <basic/basicdllapi.h> @@ -88,6 +86,4 @@ public: void Clear(); }; -#endif // INCLUDED_BASIC_CODECOMPLETECACHE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/modsizeexceeded.hxx b/include/basic/modsizeexceeded.hxx index e2a32f954257..ff4296ac89a1 100644 --- a/include/basic/modsizeexceeded.hxx +++ b/include/basic/modsizeexceeded.hxx @@ -16,9 +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_BASIC_MODSIZEEXCEEDED_HXX -#define INCLUDED_BASIC_MODSIZEEXCEEDED_HXX +#pragma once #include <config_options.h> #include <com/sun/star/task/XInteractionRequest.hpp> @@ -62,6 +60,4 @@ private: rtl::Reference< comphelper::OInteractionApprove> m_xApprove; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/sbdef.hxx b/include/basic/sbdef.hxx index d864ed8de7b2..0fe4ce52b686 100644 --- a/include/basic/sbdef.hxx +++ b/include/basic/sbdef.hxx @@ -16,9 +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_BASIC_SBDEF_HXX -#define INCLUDED_BASIC_SBDEF_HXX +#pragma once #include <basic/sbxdef.hxx> #include <rtl/ustring.hxx> @@ -74,6 +72,4 @@ BASIC_DLLPUBLIC extern std::pair<TranslateId, ErrCode> const RID_BASIC_START[]; BASIC_DLLPUBLIC std::locale BasResLocale(); OUString BasResId(TranslateId pId); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |