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>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
cbbeae8335
commit
4499207704
@@ -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_XML_HELPER_HXX
|
||||
#define INCLUDED_XMLSCRIPT_XML_HELPER_HXX
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
@@ -119,6 +118,4 @@ createOutputStream(
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_XMLDLG_IMEXP_HXX
|
||||
#define INCLUDED_XMLSCRIPT_XMLDLG_IMEXP_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
|
||||
@@ -61,6 +60,4 @@ XMLSCRIPT_DLLPUBLIC void importDialogModel(
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_XMLLIB_IMEXP_HXX
|
||||
#define INCLUDED_XMLSCRIPT_XMLLIB_IMEXP_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
|
||||
@@ -80,6 +79,4 @@ importLibrary( LibDescriptor& rLib );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_XMLMOD_IMEXP_HXX
|
||||
#define INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
@@ -52,6 +51,4 @@ importScriptModule( ModuleDescriptor& rMod );
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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_XMLNS_H
|
||||
#define INCLUDED_XMLSCRIPT_XMLNS_H
|
||||
#pragma once
|
||||
|
||||
#define XMLNS_DIALOGS_URI "http://openoffice.org/2000/dialog"
|
||||
#define XMLNS_DIALOGS_PREFIX "dlg"
|
||||
@@ -34,6 +33,4 @@
|
||||
#define XMLNS_XLINK_URI "http://www.w3.org/1999/xlink"
|
||||
#define XMLNS_XLINK_PREFIX "xlink"
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user