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

anirudhS (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 10 19:27:49 UTC 2021


 connectivity/source/drivers/macab/MacabResultSet.hxx         |    5 +----
 connectivity/source/drivers/macab/MacabResultSetMetaData.hxx |    5 +----
 connectivity/source/drivers/macab/MacabStatement.hxx         |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit f2254f11e5e381b959dcaab53a7ddb101a83b561
Author:     anirudhS <iit2019068 at iiita.ac.in>
AuthorDate: Sun Jan 10 21:04:03 2021 +0530
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Jan 10 20:27:13 2021 +0100

    tdf#124176 Use pragma once instead of include guards
    
    Change-Id: I609925d09086c764ae0360e08e0d74c8d4b7d484
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109053
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/connectivity/source/drivers/macab/MacabResultSet.hxx b/connectivity/source/drivers/macab/MacabResultSet.hxx
index d8cb200e84e6..d0d8061f417c 100644
--- a/connectivity/source/drivers/macab/MacabResultSet.hxx
+++ b/connectivity/source/drivers/macab/MacabResultSet.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSET_HXX
+#pragma once
 
 #include "MacabStatement.hxx"
 #include "MacabResultSetMetaData.hxx"
@@ -211,6 +210,4 @@ namespace connectivity::macab
         };
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
index 2d813d61ef5e..6db5f240ac24 100644
--- a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
+++ b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSETMETADATA_HXX
+#pragma once
 
 #include "MacabConnection.hxx"
 #include <connectivity/CommonTools.hxx>
@@ -79,6 +78,4 @@ namespace connectivity::macab
         };
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRESULTSETMETADATA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx
index 65b9b6afa531..83142fc56618 100644
--- a/connectivity/source/drivers/macab/MacabStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabStatement.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
+#pragma once
 
 #include "MacabConnection.hxx"
 #include "MacabHeader.hxx"
@@ -166,6 +165,4 @@ namespace connectivity::macab
         };
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list