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

Canberk TURAN (via logerrit) logerrit at kemper.freedesktop.org
Sat Jan 25 18:07:16 UTC 2020


 connectivity/source/inc/calc/CCatalog.hxx          |    5 +----
 connectivity/source/inc/calc/CConnection.hxx       |    5 +----
 connectivity/source/inc/calc/CDatabaseMetaData.hxx |    5 +----
 connectivity/source/inc/calc/CDriver.hxx           |    5 +----
 connectivity/source/inc/calc/CTable.hxx            |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 134507a663871d45951fdbd4291fa337ed70a1f4
Author:     Canberk TURAN <canberkkturann at gmail.com>
AuthorDate: Sat Jan 25 16:20:54 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Jan 25 19:06:43 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: I7b32821caa1ade54ead49205aded36f4707b3e01
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87400
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/connectivity/source/inc/calc/CCatalog.hxx b/connectivity/source/inc/calc/CCatalog.hxx
index 57051fe8e183..724b5fb129a0 100644
--- a/connectivity/source/inc/calc/CCatalog.hxx
+++ b/connectivity/source/inc/calc/CCatalog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCATALOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCATALOG_HXX
+#pragma once
 
 #include <file/FCatalog.hxx>
 
@@ -38,6 +37,4 @@ namespace connectivity
     }
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCATALOG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/calc/CConnection.hxx b/connectivity/source/inc/calc/CConnection.hxx
index cc8cc59702b9..3cd139635a2c 100644
--- a/connectivity/source/inc/calc/CConnection.hxx
+++ b/connectivity/source/inc/calc/CConnection.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCONNECTION_HXX
+#pragma once
 
 #include <memory>
 #include <file/FConnection.hxx>
@@ -148,6 +147,4 @@ namespace connectivity
     }
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCONNECTION_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/calc/CDatabaseMetaData.hxx b/connectivity/source/inc/calc/CDatabaseMetaData.hxx
index 7cda0f1c8ef2..a46d09c14b1c 100644
--- a/connectivity/source/inc/calc/CDatabaseMetaData.hxx
+++ b/connectivity/source/inc/calc/CDatabaseMetaData.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDATABASEMETADATA_HXX
+#pragma once
 
 #include <component/CDatabaseMetaData.hxx>
 
@@ -42,6 +41,4 @@ namespace connectivity
     }
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDATABASEMETADATA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/calc/CDriver.hxx b/connectivity/source/inc/calc/CDriver.hxx
index 89e92f4144c4..73b2f564c149 100644
--- a/connectivity/source/inc/calc/CDriver.hxx
+++ b/connectivity/source/inc/calc/CDriver.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDRIVER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDRIVER_HXX
+#pragma once
 
 #include <file/FDriver.hxx>
 
@@ -53,6 +52,4 @@ namespace connectivity
     }
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CDRIVER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/calc/CTable.hxx b/connectivity/source/inc/calc/CTable.hxx
index 570a6bc87134..057ba2a2354d 100644
--- a/connectivity/source/inc/calc/CTable.hxx
+++ b/connectivity/source/inc/calc/CTable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CTABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CTABLE_HXX
+#pragma once
 
 #include <component/CTable.hxx>
 #include <tools/date.hxx>
@@ -76,6 +75,4 @@ namespace connectivity
     }
 }
 
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CTABLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list