[Libreoffice-commits] core.git: forms/source
Aleyna DoÄrucan (via logerrit)
logerrit at kemper.freedesktop.org
Sun Dec 29 20:02:32 UTC 2019
forms/source/component/Edit.hxx | 5 +----
forms/source/component/EditBase.hxx | 6 +-----
forms/source/component/EventThread.hxx | 6 +-----
forms/source/component/entrylisthelper.hxx | 6 +-----
forms/source/component/errorbroadcaster.hxx | 6 +-----
5 files changed, 5 insertions(+), 24 deletions(-)
New commits:
commit 349695bf846e6193f78d1a8c8751ad38e9a3a501
Author: Aleyna Doğrucan <aleynadgrcn699 at gmail.com>
AuthorDate: Sat Dec 28 16:59:30 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Dec 29 21:02:04 2019 +0100
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 at collabora.com>
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: */
More information about the Libreoffice-commits
mailing list