summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorAleyna Doğrucan <aleynadgrcn699@gmail.com>2019-12-28 15:40:24 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-29 21:00:23 +0100
commit53ba2c95e9ff2a102f29e81a62fcbab39dd0f3e0 (patch)
tree91a1ad17710fcfc4ce037604f21f3edd7ff85f75 /forms
parentc13f75de521cfb67ca4db431708f8cd366b23587 (diff)
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@collabora.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Currency.hxx6
-rw-r--r--forms/source/component/DatabaseForm.hxx7
-rw-r--r--forms/source/component/Date.hxx6
3 files changed, 3 insertions, 16 deletions
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: */