[Libreoffice-commits] core.git: forms/source

Onur Yilmaz (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 20:11:48 UTC 2019


 forms/source/component/Button.hxx         |    6 +-----
 forms/source/component/CheckBox.hxx       |    6 +-----
 forms/source/component/Columns.hxx        |    5 +----
 forms/source/component/cachedrowset.hxx   |    6 +-----
 forms/source/component/clickableimage.hxx |    6 +-----
 5 files changed, 5 insertions(+), 24 deletions(-)

New commits:
commit 1c7fb79ad1c9356424ff1ed489cc2ac04cc1d68d
Author:     Onur Yilmaz <onuryilmaz0750 at gmail.com>
AuthorDate: Thu Dec 19 03:24:31 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 20 21:10:29 2019 +0100

    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 at collabora.com>

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: */


More information about the Libreoffice-commits mailing list