summaryrefslogtreecommitdiff
path: root/xmlscript/source/inc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-12-28 00:06:54 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-12-28 12:04:11 +0100
commit77f4eb0bfefff6cb972abd8e1cc2b9d2c6df368d (patch)
treef2bcabd98ab520cbdd8e45faf8230588a7ca76a8 /xmlscript/source/inc
parent40f1a46e8d4e4f4a67a1909ae636ec17f7cc7658 (diff)
tdf#124176: Use "pragma once" on xmlscript/*
It passed "make check" on Linux Change-Id: Id8727da150ad1b5252fbc997ff5df28b23303fb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85882 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmlscript/source/inc')
-rw-r--r--xmlscript/source/inc/misc.hxx4
-rw-r--r--xmlscript/source/inc/unoservices.hxx4
-rw-r--r--xmlscript/source/inc/xml_import.hxx4
3 files changed, 3 insertions, 9 deletions
diff --git a/xmlscript/source/inc/misc.hxx b/xmlscript/source/inc/misc.hxx
index 7671deacf989..d70f6b0639a2 100644
--- a/xmlscript/source/inc/misc.hxx
+++ b/xmlscript/source/inc/misc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLSCRIPT_SOURCE_INC_MISC_HXX
-#define INCLUDED_XMLSCRIPT_SOURCE_INC_MISC_HXX
+#pragma once
#include <com/sun/star/uno/Any.hxx>
@@ -47,6 +46,5 @@ inline T extract_throw( css::uno::Any const & a )
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlscript/source/inc/unoservices.hxx b/xmlscript/source/inc/unoservices.hxx
index 03079c009c60..4ad18b40ee23 100644
--- a/xmlscript/source/inc/unoservices.hxx
+++ b/xmlscript/source/inc/unoservices.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLSCRIPT_SOURCE_INC_UNOSERVICES_HXX
-#define INCLUDED_XMLSCRIPT_SOURCE_INC_UNOSERVICES_HXX
+#pragma once
#include <sal/config.h>
@@ -42,6 +41,5 @@ css::uno::Reference<css::uno::XInterface> create_DocumentHandlerImpl(
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlscript/source/inc/xml_import.hxx b/xmlscript/source/inc/xml_import.hxx
index 8548ae3b5b95..d4a2a4839890 100644
--- a/xmlscript/source/inc/xml_import.hxx
+++ b/xmlscript/source/inc/xml_import.hxx
@@ -16,8 +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_XMLSCRIPT_SOURCE_INC_XML_IMPORT_HXX
-#define INCLUDED_XMLSCRIPT_SOURCE_INC_XML_IMPORT_HXX
+#pragma once
#include <com/sun/star/xml/input/XRoot.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
@@ -47,6 +46,5 @@ createDocumentHandler(
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */