summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 08:28:23 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 10:54:09 +0100
commit1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (patch)
treed4dd124d4dbc0b12703b12d4eb945d11c063c297 /unoxml
parent039e90ec011157c9e851221a53ec62d33acb71d1 (diff)
tdf#124176 Use pragma once in u*
ucb, uno*, uui Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/inc/event.hxx4
-rw-r--r--unoxml/inc/eventdispatcher.hxx5
-rw-r--r--unoxml/inc/mouseevent.hxx4
-rw-r--r--unoxml/inc/mutationevent.hxx4
-rw-r--r--unoxml/inc/node.hxx5
-rw-r--r--unoxml/inc/uievent.hxx4
-rw-r--r--unoxml/source/dom/attr.hxx5
-rw-r--r--unoxml/source/dom/attributesmap.hxx5
-rw-r--r--unoxml/source/dom/cdatasection.hxx5
-rw-r--r--unoxml/source/dom/characterdata.hxx5
-rw-r--r--unoxml/source/dom/childlist.hxx5
-rw-r--r--unoxml/source/dom/comment.hxx5
-rw-r--r--unoxml/source/dom/document.hxx5
-rw-r--r--unoxml/source/dom/documentbuilder.hxx5
-rw-r--r--unoxml/source/dom/documentfragment.hxx4
-rw-r--r--unoxml/source/dom/documenttype.hxx4
-rw-r--r--unoxml/source/dom/domimplementation.hxx4
-rw-r--r--unoxml/source/dom/element.hxx5
-rw-r--r--unoxml/source/dom/elementlist.hxx5
-rw-r--r--unoxml/source/dom/entitiesmap.hxx5
-rw-r--r--unoxml/source/dom/entity.hxx5
-rw-r--r--unoxml/source/dom/entityreference.hxx4
-rw-r--r--unoxml/source/dom/notation.hxx5
-rw-r--r--unoxml/source/dom/notationsmap.hxx5
-rw-r--r--unoxml/source/dom/processinginstruction.hxx5
-rw-r--r--unoxml/source/dom/saxbuilder.hxx5
-rw-r--r--unoxml/source/dom/text.hxx4
-rw-r--r--unoxml/source/xpath/nodelist.hxx5
-rw-r--r--unoxml/source/xpath/xpathapi.hxx5
-rw-r--r--unoxml/source/xpath/xpathobject.hxx5
30 files changed, 30 insertions, 111 deletions
diff --git a/unoxml/inc/event.hxx b/unoxml/inc/event.hxx
index f44bb35f9b3b..c33d8f9d3b3c 100644
--- a/unoxml/inc/event.hxx
+++ b/unoxml/inc/event.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_EVENT_HXX
-#define INCLUDED_UNOXML_INC_EVENT_HXX
+#pragma once
#include <sal/types.h>
@@ -66,6 +65,5 @@ public:
sal_Bool cancelableArg) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/inc/eventdispatcher.hxx b/unoxml/inc/eventdispatcher.hxx
index 10bcb0a440c4..9ecd42585d3c 100644
--- a/unoxml/inc/eventdispatcher.hxx
+++ b/unoxml/inc/eventdispatcher.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX
-#define INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX
+#pragma once
#include <map>
@@ -78,6 +77,4 @@ public:
}}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/inc/mouseevent.hxx b/unoxml/inc/mouseevent.hxx
index d88b1208e971..1b4ffe391cb9 100644
--- a/unoxml/inc/mouseevent.hxx
+++ b/unoxml/inc/mouseevent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_MOUSEEVENT_HXX
-#define INCLUDED_UNOXML_INC_MOUSEEVENT_HXX
+#pragma once
#include <com/sun/star/xml/dom/events/PhaseType.hpp>
#include <com/sun/star/xml/dom/events/XMouseEvent.hpp>
@@ -99,6 +98,5 @@ public:
sal_Bool cancelableArg) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/inc/mutationevent.hxx b/unoxml/inc/mutationevent.hxx
index e06a3678ad87..0a7bd76b6611 100644
--- a/unoxml/inc/mutationevent.hxx
+++ b/unoxml/inc/mutationevent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX
-#define INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX
+#pragma once
#include <sal/types.h>
@@ -82,6 +81,5 @@ public:
sal_Bool cancelableArg) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx
index f91a08421c13..bec0a8c9b8c1 100644
--- a/unoxml/inc/node.hxx
+++ b/unoxml/inc/node.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_NODE_HXX
-#define INCLUDED_UNOXML_INC_NODE_HXX
+#pragma once
#include <libxml/tree.h>
@@ -295,6 +294,4 @@ namespace DOM
void nscleanup(const xmlNodePtr aNode, const xmlNodePtr aParent);
}
-#endif // INCLUDED_UNOXML_INC_NODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/inc/uievent.hxx b/unoxml/inc/uievent.hxx
index 4f449cd3dfaf..cfa39c5c4b77 100644
--- a/unoxml/inc/uievent.hxx
+++ b/unoxml/inc/uievent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_INC_UIEVENT_HXX
-#define INCLUDED_UNOXML_INC_UIEVENT_HXX
+#pragma once
#include <sal/types.h>
@@ -67,6 +66,5 @@ public:
sal_Bool cancelableArg) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx
index f2091328da72..30c0aa25bb34 100644
--- a/unoxml/source/dom/attr.hxx
+++ b/unoxml/source/dom/attr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ATTR_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ATTR_HXX
+#pragma once
#include <memory>
@@ -175,6 +174,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx
index 4a1f485b69f6..55f4c6795194 100644
--- a/unoxml/source/dom/attributesmap.hxx
+++ b/unoxml/source/dom/attributesmap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ATTRIBUTESMAP_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ATTRIBUTESMAP_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ref.hxx>
@@ -93,6 +92,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/cdatasection.hxx b/unoxml/source/dom/cdatasection.hxx
index 569d7c7a8359..0cd181ce6f18 100644
--- a/unoxml/source/dom/cdatasection.hxx
+++ b/unoxml/source/dom/cdatasection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_CDATASECTION_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_CDATASECTION_HXX
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/xml/dom/XCDATASection.hpp>
@@ -187,6 +186,4 @@ namespace DOM
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/characterdata.hxx b/unoxml/source/dom/characterdata.hxx
index 8a3179d3de77..7728f65ef135 100644
--- a/unoxml/source/dom/characterdata.hxx
+++ b/unoxml/source/dom/characterdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_CHARACTERDATA_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_CHARACTERDATA_HXX
+#pragma once
#include <libxml/tree.h>
@@ -199,6 +198,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/childlist.hxx b/unoxml/source/dom/childlist.hxx
index c9a2697a4464..091a8e450837 100644
--- a/unoxml/source/dom/childlist.hxx
+++ b/unoxml/source/dom/childlist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_CHILDLIST_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_CHILDLIST_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ref.hxx>
@@ -57,6 +56,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx
index 66fc8cd2795f..94b8f1f58038 100644
--- a/unoxml/source/dom/comment.hxx
+++ b/unoxml/source/dom/comment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_COMMENT_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_COMMENT_HXX
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/xml/dom/XComment.hpp>
@@ -181,6 +180,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index 8666d2185f0d..a26da7fcd169 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENT_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENT_HXX
+#pragma once
#include <set>
#include <memory>
@@ -335,6 +334,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx
index 4c9af65b2b8a..40edc4525979 100644
--- a/unoxml/source/dom/documentbuilder.hxx
+++ b/unoxml/source/dom/documentbuilder.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTBUILDER_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTBUILDER_HXX
+#pragma once
#include <sal/types.h>
@@ -126,6 +125,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/documentfragment.hxx b/unoxml/source/dom/documentfragment.hxx
index ba82735d36e7..7bb3c187b236 100644
--- a/unoxml/source/dom/documentfragment.hxx
+++ b/unoxml/source/dom/documentfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTFRAGMENT_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTFRAGMENT_HXX
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/xml/dom/XDocumentFragment.hpp>
@@ -146,6 +145,5 @@ namespace DOM
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/documenttype.hxx b/unoxml/source/dom/documenttype.hxx
index 964bab03804f..48f857bf7ee3 100644
--- a/unoxml/source/dom/documenttype.hxx
+++ b/unoxml/source/dom/documenttype.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTTYPE_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_DOCUMENTTYPE_HXX
+#pragma once
#include <libxml/tree.h>
@@ -183,6 +182,5 @@ namespace DOM
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx
index 095587409235..e2f2509445bc 100644
--- a/unoxml/source/dom/domimplementation.hxx
+++ b/unoxml/source/dom/domimplementation.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_DOMIMPLEMENTATION_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_DOMIMPLEMENTATION_HXX
+#pragma once
#include <sal/types.h>
@@ -58,6 +57,5 @@ namespace DOM
virtual sal_Bool SAL_CALL hasFeature(const OUString& feature, const OUString& ver) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx
index 5e44f14ac8f1..efa048bfe2e1 100644
--- a/unoxml/source/dom/element.hxx
+++ b/unoxml/source/dom/element.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ELEMENT_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ELEMENT_HXX
+#pragma once
#include <libxml/tree.h>
@@ -243,6 +242,4 @@ namespace DOM
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx
index 16a3eff8c5d2..66ce3bedac18 100644
--- a/unoxml/source/dom/elementlist.hxx
+++ b/unoxml/source/dom/elementlist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ELEMENTLIST_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ELEMENTLIST_HXX
+#pragma once
#include <vector>
#include <string_view>
@@ -116,6 +115,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx
index a239a454e672..7349851ddb46 100644
--- a/unoxml/source/dom/entitiesmap.hxx
+++ b/unoxml/source/dom/entitiesmap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITIESMAP_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ENTITIESMAP_HXX
+#pragma once
#include <sal/types.h>
@@ -87,6 +86,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/entity.hxx b/unoxml/source/dom/entity.hxx
index ff45da5ee6a2..612c06502566 100644
--- a/unoxml/source/dom/entity.hxx
+++ b/unoxml/source/dom/entity.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITY_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ENTITY_HXX
+#pragma once
#include <libxml/tree.h>
@@ -167,6 +166,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/entityreference.hxx b/unoxml/source/dom/entityreference.hxx
index c22390399192..05fd330af785 100644
--- a/unoxml/source/dom/entityreference.hxx
+++ b/unoxml/source/dom/entityreference.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_ENTITYREFERENCE_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_ENTITYREFERENCE_HXX
+#pragma once
#include <libxml/tree.h>
@@ -148,6 +147,5 @@ namespace DOM
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/notation.hxx b/unoxml/source/dom/notation.hxx
index 58edd720feb5..2a95200f51f6 100644
--- a/unoxml/source/dom/notation.hxx
+++ b/unoxml/source/dom/notation.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX
+#pragma once
#include <libxml/tree.h>
@@ -155,6 +154,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/notationsmap.hxx b/unoxml/source/dom/notationsmap.hxx
index d56f164b00ad..9dac7d968ce6 100644
--- a/unoxml/source/dom/notationsmap.hxx
+++ b/unoxml/source/dom/notationsmap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_NOTATIONSMAP_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_NOTATIONSMAP_HXX
+#pragma once
#include <sal/types.h>
@@ -87,6 +86,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/processinginstruction.hxx b/unoxml/source/dom/processinginstruction.hxx
index d3233ea5bcaa..e2c027816968 100644
--- a/unoxml/source/dom/processinginstruction.hxx
+++ b/unoxml/source/dom/processinginstruction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_PROCESSINGINSTRUCTION_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_PROCESSINGINSTRUCTION_HXX
+#pragma once
#include <libxml/tree.h>
@@ -163,6 +162,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx
index 2aa702787bf2..44c9ab4be163 100644
--- a/unoxml/source/dom/saxbuilder.hxx
+++ b/unoxml/source/dom/saxbuilder.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_SAXBUILDER_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_SAXBUILDER_HXX
+#pragma once
#include <stack>
@@ -91,6 +90,4 @@ namespace DOM
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/text.hxx b/unoxml/source/dom/text.hxx
index 5c38c1db6b8c..d594b158669e 100644
--- a/unoxml/source/dom/text.hxx
+++ b/unoxml/source/dom/text.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_DOM_TEXT_HXX
-#define INCLUDED_UNOXML_SOURCE_DOM_TEXT_HXX
+#pragma once
#include <libxml/tree.h>
@@ -200,6 +199,5 @@ namespace DOM
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/xpath/nodelist.hxx b/unoxml/source/xpath/nodelist.hxx
index e1be7861a937..689510dea540 100644
--- a/unoxml/source/xpath/nodelist.hxx
+++ b/unoxml/source/xpath/nodelist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_XPATH_NODELIST_HXX
-#define INCLUDED_UNOXML_SOURCE_XPATH_NODELIST_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ref.hxx>
@@ -68,6 +67,4 @@ namespace XPath
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/xpath/xpathapi.hxx b/unoxml/source/xpath/xpathapi.hxx
index 91d5c4b78750..154eb78f722d 100644
--- a/unoxml/source/xpath/xpathapi.hxx
+++ b/unoxml/source/xpath/xpathapi.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_XPATH_XPATHAPI_HXX
-#define INCLUDED_UNOXML_SOURCE_XPATH_XPATHAPI_HXX
+#pragma once
#include <map>
#include <vector>
@@ -105,6 +104,4 @@ namespace XPath
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/xpath/xpathobject.hxx b/unoxml/source/xpath/xpathobject.hxx
index 8e20bbc55399..41a8e45a096e 100644
--- a/unoxml/source/xpath/xpathobject.hxx
+++ b/unoxml/source/xpath/xpathobject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UNOXML_SOURCE_XPATH_XPATHOBJECT_HXX
-#define INCLUDED_UNOXML_SOURCE_XPATH_XPATHOBJECT_HXX
+#pragma once
#include <memory>
@@ -107,6 +106,4 @@ namespace XPath
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */