summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-08-06 14:36:13 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-04 09:01:02 +0200
commit6efb746a8cf876ef00d97aa8bd8f2f4ef9cabcfd (patch)
tree84bce727657e7475fd35718a12ef58049df8fe83 /configmgr
parent505795db3fa8cd5bb9868ff99f9a8cdf268f4c0b (diff)
tdf#124176 Use #pragma once in configmgr
This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: Ide38653f1828752b90d7e312471c9facb99646a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100252 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/access.hxx5
-rw-r--r--configmgr/source/additions.hxx5
-rw-r--r--configmgr/source/broadcaster.hxx5
-rw-r--r--configmgr/source/childaccess.hxx5
-rw-r--r--configmgr/source/components.hxx5
-rw-r--r--configmgr/source/configurationprovider.hxx5
-rw-r--r--configmgr/source/data.hxx5
-rw-r--r--configmgr/source/dconf.hxx5
-rw-r--r--configmgr/source/defaultprovider.hxx5
-rw-r--r--configmgr/source/groupnode.hxx5
-rw-r--r--configmgr/source/localizedpropertynode.hxx5
-rw-r--r--configmgr/source/localizedvaluenode.hxx5
-rw-r--r--configmgr/source/lock.hxx5
-rw-r--r--configmgr/source/modifications.hxx5
-rw-r--r--configmgr/source/node.hxx5
-rw-r--r--configmgr/source/nodemap.hxx5
-rw-r--r--configmgr/source/parsemanager.hxx5
-rw-r--r--configmgr/source/parser.hxx5
-rw-r--r--configmgr/source/partial.hxx5
-rw-r--r--configmgr/source/propertynode.hxx5
-rw-r--r--configmgr/source/rootaccess.hxx5
-rw-r--r--configmgr/source/rootnode.hxx5
-rw-r--r--configmgr/source/setnode.hxx5
-rw-r--r--configmgr/source/type.hxx5
-rw-r--r--configmgr/source/valueparser.hxx5
-rw-r--r--configmgr/source/writemodfile.hxx5
-rw-r--r--configmgr/source/xcdparser.hxx5
-rw-r--r--configmgr/source/xcsparser.hxx5
-rw-r--r--configmgr/source/xcuparser.hxx5
-rw-r--r--configmgr/source/xmldata.hxx5
30 files changed, 30 insertions, 120 deletions
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index 910df97a50bc..a6c0be563f85 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_ACCESS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_ACCESS_HXX
+#pragma once
#include <sal/config.h>
@@ -448,6 +447,4 @@ protected:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/additions.hxx b/configmgr/source/additions.hxx
index 9a82252b9ffc..6dedf1b5303e 100644
--- a/configmgr/source/additions.hxx
+++ b/configmgr/source/additions.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_ADDITIONS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_ADDITIONS_HXX
+#pragma once
#include <sal/config.h>
@@ -32,6 +31,4 @@ typedef std::vector< std::vector<OUString> > Additions;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/broadcaster.hxx b/configmgr/source/broadcaster.hxx
index 40778979ac1a..6c4943f5526e 100644
--- a/configmgr/source/broadcaster.hxx
+++ b/configmgr/source/broadcaster.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_BROADCASTER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_BROADCASTER_HXX
+#pragma once
#include <sal/config.h>
@@ -137,6 +136,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx
index bbf4e25e7755..3742dff3f969 100644
--- a/configmgr/source/childaccess.hxx
+++ b/configmgr/source/childaccess.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_CHILDACCESS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_CHILDACCESS_HXX
+#pragma once
#include <sal/config.h>
@@ -134,6 +133,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/components.hxx b/configmgr/source/components.hxx
index 014c5c7f6b62..5062ab36a15d 100644
--- a/configmgr/source/components.hxx
+++ b/configmgr/source/components.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_COMPONENTS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_COMPONENTS_HXX
+#pragma once
#include <sal/config.h>
@@ -163,6 +162,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/configurationprovider.hxx b/configmgr/source/configurationprovider.hxx
index ffd7f6133185..278a82bd3bfb 100644
--- a/configmgr/source/configurationprovider.hxx
+++ b/configmgr/source/configurationprovider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_CONFIGURATIONPROVIDER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_CONFIGURATIONPROVIDER_HXX
+#pragma once
#include <sal/config.h>
@@ -40,6 +39,4 @@ css::uno::Reference< css::uno::XInterface > createDefault(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/data.hxx b/configmgr/source/data.hxx
index 315fe7b9bf47..fbb96b391eb8 100644
--- a/configmgr/source/data.hxx
+++ b/configmgr/source/data.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_DATA_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_DATA_HXX
+#pragma once
#include <sal/config.h>
@@ -97,6 +96,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/dconf.hxx b/configmgr/source/dconf.hxx
index aee033cf50e3..9fa51247c2e2 100644
--- a/configmgr/source/dconf.hxx
+++ b/configmgr/source/dconf.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_DCONF_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_DCONF_HXX
+#pragma once
#include <sal/config.h>
@@ -25,6 +24,4 @@ void writeModifications(Components & components, Data & data);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/defaultprovider.hxx b/configmgr/source/defaultprovider.hxx
index 2a1e1d1ae332..a07098a65bc0 100644
--- a/configmgr/source/defaultprovider.hxx
+++ b/configmgr/source/defaultprovider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_DEFAULTPROVIDER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_DEFAULTPROVIDER_HXX
+#pragma once
#include <sal/config.h>
@@ -34,6 +33,4 @@ getSupportedServiceNames();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx
index c889f807df59..6d1f300817cd 100644
--- a/configmgr/source/groupnode.hxx
+++ b/configmgr/source/groupnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_GROUPNODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_GROUPNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -62,6 +61,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx
index 35b67d2345bf..1da1d3b66e52 100644
--- a/configmgr/source/localizedpropertynode.hxx
+++ b/configmgr/source/localizedpropertynode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDPROPERTYNODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDPROPERTYNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -59,6 +58,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx
index 7a23ac1c0928..55ad0979eae5 100644
--- a/configmgr/source/localizedvaluenode.hxx
+++ b/configmgr/source/localizedvaluenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDVALUENODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_LOCALIZEDVALUENODE_HXX
+#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/lock.hxx b/configmgr/source/lock.hxx
index ee98efcc365f..e100a4648e79 100644
--- a/configmgr/source/lock.hxx
+++ b/configmgr/source/lock.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_LOCK_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_LOCK_HXX
+#pragma once
#include <sal/config.h>
#include <osl/mutex.hxx>
@@ -30,6 +29,4 @@ std::shared_ptr<osl::Mutex> const & lock();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx
index ac33049ae6e1..0bc3ebb499f0 100644
--- a/configmgr/source/modifications.hxx
+++ b/configmgr/source/modifications.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_MODIFICATIONS_HXX
+#pragma once
#include <sal/config.h>
@@ -64,6 +63,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx
index afb922500458..b858c9e42e95 100644
--- a/configmgr/source/node.hxx
+++ b/configmgr/source/node.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_NODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_NODE_HXX
+#pragma once
#include <sal/config.h>
@@ -66,6 +65,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/nodemap.hxx b/configmgr/source/nodemap.hxx
index 0225b9861124..19447c7f77f7 100644
--- a/configmgr/source/nodemap.hxx
+++ b/configmgr/source/nodemap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_NODEMAP_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_NODEMAP_HXX
+#pragma once
#include <sal/config.h>
#include "config_map.hxx"
@@ -66,6 +65,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/parsemanager.hxx b/configmgr/source/parsemanager.hxx
index 86eb2db5ac9f..fba61ec07b94 100644
--- a/configmgr/source/parsemanager.hxx
+++ b/configmgr/source/parsemanager.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_PARSEMANAGER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_PARSEMANAGER_HXX
+#pragma once
#include <sal/config.h>
@@ -54,6 +53,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/parser.hxx b/configmgr/source/parser.hxx
index de57d4783381..a3984203c583 100644
--- a/configmgr/source/parser.hxx
+++ b/configmgr/source/parser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_PARSER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_PARSER_HXX
+#pragma once
#include <sal/config.h>
@@ -51,6 +50,4 @@ protected:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/partial.hxx b/configmgr/source/partial.hxx
index bbb9a135ea4c..265c70124177 100644
--- a/configmgr/source/partial.hxx
+++ b/configmgr/source/partial.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_PARTIAL_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_PARTIAL_HXX
+#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx
index 2760df946110..9a3f8f91e87e 100644
--- a/configmgr/source/propertynode.hxx
+++ b/configmgr/source/propertynode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_PROPERTYNODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_PROPERTYNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -72,6 +71,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index 1e97e5f00e5c..bd20834db925 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_ROOTACCESS_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_ROOTACCESS_HXX
+#pragma once
#include <sal/config.h>
@@ -142,6 +141,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/rootnode.hxx b/configmgr/source/rootnode.hxx
index 285c3e65bb28..4f53bffb72ad 100644
--- a/configmgr/source/rootnode.hxx
+++ b/configmgr/source/rootnode.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_ROOTNODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_ROOTNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -37,6 +36,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx
index 528a2ea8c82c..1a8f44132940 100644
--- a/configmgr/source/setnode.hxx
+++ b/configmgr/source/setnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_SETNODE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_SETNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -71,6 +70,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/type.hxx b/configmgr/source/type.hxx
index db49513a0df3..7fd096ac16b9 100644
--- a/configmgr/source/type.hxx
+++ b/configmgr/source/type.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_TYPE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_TYPE_HXX
+#pragma once
#include <sal/config.h>
#include <sal/types.h>
@@ -46,6 +45,4 @@ Type getDynamicType(css::uno::Any const & value);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/valueparser.hxx b/configmgr/source/valueparser.hxx
index 62ff3727d33d..33404b838ddb 100644
--- a/configmgr/source/valueparser.hxx
+++ b/configmgr/source/valueparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_VALUEPARSER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_VALUEPARSER_HXX
+#pragma once
#include <sal/config.h>
@@ -83,6 +82,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/writemodfile.hxx b/configmgr/source/writemodfile.hxx
index 113c9c18127a..d663321d4cf0 100644
--- a/configmgr/source/writemodfile.hxx
+++ b/configmgr/source/writemodfile.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_WRITEMODFILE_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_WRITEMODFILE_HXX
+#pragma once
#include <sal/config.h>
@@ -61,6 +60,4 @@ void writeModFile(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/xcdparser.hxx b/configmgr/source/xcdparser.hxx
index c51bd6368136..1ca32931ea48 100644
--- a/configmgr/source/xcdparser.hxx
+++ b/configmgr/source/xcdparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_XCDPARSER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_XCDPARSER_HXX
+#pragma once
#include <sal/config.h>
@@ -70,6 +69,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/xcsparser.hxx b/configmgr/source/xcsparser.hxx
index d662ff47bbed..36e5a1a0037a 100644
--- a/configmgr/source/xcsparser.hxx
+++ b/configmgr/source/xcsparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_XCSPARSER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_XCSPARSER_HXX
+#pragma once
#include <sal/config.h>
@@ -98,6 +97,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/xcuparser.hxx b/configmgr/source/xcuparser.hxx
index 3e3544385634..9bec6a26081a 100644
--- a/configmgr/source/xcuparser.hxx
+++ b/configmgr/source/xcuparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_XCUPARSER_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_XCUPARSER_HXX
+#pragma once
#include <sal/config.h>
@@ -148,6 +147,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/xmldata.hxx b/configmgr/source/xmldata.hxx
index ae9e01cca731..c72050af84ce 100644
--- a/configmgr/source/xmldata.hxx
+++ b/configmgr/source/xmldata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONFIGMGR_SOURCE_XMLDATA_HXX
-#define INCLUDED_CONFIGMGR_SOURCE_XMLDATA_HXX
+#pragma once
#include <sal/config.h>
@@ -44,6 +43,4 @@ OUString parseTemplateReference(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */