summaryrefslogtreecommitdiff
path: root/include/xmlscript/xmlscriptdllapi.h
diff options
context:
space:
mode:
authormsrijita18 <msrijita189@gmail.com>2021-01-29 16:57:58 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-02-08 10:57:27 +0100
commit449920770449d7bf1379e2e8da6d634b90e8bace (patch)
tree2272676c257838d56729bb89bde3df6117176b23 /include/xmlscript/xmlscriptdllapi.h
parentcbbeae83356942d2e9c71b2d51be322541458722 (diff)
tdf#124176 Use pragma once instead of include guards in xmlscript
Change-Id: Ie9065250341d9ccafc4cae8bc0dbed5cfe911580 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110152 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'include/xmlscript/xmlscriptdllapi.h')
-rw-r--r--include/xmlscript/xmlscriptdllapi.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/xmlscript/xmlscriptdllapi.h b/include/xmlscript/xmlscriptdllapi.h
index 6d3875885d78..caacac12c074 100644
--- a/include/xmlscript/xmlscriptdllapi.h
+++ b/include/xmlscript/xmlscriptdllapi.h
@@ -16,9 +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_XMLSCRIPTDLLAPI_H
-#define INCLUDED_XMLSCRIPT_XMLSCRIPTDLLAPI_H
+#pragma once
#include <sal/types.h>
@@ -29,5 +27,4 @@
#endif
#define XMLSCRIPT_DLLPRIVATE SAL_DLLPRIVATE
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */