diff options
-rw-r--r-- | idl/inc/basobj.hxx | 6 | ||||
-rw-r--r-- | idl/inc/bastype.hxx | 7 | ||||
-rw-r--r-- | idl/inc/command.hxx | 5 | ||||
-rw-r--r-- | idl/inc/database.hxx | 5 | ||||
-rw-r--r-- | idl/inc/globals.hxx | 6 | ||||
-rw-r--r-- | idl/inc/hash.hxx | 5 | ||||
-rw-r--r-- | idl/inc/module.hxx | 5 | ||||
-rw-r--r-- | idl/inc/object.hxx | 7 | ||||
-rw-r--r-- | idl/inc/parser.hxx | 5 | ||||
-rw-r--r-- | idl/inc/slot.hxx | 6 | ||||
-rw-r--r-- | idl/inc/types.hxx | 6 |
11 files changed, 11 insertions, 52 deletions
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx index 2bdd8e622e44..c7d8b77f1466 100644 --- a/idl/inc/basobj.hxx +++ b/idl/inc/basobj.hxx @@ -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: */ diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx index 7494b35a8813..ff4938764c6e 100644 --- a/idl/inc/bastype.hxx +++ b/idl/inc/bastype.hxx @@ -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: */ diff --git a/idl/inc/command.hxx b/idl/inc/command.hxx index ea5e0f4464f5..1a3e08cb3446 100644 --- a/idl/inc/command.hxx +++ b/idl/inc/command.hxx @@ -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: */ diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index dcdf935931c5..74c7c22e81b8 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -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: */ diff --git a/idl/inc/globals.hxx b/idl/inc/globals.hxx index 0739d8757b32..b72d53fafae2 100644 --- a/idl/inc/globals.hxx +++ b/idl/inc/globals.hxx @@ -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: */ diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index 86b2af448133..fd0a6f466375 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -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: */ diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx index 08c14cc9c2b2..68069e4d28d4 100644 --- a/idl/inc/module.hxx +++ b/idl/inc/module.hxx @@ -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: */ diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx index 4254a4e1f318..1c1ff4c37988 100644 --- a/idl/inc/object.hxx +++ b/idl/inc/object.hxx @@ -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: */ diff --git a/idl/inc/parser.hxx b/idl/inc/parser.hxx index ae9db7105bd9..a9a0b66c6839 100644 --- a/idl/inc/parser.hxx +++ b/idl/inc/parser.hxx @@ -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: */ diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx index fd8e9c0ad5ce..34d60f1831af 100644 --- a/idl/inc/slot.hxx +++ b/idl/inc/slot.hxx @@ -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: */ diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx index badab618e605..b78b8c644729 100644 --- a/idl/inc/types.hxx +++ b/idl/inc/types.hxx @@ -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: */ |