[Libreoffice-commits] core.git: dbaccess/source pyuno/inc

Batuhan Taskaya (via logerrit) logerrit at kemper.freedesktop.org
Sat Jan 25 18:10:08 UTC 2020


 dbaccess/source/sdbtools/connection/datasourcemetadata.hxx |    5 +----
 dbaccess/source/sdbtools/connection/objectnames.hxx        |    5 +----
 dbaccess/source/sdbtools/connection/tablename.hxx          |    5 +----
 dbaccess/source/sdbtools/inc/connectiondependent.hxx       |    5 +----
 dbaccess/source/sdbtools/inc/connectiontools.hxx           |    5 +----
 pyuno/inc/pyuno.hxx                                        |    4 +---
 6 files changed, 6 insertions(+), 23 deletions(-)

New commits:
commit 44139efb6a64735d3c6fe1f1b0f0007eff3a7504
Author:     Batuhan Taskaya <isidentical at gmail.com>
AuthorDate: Sat Jan 25 14:58:32 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Jan 25 19:09:34 2020 +0100

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

diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
index 7b7fa365b7c9..232f97f601ae 100644
--- a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
+++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_DATASOURCEMETADATA_HXX
-#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_DATASOURCEMETADATA_HXX
+#pragma once
 
 #include <connectiondependent.hxx>
 
@@ -67,6 +66,4 @@ namespace sdbtools
 
 } // namespace sdbtools
 
-#endif // INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_DATASOURCEMETADATA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/sdbtools/connection/objectnames.hxx b/dbaccess/source/sdbtools/connection/objectnames.hxx
index 9c42bd67b98f..439db0967101 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.hxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_OBJECTNAMES_HXX
-#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_OBJECTNAMES_HXX
+#pragma once
 
 #include <connectiondependent.hxx>
 
@@ -72,6 +71,4 @@ namespace sdbtools
 
 } // namespace sdbtools
 
-#endif // INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_OBJECTNAMES_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/sdbtools/connection/tablename.hxx b/dbaccess/source/sdbtools/connection/tablename.hxx
index 4b2f4313344f..3a7ece21a182 100644
--- a/dbaccess/source/sdbtools/connection/tablename.hxx
+++ b/dbaccess/source/sdbtools/connection/tablename.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_TABLENAME_HXX
-#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_TABLENAME_HXX
+#pragma once
 
 #include <connectiondependent.hxx>
 
@@ -82,6 +81,4 @@ namespace sdbtools
 
 } // namespace sdbtools
 
-#endif // INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_TABLENAME_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/sdbtools/inc/connectiondependent.hxx b/dbaccess/source/sdbtools/inc/connectiondependent.hxx
index 37fb95b16588..d315d70187fb 100644
--- a/dbaccess/source/sdbtools/inc/connectiondependent.hxx
+++ b/dbaccess/source/sdbtools/inc/connectiondependent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONDEPENDENT_HXX
-#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONDEPENDENT_HXX
+#pragma once
 
 #include <com/sun/star/sdbc/XConnection.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
@@ -133,6 +132,4 @@ namespace sdbtools
 
 } // namespace sdbtools
 
-#endif // INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONDEPENDENT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/sdbtools/inc/connectiontools.hxx b/dbaccess/source/sdbtools/inc/connectiontools.hxx
index 5e4837112b3f..a3dd610f861e 100644
--- a/dbaccess/source/sdbtools/inc/connectiontools.hxx
+++ b/dbaccess/source/sdbtools/inc/connectiontools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONTOOLS_HXX
-#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONTOOLS_HXX
+#pragma once
 
 #include "connectiondependent.hxx"
 
@@ -81,6 +80,4 @@ namespace sdbtools
 
 } // namespace sdbtools
 
-#endif // INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_CONNECTIONTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx
index e2cdc5f0329e..e50dde9bb119 100644
--- a/pyuno/inc/pyuno.hxx
+++ b/pyuno/inc/pyuno.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_PYUNO_INC_PYUNO_HXX
-#define INCLUDED_PYUNO_INC_PYUNO_HXX
+#pragma once
 
 #ifndef Py_PYTHON_H
 #include <Python.h>
@@ -323,6 +322,5 @@ public:
 };
 
 }
-#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list