summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorUday Sharma <itsudayy@gmail.com>2023-02-11 23:04:38 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-03-16 09:25:32 +0000
commit0d8d0fb8932652f182c46805d5cf3ae7f6ebadd5 (patch)
treebed8bf4755e21466e23bb3585819349c088f77d7 /configmgr
parentc7aee57724828c4b9d67deb930f09c494ff4d811 (diff)
tdf#143148: Use pragma once instead of include guards
Change-Id: I6898acbf7c6c9de45bbfa6a32202acf302f92caa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146822 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/config_map.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/configmgr/source/config_map.hxx b/configmgr/source/config_map.hxx
index 5d2990d5a0d8..46a553cdde39 100644
--- a/configmgr/source/config_map.hxx
+++ b/configmgr/source/config_map.hxx
@@ -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 CONFIG_MAP_HXX
-#define CONFIG_MAP_HXX
+#pragma once
#include <map>
#include <rtl/ustring.hxx>
@@ -32,6 +31,4 @@ template <class T> struct config_map : public std::map<OUString, T, LengthConten
{
};
-#endif // CONFIG_MAP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */