[Libreoffice-commits] core.git: forms/source
Aleyna DoÄrucan (via logerrit)
logerrit at kemper.freedesktop.org
Sun Dec 29 20:00:56 UTC 2019
forms/source/component/Currency.hxx | 6 +-----
forms/source/component/DatabaseForm.hxx | 7 +------
forms/source/component/Date.hxx | 6 +-----
3 files changed, 3 insertions(+), 16 deletions(-)
New commits:
commit 53ba2c95e9ff2a102f29e81a62fcbab39dd0f3e0
Author: Aleyna Doğrucan <aleynadgrcn699 at gmail.com>
AuthorDate: Sat Dec 28 15:40:24 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Dec 29 21:00:23 2019 +0100
tdf#124176: Use pragma once instead of include guards
Change-Id: I630771422da12cd4acb84836892ef7eff9f8f8eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85923
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/forms/source/component/Currency.hxx b/forms/source/component/Currency.hxx
index a0113fd1372e..1deca259533f 100644
--- a/forms/source/component/Currency.hxx
+++ b/forms/source/component/Currency.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CURRENCY_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_CURRENCY_HXX
+#pragma once
#include "EditBase.hxx"
@@ -76,7 +75,4 @@ public:
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CURRENCY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx
index 3e5c161f5743..3f347f0527b7 100644
--- a/forms/source/component/DatabaseForm.hxx
+++ b/forms/source/component/DatabaseForm.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_DATABASEFORM_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_DATABASEFORM_HXX
+#pragma once
#include <sal/config.h>
@@ -529,8 +528,4 @@ protected:
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_DATABASEFORM_HXX
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx
index 44ed97320ad5..36a04acc79fa 100644
--- a/forms/source/component/Date.hxx
+++ b/forms/source/component/Date.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_DATE_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_DATE_HXX
+#pragma once
#include "EditBase.hxx"
#include <limitedformats.hxx>
@@ -106,7 +105,4 @@ public:
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_DATE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list