tdf#124176 Use #pragma once in codemaker
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: I421f0594d5f4389f7800a5bd0e339edde5627bb3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100182 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
7021dae811
commit
ce73b526c4
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_CPPUOPTIONS_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_CPPUOPTIONS_HXX
|
||||
#pragma once
|
||||
|
||||
#include <codemaker/options.hxx>
|
||||
|
||||
@@ -37,6 +36,4 @@ public:
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_CPPUOPTIONS_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_CPPUTYPE_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_CPPUTYPE_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
@@ -33,6 +32,4 @@ void produce(
|
||||
OUString const & name, rtl::Reference< TypeManager > const & manager,
|
||||
codemaker::GeneratedTypeSet & generated, CppuOptions const & options);
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DEPENDENCIES_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DEPENDENCIES_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
@@ -123,6 +122,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DUMPUTILS_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DUMPUTILS_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
@@ -37,6 +36,4 @@ void dumpTypeIdentifier(FileStream & out, rtl::OUString const & entityName);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_INCLUDES_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_INCLUDES_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/ref.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
@@ -97,6 +96,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_INCLUDES_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_CLASSFILE_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_CLASSFILE_HXX
|
||||
#pragma once
|
||||
|
||||
#include <codemaker/unotype.hxx>
|
||||
#include <sal/types.h>
|
||||
@@ -237,6 +236,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_CLASSFILE_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX
|
||||
#pragma once
|
||||
|
||||
#include <codemaker/options.hxx>
|
||||
|
||||
@@ -37,6 +36,4 @@ public:
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVAOPTIONS_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVATYPE_HXX
|
||||
#define INCLUDED_CODEMAKER_SOURCE_JAVAMAKER_JAVATYPE_HXX
|
||||
#pragma once
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
@@ -33,6 +32,4 @@ void produce(
|
||||
OUString const & name, rtl::Reference< TypeManager > const & manager,
|
||||
codemaker::GeneratedTypeSet & generated, JavaOptions const & options);
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user