diff options
author | Aleyna Doğrucan <aleynadgrcn699@gmail.com> | 2019-12-28 16:59:30 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-29 21:02:04 +0100 |
commit | 349695bf846e6193f78d1a8c8751ad38e9a3a501 (patch) | |
tree | 2d57890f0985151397ffe771b14cb93f5ac87864 /forms | |
parent | 53ba2c95e9ff2a102f29e81a62fcbab39dd0f3e0 (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: Ida50f8460a0f2b992674a359d5d7608b11412fbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85925
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Edit.hxx | 5 | ||||
-rw-r--r-- | forms/source/component/EditBase.hxx | 6 | ||||
-rw-r--r-- | forms/source/component/EventThread.hxx | 6 | ||||
-rw-r--r-- | forms/source/component/entrylisthelper.hxx | 6 | ||||
-rw-r--r-- | forms/source/component/errorbroadcaster.hxx | 6 |
5 files changed, 5 insertions, 24 deletions
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index 755ae41bc1c5..a19d6b93a09a 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_EDIT_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_EDIT_HXX +#pragma once #include <memory> #include "EditBase.hxx" @@ -166,6 +165,4 @@ private: } -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_EDIT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/EditBase.hxx b/forms/source/component/EditBase.hxx index 0a71fa228fcb..2cf9377d541b 100644 --- a/forms/source/component/EditBase.hxx +++ b/forms/source/component/EditBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_EDITBASE_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_EDITBASE_HXX +#pragma once #include <FormComponent.hxx> #include <com/sun/star/util/XNumberFormatter.hpp> @@ -96,7 +95,4 @@ protected: } - -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_EDITBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index eb3062080d73..cf7b73b9c794 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_EVENTTHREAD_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_EVENTTHREAD_HXX +#pragma once #include <sal/config.h> @@ -103,7 +102,4 @@ private: } // namespace frm - -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_EVENTTHREAD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/entrylisthelper.hxx b/forms/source/component/entrylisthelper.hxx index f358ba53273d..55ecd7969f8c 100644 --- a/forms/source/component/entrylisthelper.hxx +++ b/forms/source/component/entrylisthelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_ENTRYLISTHELPER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_ENTRYLISTHELPER_HXX +#pragma once #include <com/sun/star/form/binding/XListEntrySink.hpp> #include <com/sun/star/util/XRefreshable.hpp> @@ -195,7 +194,4 @@ namespace frm } // namespace frm - -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_ENTRYLISTHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/errorbroadcaster.hxx b/forms/source/component/errorbroadcaster.hxx index b60bfcecce0f..c8ad66c1ee17 100644 --- a/forms/source/component/errorbroadcaster.hxx +++ b/forms/source/component/errorbroadcaster.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX -#define INCLUDED_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX +#pragma once #include <cppuhelper/implbase1.hxx> #include <com/sun/star/sdb/XSQLErrorBroadcaster.hpp> @@ -58,7 +57,4 @@ namespace frm } // namespace frm - -#endif // INCLUDED_FORMS_SOURCE_COMPONENT_ERRORBROADCASTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |