summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit_Jaipuriar <ankitjaipuriar07@gmail.com>2023-09-22 09:23:21 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-09-23 19:56:37 +0200
commit18bc7b514c31270af37e98a0183eb34ed7970265 (patch)
tree4f91d05ef08667fe2108f4fcff71678e1dfa50df
parentc81a6071536a07734dec2cc36384f583e70c9b5f (diff)
tdf#143148: Use pragma once instead of include guards
Change-Id: Ied9c8342cdfa44d6a468a39acbb577af79ef1e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157164 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--include/codemaker/commoncpp.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/codemaker/commoncpp.hxx b/include/codemaker/commoncpp.hxx
index 9c55fcc6a5d5..629941044dde 100644
--- a/include/codemaker/commoncpp.hxx
+++ b/include/codemaker/commoncpp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CODEMAKER_COMMONCPP_HXX
-#define INCLUDED_CODEMAKER_COMMONCPP_HXX
+#pragma once
#include <sal/config.h>
@@ -56,9 +55,6 @@ rtl::OString translateUnoToCppIdentifier(
rtl::OString const & identifier, std::string_view prefix,
IdentifierTranslationMode transmode = IdentifierTranslationMode::Global,
rtl::OString const * forbidden = nullptr);
-
}
-#endif // INCLUDED_CODEMAKER_COMMONCPP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */