tdf#143148 update all headers in idl/inc to use #pragma once
Change-Id: I65a5d21bed1753f3dbb5ad1b87fb76ea16066413 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164928 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
parent
471bbaf15f
commit
d969251911
@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_IDL_INC_BASOBJ_HXX
|
||||
#define INCLUDED_IDL_INC_BASOBJ_HXX
|
||||
#pragma once
|
||||
|
||||
#include <tools/ref.hxx>
|
||||
#include "bastype.hxx"
|
||||
@ -122,7 +121,4 @@ public:
|
||||
{ aRef = pRef; }
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_BASOBJ_HXX
|
||||
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,9 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_IDL_INC_BASTYPE_HXX
|
||||
#define INCLUDED_IDL_INC_BASTYPE_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <rtl/string.hxx>
|
||||
@ -70,7 +68,4 @@ public:
|
||||
|
||||
bool ReadStringSvIdl( SvStringHashEntry const * pName, SvTokenStream & rInStm, OString& aString );
|
||||
|
||||
|
||||
#endif // INCLUDED_IDL_INC_BASTYPE_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_IDL_INC_COMMAND_HXX
|
||||
#define INCLUDED_IDL_INC_COMMAND_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <vector>
|
||||
@ -42,6 +41,4 @@ void Init();
|
||||
class SvIdlWorkingBase;
|
||||
bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand );
|
||||
|
||||
#endif // INCLUDED_IDL_INC_COMMAND_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_IDL_INC_DATABASE_HXX
|
||||
#define INCLUDED_IDL_INC_DATABASE_HXX
|
||||
#pragma once
|
||||
|
||||
#include "module.hxx"
|
||||
#include "hash.hxx"
|
||||
@ -136,6 +135,4 @@ public:
|
||||
bool WriteSfx( SvStream & );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_DATABASE_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_IDL_INC_GLOBALS_HXX
|
||||
#define INCLUDED_IDL_INC_GLOBALS_HXX
|
||||
#pragma once
|
||||
|
||||
#include "hash.hxx"
|
||||
#include <memory>
|
||||
@ -122,7 +121,4 @@ HASH_INLINE(ReadOnlyDoc)
|
||||
HASH_INLINE(struct)
|
||||
HASH_INLINE(DisableFlags)
|
||||
|
||||
|
||||
#endif // INCLUDED_IDL_INC_GLOBALS_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_IDL_INC_HASH_HXX
|
||||
#define INCLUDED_IDL_INC_HASH_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
#include <tools/solar.h>
|
||||
@ -56,6 +55,4 @@ public:
|
||||
OString GetNearString( std::string_view rName ) const;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_HASH_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_IDL_INC_MODULE_HXX
|
||||
#define INCLUDED_IDL_INC_MODULE_HXX
|
||||
#pragma once
|
||||
|
||||
#include "object.hxx"
|
||||
|
||||
@ -32,6 +31,4 @@ public:
|
||||
void WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_MODULE_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,13 +17,10 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_IDL_INC_OBJECT_HXX
|
||||
#define INCLUDED_IDL_INC_OBJECT_HXX
|
||||
#pragma once
|
||||
|
||||
#include "types.hxx"
|
||||
|
||||
#include <tools/solar.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class SvMetaClass;
|
||||
@ -85,6 +82,4 @@ public:
|
||||
virtual void WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) override;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_OBJECT_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_IDL_INC_PARSER_HXX
|
||||
#define INCLUDED_IDL_INC_PARSER_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include "types.hxx"
|
||||
@ -67,6 +66,4 @@ public:
|
||||
bool ReadIf(SvStringHashEntry const *);
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_PARSER_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,11 +17,9 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_IDL_INC_SLOT_HXX
|
||||
#define INCLUDED_IDL_INC_SLOT_HXX
|
||||
#pragma once
|
||||
|
||||
#include "types.hxx"
|
||||
|
||||
#include <tools/solar.h>
|
||||
|
||||
class SvMetaSlot : public SvMetaAttribute
|
||||
@ -129,6 +127,4 @@ public:
|
||||
SvStream & rOutStm ) const;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_IDL_INC_SLOT_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_IDL_INC_TYPES_HXX
|
||||
#define INCLUDED_IDL_INC_TYPES_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <tools/ref.hxx>
|
||||
@ -112,7 +111,4 @@ public:
|
||||
SvMetaTypevoid();
|
||||
};
|
||||
|
||||
|
||||
#endif // INCLUDED_IDL_INC_TYPES_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Loading…
x
Reference in New Issue
Block a user