From 47bb1e449f8dd1668c4e50ab7df980f4e3de8319 Mon Sep 17 00:00:00 2001 From: ShyamPraveenSingh Date: Tue, 24 Nov 2020 09:26:32 +0530 Subject: tdf#124176 Use #pragma once in extensions/source/abpilot Change-Id: Ia370a447a23d6d78c380667fd07ba5f230c927dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106474 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- extensions/source/abpilot/abpfinalpage.hxx | 6 +----- extensions/source/abpilot/abptypes.hxx | 7 +------ extensions/source/abpilot/abspage.hxx | 6 +----- extensions/source/abpilot/abspilot.hxx | 6 +----- extensions/source/abpilot/addresssettings.hxx | 7 +------ extensions/source/abpilot/admininvokationimpl.hxx | 6 +----- extensions/source/abpilot/admininvokationpage.hxx | 6 +----- extensions/source/abpilot/datasourcehandling.hxx | 7 +------ extensions/source/abpilot/fieldmappingimpl.hxx | 7 +------ extensions/source/abpilot/fieldmappingpage.hxx | 7 +------ extensions/source/abpilot/tableselectionpage.hxx | 6 +----- extensions/source/abpilot/typeselectionpage.hxx | 7 +------ extensions/source/abpilot/unodialogabp.hxx | 6 +----- 13 files changed, 13 insertions(+), 71 deletions(-) (limited to 'extensions') diff --git a/extensions/source/abpilot/abpfinalpage.hxx b/extensions/source/abpilot/abpfinalpage.hxx index d82143c15091..400d4d8ad5e6 100644 --- a/extensions/source/abpilot/abpfinalpage.hxx +++ b/extensions/source/abpilot/abpfinalpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPFINALPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPFINALPAGE_HXX +#pragma once #include "abspage.hxx" #include "abptypes.hxx" @@ -72,7 +71,4 @@ namespace abp }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPFINALPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/abptypes.hxx b/extensions/source/abpilot/abptypes.hxx index fc3368b5c36b..0339253ffad8 100644 --- a/extensions/source/abpilot/abptypes.hxx +++ b/extensions/source/abpilot/abptypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPTYPES_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPTYPES_HXX +#pragma once #include @@ -38,8 +37,4 @@ namespace abp } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABPTYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/abspage.hxx b/extensions/source/abpilot/abspage.hxx index 7c55bf3fae20..4d78533ad885 100644 --- a/extensions/source/abpilot/abspage.hxx +++ b/extensions/source/abpilot/abspage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPAGE_HXX +#pragma once #include #include @@ -54,7 +53,4 @@ namespace abp virtual void Deactivate() override; }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx index f959af24224d..45c965d2be0d 100644 --- a/extensions/source/abpilot/abspilot.hxx +++ b/extensions/source/abpilot/abspilot.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPILOT_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPILOT_HXX +#pragma once #include #include "addresssettings.hxx" @@ -117,7 +116,4 @@ namespace abp void impl_updateRoadmap( AddressSourceType _eType ); }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPILOT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/addresssettings.hxx b/extensions/source/abpilot/addresssettings.hxx index adec884eea8f..63f0df25eaed 100644 --- a/extensions/source/abpilot/addresssettings.hxx +++ b/extensions/source/abpilot/addresssettings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADDRESSSETTINGS_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADDRESSSETTINGS_HXX +#pragma once #include #include "abptypes.hxx" @@ -55,8 +54,4 @@ namespace abp } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADDRESSSETTINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/admininvokationimpl.hxx b/extensions/source/abpilot/admininvokationimpl.hxx index fb7642ded503..2003809c8727 100644 --- a/extensions/source/abpilot/admininvokationimpl.hxx +++ b/extensions/source/abpilot/admininvokationimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADMININVOKATIONIMPL_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADMININVOKATIONIMPL_HXX +#pragma once #include #include @@ -48,7 +47,4 @@ namespace abp bool invokeAdministration(); }; } - -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/admininvokationpage.hxx b/extensions/source/abpilot/admininvokationpage.hxx index 5765e1fd5c33..3d4f676e2d9a 100644 --- a/extensions/source/abpilot/admininvokationpage.hxx +++ b/extensions/source/abpilot/admininvokationpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADMININVOKATIONPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADMININVOKATIONPAGE_HXX +#pragma once #include "abspage.hxx" @@ -50,7 +49,4 @@ namespace abp }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ADMININVOKATIONPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx index b6fbfc2c8f3b..6f2b96eef68b 100644 --- a/extensions/source/abpilot/datasourcehandling.hxx +++ b/extensions/source/abpilot/datasourcehandling.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_DATASOURCEHANDLING_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_DATASOURCEHANDLING_HXX +#pragma once #include #include @@ -184,8 +183,4 @@ namespace abp } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_DATASOURCEHANDLING_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/fieldmappingimpl.hxx b/extensions/source/abpilot/fieldmappingimpl.hxx index d95fe14faa1c..d26172dfdb16 100644 --- a/extensions/source/abpilot/fieldmappingimpl.hxx +++ b/extensions/source/abpilot/fieldmappingimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGIMPL_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGIMPL_HXX +#pragma once #include #include "abptypes.hxx" @@ -109,8 +108,4 @@ namespace abp } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGIMPL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/fieldmappingpage.hxx b/extensions/source/abpilot/fieldmappingpage.hxx index 1423da470b25..e3ef93794f29 100644 --- a/extensions/source/abpilot/fieldmappingpage.hxx +++ b/extensions/source/abpilot/fieldmappingpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGPAGE_HXX +#pragma once #include "abspage.hxx" #include @@ -44,8 +43,4 @@ namespace abp void implUpdateHint(); }; } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_FIELDMAPPINGPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/tableselectionpage.hxx b/extensions/source/abpilot/tableselectionpage.hxx index e527b22c8461..a150bf844fd2 100644 --- a/extensions/source/abpilot/tableselectionpage.hxx +++ b/extensions/source/abpilot/tableselectionpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TABLESELECTIONPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TABLESELECTIONPAGE_HXX +#pragma once #include "abspage.hxx" #include @@ -48,7 +47,4 @@ namespace abp }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TABLESELECTIONPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/typeselectionpage.hxx b/extensions/source/abpilot/typeselectionpage.hxx index 7488495f20c0..2ee3a31a4cc7 100644 --- a/extensions/source/abpilot/typeselectionpage.hxx +++ b/extensions/source/abpilot/typeselectionpage.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TYPESELECTIONPAGE_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TYPESELECTIONPAGE_HXX +#pragma once #include "abspage.hxx" #include "addresssettings.hxx" @@ -80,8 +79,4 @@ namespace abp } // namespace abp - - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_TYPESELECTIONPAGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx index bdf6142c2992..cf3aaa6f5101 100644 --- a/extensions/source/abpilot/unodialogabp.hxx +++ b/extensions/source/abpilot/unodialogabp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EXTENSIONS_SOURCE_ABPILOT_UNODIALOGABP_HXX -#define INCLUDED_EXTENSIONS_SOURCE_ABPILOT_UNODIALOGABP_HXX +#pragma once #include #include @@ -76,7 +75,4 @@ namespace abp }; } // namespace abp - -#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_UNODIALOGABP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit