summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOnur Yilmaz <onuryilmaz0750@gmail.com>2019-12-19 03:24:31 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-20 21:10:29 +0100
commit1c7fb79ad1c9356424ff1ed489cc2ac04cc1d68d (patch)
tree5f9095aa5d0c9b61076c3e4fc15349cd1f45ae5a /forms
parent186fdf0d20162568891763f08e7f99a38535a699 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I083ae8efad8bdf116ef98038fa1e15037655aba9 Reviewed-on: https://gerrit.libreoffice.org/85459 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Button.hxx6
-rw-r--r--forms/source/component/CheckBox.hxx6
-rw-r--r--forms/source/component/Columns.hxx5
-rw-r--r--forms/source/component/cachedrowset.hxx6
-rw-r--r--forms/source/component/clickableimage.hxx6
5 files changed, 5 insertions, 24 deletions
diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx
index 341ea2dc2c00..fa77e4abd3a7 100644
--- a/forms/source/component/Button.hxx
+++ b/forms/source/component/Button.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
+#pragma once
#include "clickableimage.hxx"
#include <togglestate.hxx>
@@ -192,7 +191,4 @@ private:
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_BUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/CheckBox.hxx b/forms/source/component/CheckBox.hxx
index ea2e633a28ca..7f4ab7103153 100644
--- a/forms/source/component/CheckBox.hxx
+++ b/forms/source/component/CheckBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
+#pragma once
#include "refvaluecomponent.hxx"
@@ -74,7 +73,4 @@ public:
}
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CHECKBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx
index 2db0bfb2218a..c24ca8a013de 100644
--- a/forms/source/component/Columns.hxx
+++ b/forms/source/component/Columns.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
+#pragma once
#include <cloneable.hxx>
#include <frm_strings.hxx>
@@ -198,6 +197,4 @@ DECL_COLUMN(FormattedFieldColumn)
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COLUMNS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/cachedrowset.hxx b/forms/source/component/cachedrowset.hxx
index 03dd635c724e..9e61e57596e0 100644
--- a/forms/source/component/cachedrowset.hxx
+++ b/forms/source/component/cachedrowset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
@@ -78,7 +77,4 @@ namespace frm
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CACHEDROWSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx
index 30342d060601..d4a5065e0383 100644
--- a/forms/source/component/clickableimage.hxx
+++ b/forms/source/component/clickableimage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
+#pragma once
#include <memory>
#include <FormComponent.hxx>
@@ -275,7 +274,4 @@ namespace frm
} // namespace frm
-
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */