summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCanberk TURAN <canberkkturann@gmail.com>2020-01-25 16:20:54 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-25 19:06:43 +0100
commit134507a663871d45951fdbd4291fa337ed70a1f4 (patch)
tree24838c7b8ab3168dcbf1e0928f1ac8ddb7c48e0f /connectivity
parenta44ca770302e8aa7079de96bda0c2fe2e7cc92bb (diff)
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@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/inc/calc/CCatalog.hxx5
-rw-r--r--connectivity/source/inc/calc/CConnection.hxx5
-rw-r--r--connectivity/source/inc/calc/CDatabaseMetaData.hxx5
-rw-r--r--connectivity/source/inc/calc/CDriver.hxx5
-rw-r--r--connectivity/source/inc/calc/CTable.hxx5
5 files changed, 5 insertions, 20 deletions
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: */