[Libreoffice-commits] core.git: connectivity/inc connectivity/source connectivity/workben
Vincent LE GARREC (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 23 11:13:17 UTC 2021
connectivity/inc/bitmaps.hlst | 5 +----
connectivity/inc/strings.hxx | 5 +----
connectivity/source/drivers/evoab2/EApi.h | 4 +---
connectivity/source/drivers/evoab2/NCatalog.hxx | 5 +----
connectivity/source/drivers/evoab2/NColumns.hxx | 5 +----
connectivity/source/drivers/evoab2/NConnection.hxx | 5 +----
connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx | 5 +----
connectivity/source/drivers/evoab2/NDriver.hxx | 5 +----
connectivity/source/drivers/evoab2/NPreparedStatement.hxx | 5 +----
connectivity/source/drivers/evoab2/NResultSet.hxx | 5 +----
connectivity/source/drivers/evoab2/NResultSetMetaData.hxx | 5 +----
connectivity/source/drivers/evoab2/NStatement.hxx | 5 +----
connectivity/source/drivers/evoab2/NTable.hxx | 5 +----
connectivity/source/drivers/evoab2/NTables.hxx | 5 +----
connectivity/source/drivers/hsqldb/HTerminateListener.hxx | 5 +----
connectivity/source/drivers/hsqldb/accesslog.hxx | 5 +----
connectivity/source/drivers/macab/MacabAddressBook.hxx | 5 +----
connectivity/source/drivers/macab/MacabCatalog.hxx | 5 +----
connectivity/source/drivers/macab/MacabColumns.hxx | 5 +----
connectivity/source/drivers/macab/MacabConnection.hxx | 5 +----
connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx | 5 +----
connectivity/source/drivers/macab/MacabDriver.hxx | 5 +----
connectivity/source/drivers/macab/MacabGroup.hxx | 5 +----
connectivity/source/drivers/macab/MacabHeader.hxx | 5 +----
connectivity/source/drivers/macab/MacabPreparedStatement.hxx | 5 +----
connectivity/source/drivers/macab/MacabRecord.hxx | 5 +----
connectivity/source/drivers/macab/MacabRecords.hxx | 5 +----
connectivity/source/drivers/macab/MacabTable.hxx | 5 +----
connectivity/source/drivers/macab/MacabTables.hxx | 5 +----
connectivity/source/drivers/macab/macabcondition.hxx | 5 +----
connectivity/source/drivers/macab/macaborder.hxx | 5 +----
connectivity/source/drivers/macab/macabutilities.hxx | 5 +----
connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx | 5 +----
connectivity/source/drivers/mozab/bootstrap/MNSFolders.hxx | 5 +----
connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_connection.hxx | 4 +---
connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_driver.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_general.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx | 4 +---
connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx | 4 +---
connectivity/source/drivers/mysqlc/mysqlc_propertyids.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx | 4 +---
connectivity/source/drivers/mysqlc/mysqlc_resultsetmetadata.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_statement.hxx | 4 +---
connectivity/source/drivers/mysqlc/mysqlc_subcomponent.hxx | 5 +----
connectivity/source/drivers/mysqlc/mysqlc_types.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_array.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_baseresultset.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_connection.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_databasemetadata.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_driver.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_preparedstatement.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_resultset.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_statement.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_statics.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_tools.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_updateableresultset.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xbase.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xcolumn.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xcolumns.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xcontainer.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xindex.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xindexcolumn.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xindexes.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xkey.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xkeycolumn.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xkeys.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xtable.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xtables.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xuser.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xusers.hxx | 4 +---
connectivity/source/drivers/postgresql/pq_xview.hxx | 5 +----
connectivity/source/drivers/postgresql/pq_xviews.hxx | 4 +---
connectivity/source/inc/OColumn.hxx | 5 +----
connectivity/source/inc/OTypeInfo.hxx | 5 +----
connectivity/source/inc/ParameterSubstitution.hxx | 5 +----
connectivity/source/inc/RowFunctionParser.hxx | 5 +----
connectivity/source/inc/TConnection.hxx | 4 +---
connectivity/source/inc/TDatabaseMetaDataBase.hxx | 4 +---
connectivity/source/inc/TKeyValue.hxx | 5 +----
connectivity/source/inc/TPrivilegesResultSet.hxx | 4 +---
connectivity/source/inc/TResultSetHelper.hxx | 5 +----
connectivity/source/inc/TSkipDeletedSet.hxx | 4 +---
connectivity/source/inc/TSortIndex.hxx | 4 +---
connectivity/source/inc/ado/ACallableStatement.hxx | 4 +---
connectivity/source/inc/ado/ACatalog.hxx | 4 +---
connectivity/source/inc/ado/AColumn.hxx | 4 +---
connectivity/source/inc/ado/AColumns.hxx | 4 +---
connectivity/source/inc/ado/AConnection.hxx | 4 +---
connectivity/source/inc/ado/ADatabaseMetaData.hxx | 5 +----
connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx | 4 +---
connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx | 4 +---
connectivity/source/inc/ado/ADriver.hxx | 4 +---
connectivity/source/inc/ado/AGroup.hxx | 4 +---
connectivity/source/inc/ado/AGroups.hxx | 5 +----
connectivity/source/inc/ado/AIndex.hxx | 4 +---
connectivity/source/inc/ado/AIndexes.hxx | 5 +----
connectivity/source/inc/ado/AKey.hxx | 4 +---
connectivity/source/inc/ado/AKeys.hxx | 5 +----
connectivity/source/inc/ado/APreparedStatement.hxx | 4 +---
connectivity/source/inc/ado/AResultSet.hxx | 4 +---
connectivity/source/inc/ado/AResultSetMetaData.hxx | 4 +---
connectivity/source/inc/ado/AStatement.hxx | 4 +---
connectivity/source/inc/ado/ATable.hxx | 4 +---
connectivity/source/inc/ado/ATables.hxx | 4 +---
connectivity/source/inc/ado/AUser.hxx | 4 +---
connectivity/source/inc/ado/AUsers.hxx | 5 +----
connectivity/source/inc/ado/AView.hxx | 5 +----
connectivity/source/inc/ado/AViews.hxx | 4 +---
connectivity/source/inc/ado/Aolevariant.hxx | 5 +----
connectivity/source/inc/ado/Aolewrap.hxx | 5 +----
connectivity/source/inc/ado/Awrapado.hxx | 5 +----
connectivity/source/inc/ado/WrapCatalog.hxx | 5 +----
connectivity/source/inc/ado/WrapColumn.hxx | 5 +----
connectivity/source/inc/ado/WrapIndex.hxx | 5 +----
connectivity/source/inc/ado/WrapKey.hxx | 5 +----
connectivity/source/inc/ado/WrapTable.hxx | 5 +----
connectivity/source/inc/ado/WrapTypeDefs.hxx | 5 +----
connectivity/source/inc/ado/adoimp.hxx | 5 +----
connectivity/source/inc/component/CColumns.hxx | 5 +----
connectivity/source/inc/component/CDatabaseMetaData.hxx | 5 +----
connectivity/source/inc/component/CPreparedStatement.hxx | 5 +----
connectivity/source/inc/component/CResultSet.hxx | 5 +----
connectivity/source/inc/component/CStatement.hxx | 5 +----
connectivity/source/inc/component/CTable.hxx | 5 +----
connectivity/source/inc/dbase/DCatalog.hxx | 4 +---
connectivity/source/inc/dbase/DColumns.hxx | 4 +---
connectivity/source/inc/dbase/DConnection.hxx | 4 +---
connectivity/source/inc/dbase/DDatabaseMetaData.hxx | 4 +---
connectivity/source/inc/dbase/DDriver.hxx | 4 +---
connectivity/source/inc/dbase/DIndex.hxx | 5 +----
connectivity/source/inc/dbase/DIndexColumns.hxx | 4 +---
connectivity/source/inc/dbase/DIndexIter.hxx | 4 +---
connectivity/source/inc/dbase/DIndexes.hxx | 4 +---
connectivity/source/inc/dbase/DPreparedStatement.hxx | 5 +----
connectivity/source/inc/dbase/DResultSet.hxx | 4 +---
connectivity/source/inc/dbase/DStatement.hxx | 5 +----
connectivity/source/inc/dbase/DTable.hxx | 4 +---
connectivity/source/inc/dbase/DTables.hxx | 4 +---
connectivity/source/inc/dbase/dindexnode.hxx | 5 +----
connectivity/source/inc/file/FCatalog.hxx | 4 +---
connectivity/source/inc/file/FColumns.hxx | 4 +---
connectivity/source/inc/file/FConnection.hxx | 4 +---
connectivity/source/inc/file/FDatabaseMetaData.hxx | 4 +---
connectivity/source/inc/file/FDateFunctions.hxx | 5 +----
connectivity/source/inc/file/FDriver.hxx | 4 +---
connectivity/source/inc/file/FNumericFunctions.hxx | 5 +----
connectivity/source/inc/file/FPreparedStatement.hxx | 4 +---
connectivity/source/inc/file/FResultSet.hxx | 4 +---
connectivity/source/inc/file/FResultSetMetaData.hxx | 4 +---
connectivity/source/inc/file/FStatement.hxx | 4 +---
connectivity/source/inc/file/FStringFunctions.hxx | 5 +----
connectivity/source/inc/file/FTable.hxx | 4 +---
connectivity/source/inc/file/FTables.hxx | 4 +---
connectivity/source/inc/file/fanalyzer.hxx | 4 +---
connectivity/source/inc/file/fcode.hxx | 5 +----
connectivity/source/inc/file/fcomp.hxx | 4 +---
connectivity/source/inc/file/filedllapi.hxx | 5 +----
connectivity/source/inc/file/quotedstring.hxx | 5 +----
connectivity/source/inc/flat/ECatalog.hxx | 4 +---
connectivity/source/inc/flat/EColumns.hxx | 4 +---
connectivity/source/inc/flat/EConnection.hxx | 4 +---
connectivity/source/inc/flat/EDatabaseMetaData.hxx | 4 +---
connectivity/source/inc/flat/EDriver.hxx | 4 +---
connectivity/source/inc/flat/EPreparedStatement.hxx | 5 +----
connectivity/source/inc/flat/EResultSet.hxx | 4 +---
connectivity/source/inc/flat/EStatement.hxx | 5 +----
connectivity/source/inc/flat/ETable.hxx | 4 +---
connectivity/source/inc/flat/ETables.hxx | 4 +---
connectivity/source/inc/hsqldb/HCatalog.hxx | 4 +---
connectivity/source/inc/hsqldb/HColumns.hxx | 4 +---
connectivity/source/inc/hsqldb/HConnection.hxx | 4 +---
connectivity/source/inc/hsqldb/HDriver.hxx | 5 +----
connectivity/source/inc/hsqldb/HStorageAccess.hxx | 5 +----
connectivity/source/inc/hsqldb/HStorageMap.hxx | 5 +----
connectivity/source/inc/hsqldb/HTable.hxx | 4 +---
connectivity/source/inc/hsqldb/HTables.hxx | 4 +---
connectivity/source/inc/hsqldb/HTools.hxx | 5 +----
connectivity/source/inc/hsqldb/HUser.hxx | 4 +---
connectivity/source/inc/hsqldb/HUsers.hxx | 5 +----
connectivity/source/inc/hsqldb/HView.hxx | 5 +----
connectivity/source/inc/hsqldb/HViews.hxx | 4 +---
connectivity/source/inc/java/ContextClassLoader.hxx | 5 +----
connectivity/source/inc/java/GlobalRef.hxx | 5 +----
connectivity/source/inc/java/LocalRef.hxx | 5 +----
connectivity/source/inc/java/io/InputStream.hxx | 4 +---
connectivity/source/inc/java/io/Reader.hxx | 4 +---
connectivity/source/inc/java/lang/Boolean.hxx | 5 +----
connectivity/source/inc/java/lang/Class.hxx | 5 +----
connectivity/source/inc/java/lang/Exception.hxx | 4 +---
connectivity/source/inc/java/lang/Object.hxx | 4 +---
connectivity/source/inc/java/lang/String.hxx | 5 +----
connectivity/source/inc/java/lang/Throwable.hxx | 4 +---
connectivity/source/inc/java/math/BigDecimal.hxx | 5 +----
connectivity/source/inc/java/sql/Array.hxx | 4 +---
connectivity/source/inc/java/sql/Blob.hxx | 4 +---
connectivity/source/inc/java/sql/Clob.hxx | 4 +---
connectivity/source/inc/java/sql/Connection.hxx | 4 +---
connectivity/source/inc/java/sql/ConnectionLog.hxx | 5 +----
connectivity/source/inc/java/sql/DatabaseMetaData.hxx | 4 +---
connectivity/source/inc/java/sql/Driver.hxx | 4 +---
connectivity/source/inc/java/sql/JStatement.hxx | 4 +---
connectivity/source/inc/java/sql/Ref.hxx | 4 +---
connectivity/source/inc/java/sql/ResultSet.hxx | 4 +---
connectivity/source/inc/java/sql/SQLException.hxx | 4 +---
connectivity/source/inc/java/sql/SQLWarning.hxx | 4 +---
connectivity/source/inc/java/sql/Timestamp.hxx | 4 +---
connectivity/source/inc/java/tools.hxx | 5 +----
connectivity/source/inc/java/util/Date.hxx | 4 +---
connectivity/source/inc/java/util/Property.hxx | 5 +----
connectivity/source/inc/mysql/YCatalog.hxx | 4 +---
connectivity/source/inc/mysql/YColumns.hxx | 4 +---
connectivity/source/inc/mysql/YDriver.hxx | 5 +----
connectivity/source/inc/mysql/YTable.hxx | 4 +---
connectivity/source/inc/mysql/YTables.hxx | 4 +---
connectivity/source/inc/mysql/YUser.hxx | 4 +---
connectivity/source/inc/mysql/YUsers.hxx | 5 +----
connectivity/source/inc/mysql/YViews.hxx | 4 +---
connectivity/source/inc/odbc/OBoundParam.hxx | 4 +---
connectivity/source/inc/odbc/OConnection.hxx | 4 +---
connectivity/source/inc/odbc/ODatabaseMetaData.hxx | 4 +---
connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx | 4 +---
connectivity/source/inc/odbc/ODriver.hxx | 4 +---
connectivity/source/inc/odbc/OFunctions.hxx | 5 +----
connectivity/source/inc/odbc/OPreparedStatement.hxx | 4 +---
connectivity/source/inc/odbc/OResultSet.hxx | 4 +---
connectivity/source/inc/odbc/OResultSetMetaData.hxx | 4 +---
connectivity/source/inc/odbc/OStatement.hxx | 4 +---
connectivity/source/inc/odbc/OTools.hxx | 4 +---
connectivity/source/inc/odbc/odbcbasedllapi.hxx | 5 +----
connectivity/source/inc/propertyids.hxx | 5 +----
connectivity/source/inc/resource/sharedresources.hxx | 5 +----
connectivity/source/inc/writer/WCatalog.hxx | 5 +----
connectivity/source/inc/writer/WConnection.hxx | 5 +----
connectivity/source/inc/writer/WDatabaseMetaData.hxx | 5 +----
connectivity/source/inc/writer/WDriver.hxx | 5 +----
connectivity/source/inc/writer/WTable.hxx | 5 +----
connectivity/source/inc/writer/WTables.hxx | 5 +----
connectivity/source/manager/mdrivermanager.hxx | 5 +----
connectivity/workben/skeleton/SResultSet.hxx | 4 +---
247 files changed, 247 insertions(+), 866 deletions(-)
New commits:
commit 6069a66690a10550d54f7641cda1aa83560ff019
Author: Vincent LE GARREC <libreoffice at le-garrec.fr>
AuthorDate: Thu Mar 4 22:38:38 2021 +0100
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Tue Mar 23 12:12:27 2021 +0100
tdf#124176 Use pragma once in connectivity
Change-Id: I4a57cd6dcbc180fe9a378d2713c687a66476ee79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111979
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/connectivity/inc/bitmaps.hlst b/connectivity/inc/bitmaps.hlst
index d51533745e2e..e2bf53892d3e 100644
--- a/connectivity/inc/bitmaps.hlst
+++ b/connectivity/inc/bitmaps.hlst
@@ -7,11 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CONNECTIVITY_INC_BITMAPS_HRC
-#define INCLUDED_CONNECTIVITY_INC_BITMAPS_HRC
+#pragma once
#define LINKED_TEXT_TABLE_IMAGE_RESOURCE "dbaccess/res/linked_text_table.png"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/connectivity/inc/strings.hxx b/connectivity/inc/strings.hxx
index c81b2a08b74b..5a08f67c5114 100644
--- a/connectivity/inc/strings.hxx
+++ b/connectivity/inc/strings.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CONNECTIVITY_INC_STRINGS_HXX
-#define INCLUDED_CONNECTIVITY_INC_STRINGS_HXX
+#pragma once
// = log messages for the JDBC driver
@@ -72,6 +71,4 @@
#define STR_DB_NOT_CONNECTED_STATE "08003"
#define STR_DATA_CANNOT_SELECT_UNFILTERED_STATE "IM001"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/connectivity/source/drivers/evoab2/EApi.h b/connectivity/source/drivers/evoab2/EApi.h
index 8c05f95fa2ce..4d17922aab30 100644
--- a/connectivity/source/drivers/evoab2/EApi.h
+++ b/connectivity/source/drivers/evoab2/EApi.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_EAPI_H
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_EAPI_H
+#pragma once
#include <glib-object.h>
// Initializes the API below, returns false if not available
@@ -157,6 +156,5 @@ ESourceRegistry *get_e_source_registry();
bool isSourceBackend(ESource *pSource, const char *backendname);
G_END_DECLS
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NCatalog.hxx b/connectivity/source/drivers/evoab2/NCatalog.hxx
index d54ad68a2a9a..b2bd8084474c 100644
--- a/connectivity/source/drivers/evoab2/NCatalog.hxx
+++ b/connectivity/source/drivers/evoab2/NCatalog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCATALOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCATALOG_HXX
+#pragma once
#include <sdbcx/VCatalog.hxx>
@@ -41,6 +40,4 @@ namespace connectivity::evoab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCATALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NColumns.hxx b/connectivity/source/drivers/evoab2/NColumns.hxx
index be5996c6ebec..f768c51bb046 100644
--- a/connectivity/source/drivers/evoab2/NColumns.hxx
+++ b/connectivity/source/drivers/evoab2/NColumns.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCOLUMNS_HXX
+#pragma once
#include "NTable.hxx"
#include <connectivity/sdbcx/VCollection.hxx>
@@ -42,6 +41,4 @@ namespace connectivity::evoab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCOLUMNS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NConnection.hxx b/connectivity/source/drivers/evoab2/NConnection.hxx
index ccd9fa7bc04c..4d6604f0975c 100644
--- a/connectivity/source/drivers/evoab2/NConnection.hxx
+++ b/connectivity/source/drivers/evoab2/NConnection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCONNECTION_HXX
+#pragma once
#include "NDriver.hxx"
#include <com/sun/star/sdbc/SQLWarning.hpp>
@@ -104,6 +103,4 @@ namespace connectivity::evoab {
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NCONNECTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx
index cbfed176fabc..b5f504425d95 100644
--- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx
+++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDATABASEMETADATA_HXX
+#pragma once
#include <sal/config.h>
@@ -218,6 +217,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDATABASEMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx
index 2780a05ec34d..a5c8c8ee76bd 100644
--- a/connectivity/source/drivers/evoab2/NDriver.hxx
+++ b/connectivity/source/drivers/evoab2/NDriver.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDRIVER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDRIVER_HXX
+#pragma once
#include <sal/config.h>
@@ -72,6 +71,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NDRIVER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
index 71f7cdf142b6..945238aaa204 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NPREPAREDSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NPREPAREDSTATEMENT_HXX
+#pragma once
#include "NStatement.hxx"
#include "NConnection.hxx"
@@ -106,6 +105,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NPREPAREDSTATEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NResultSet.hxx b/connectivity/source/drivers/evoab2/NResultSet.hxx
index 034dcc439de0..6e77df8f1ca1 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSET_HXX
+#pragma once
#include <memory>
@@ -180,6 +179,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
index 9d8dc6db3e23..e54a608acec0 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSETMETADATA_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase.hxx>
@@ -75,6 +74,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NRESULTSETMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx
index 7902e15cf35d..965a8e6e87db 100644
--- a/connectivity/source/drivers/evoab2/NStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NSTATEMENT_HXX
+#pragma once
#include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
@@ -271,6 +270,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NSTATEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NTable.hxx b/connectivity/source/drivers/evoab2/NTable.hxx
index 2b38171b398f..0aa30815b9b5 100644
--- a/connectivity/source/drivers/evoab2/NTable.hxx
+++ b/connectivity/source/drivers/evoab2/NTable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLE_HXX
+#pragma once
#include "NConnection.hxx"
#include <connectivity/sdbcx/VTable.hxx>
@@ -51,6 +50,4 @@ namespace connectivity::evoab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/evoab2/NTables.hxx b/connectivity/source/drivers/evoab2/NTables.hxx
index 593367c73a86..7e200ff6aee2 100644
--- a/connectivity/source/drivers/evoab2/NTables.hxx
+++ b/connectivity/source/drivers/evoab2/NTables.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLES_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -41,6 +40,4 @@ namespace connectivity::evoab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_EVOAB2_NTABLES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/hsqldb/HTerminateListener.hxx b/connectivity/source/drivers/hsqldb/HTerminateListener.hxx
index 63d69b29e64b..baf66e90eb1e 100644
--- a/connectivity/source/drivers/hsqldb/HTerminateListener.hxx
+++ b/connectivity/source/drivers/hsqldb/HTerminateListener.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_HTERMINATELISTENER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_HTERMINATELISTENER_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XTerminateListener.hpp>
@@ -44,6 +43,4 @@ namespace connectivity::hsqldb
} // namespace connectivity::hsqldb
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_HTERMINATELISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/hsqldb/accesslog.hxx b/connectivity/source/drivers/hsqldb/accesslog.hxx
index a4dc41f2d35e..81db98ae7750 100644
--- a/connectivity/source/drivers/hsqldb/accesslog.hxx
+++ b/connectivity/source/drivers/hsqldb/accesslog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_ACCESSLOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_ACCESSLOG_HXX
+#pragma once
#ifdef HSQLDB_DBG
@@ -133,6 +132,4 @@ namespace connectivity::hsqldb
} }
#endif
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_HSQLDB_ACCESSLOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabAddressBook.hxx b/connectivity/source/drivers/macab/MacabAddressBook.hxx
index 23fec939f701..a23e0c1eb2e7 100644
--- a/connectivity/source/drivers/macab/MacabAddressBook.hxx
+++ b/connectivity/source/drivers/macab/MacabAddressBook.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABADDRESSBOOK_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABADDRESSBOOK_HXX
+#pragma once
#include "MacabRecords.hxx"
#include "MacabGroup.hxx"
@@ -58,6 +57,4 @@ namespace connectivity::macab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABADDRESSBOOK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabCatalog.hxx b/connectivity/source/drivers/macab/MacabCatalog.hxx
index 88aad76bede3..1757bb908851 100644
--- a/connectivity/source/drivers/macab/MacabCatalog.hxx
+++ b/connectivity/source/drivers/macab/MacabCatalog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCATALOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCATALOG_HXX
+#pragma once
#include <sdbcx/VCatalog.hxx>
@@ -49,6 +48,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCATALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabColumns.hxx b/connectivity/source/drivers/macab/MacabColumns.hxx
index 1a85da155d62..7123af89d30a 100644
--- a/connectivity/source/drivers/macab/MacabColumns.hxx
+++ b/connectivity/source/drivers/macab/MacabColumns.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCOLUMNS_HXX
+#pragma once
#include "MacabTable.hxx"
#include <connectivity/sdbcx/VCollection.hxx>
@@ -40,6 +39,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCOLUMNS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabConnection.hxx b/connectivity/source/drivers/macab/MacabConnection.hxx
index 73ee0a731a76..b18d4778e2da 100644
--- a/connectivity/source/drivers/macab/MacabConnection.hxx
+++ b/connectivity/source/drivers/macab/MacabConnection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONNECTION_HXX
+#pragma once
#include <map>
#include <connectivity/CommonTools.hxx>
@@ -110,6 +109,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONNECTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
index 46cb6769bf0e..662be1c018ce 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDATABASEMETADATA_HXX
+#pragma once
#include "MacabConnection.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -193,6 +192,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDATABASEMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx
index ca7707228164..f75391dedb46 100644
--- a/connectivity/source/drivers/macab/MacabDriver.hxx
+++ b/connectivity/source/drivers/macab/MacabDriver.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDRIVER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDRIVER_HXX
+#pragma once
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -160,6 +159,4 @@ namespace connectivity::macab
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABDRIVER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabGroup.hxx b/connectivity/source/drivers/macab/MacabGroup.hxx
index 65240661b138..ddcd47b46423 100644
--- a/connectivity/source/drivers/macab/MacabGroup.hxx
+++ b/connectivity/source/drivers/macab/MacabGroup.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABGROUP_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABGROUP_HXX
+#pragma once
#include "MacabRecords.hxx"
@@ -36,6 +35,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABGROUP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabHeader.hxx b/connectivity/source/drivers/macab/MacabHeader.hxx
index 839a755fb6f1..a230d237ab72 100644
--- a/connectivity/source/drivers/macab/MacabHeader.hxx
+++ b/connectivity/source/drivers/macab/MacabHeader.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABHEADER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABHEADER_HXX
+#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABHEADER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
index 42c401efb1dd..6e649bf647f3 100644
--- a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABPREPAREDSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABPREPAREDSTATEMENT_HXX
+#pragma once
#include "MacabStatement.hxx"
#include "MacabResultSetMetaData.hxx"
@@ -109,6 +108,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABPREPAREDSTATEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabRecord.hxx b/connectivity/source/drivers/macab/MacabRecord.hxx
index 3183ec9109e1..5184eefc8ab4 100644
--- a/connectivity/source/drivers/macab/MacabRecord.hxx
+++ b/connectivity/source/drivers/macab/MacabRecord.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORD_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORD_HXX
+#pragma once
#include <sal/config.h>
@@ -69,6 +68,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORD_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabRecords.hxx b/connectivity/source/drivers/macab/MacabRecords.hxx
index 7e7da60a5486..004d10b1b6d2 100644
--- a/connectivity/source/drivers/macab/MacabRecords.hxx
+++ b/connectivity/source/drivers/macab/MacabRecords.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORDS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORDS_HXX
+#pragma once
#include <sal/config.h>
@@ -124,6 +123,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABRECORDS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabTable.hxx b/connectivity/source/drivers/macab/MacabTable.hxx
index 3db8ab0aae50..897d589cc697 100644
--- a/connectivity/source/drivers/macab/MacabTable.hxx
+++ b/connectivity/source/drivers/macab/MacabTable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLE_HXX
+#pragma once
#include "MacabConnection.hxx"
#include <connectivity/sdbcx/VTable.hxx>
@@ -52,6 +51,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/MacabTables.hxx b/connectivity/source/drivers/macab/MacabTables.hxx
index 43922585e46b..0b0d841b7a43 100644
--- a/connectivity/source/drivers/macab/MacabTables.hxx
+++ b/connectivity/source/drivers/macab/MacabTables.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLES_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -47,6 +46,4 @@ namespace connectivity::macab
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABTABLES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/macabcondition.hxx b/connectivity/source/drivers/macab/macabcondition.hxx
index 15c2478197b8..32e7b7071cf3 100644
--- a/connectivity/source/drivers/macab/macabcondition.hxx
+++ b/connectivity/source/drivers/macab/macabcondition.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONDITION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONDITION_HXX
+#pragma once
#include <sal/config.h>
@@ -163,6 +162,4 @@ class MacabConditionAnd : public MacabConditionBoolean
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABCONDITION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/macaborder.hxx b/connectivity/source/drivers/macab/macaborder.hxx
index dfdf5ce5a950..e5eb6c987ce2 100644
--- a/connectivity/source/drivers/macab/macaborder.hxx
+++ b/connectivity/source/drivers/macab/macaborder.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABORDER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABORDER_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "MacabHeader.hxx"
@@ -62,6 +61,4 @@ namespace connectivity::macab
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/macab/macabutilities.hxx b/connectivity/source/drivers/macab/macabutilities.hxx
index d0027c8da6ed..abf65c73d152 100644
--- a/connectivity/source/drivers/macab/macabutilities.hxx
+++ b/connectivity/source/drivers/macab/macabutilities.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABUTILITIES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABUTILITIES_HXX
+#pragma once
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
@@ -135,6 +134,4 @@ namespace connectivity::macab
void impl_throwError(const char* pErrorId);
}
-#endif // _ CONNECTIVITY_MACAB_UTILITIES_HXX_
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
index e3d3fa7e4aac..e01a2bb9612c 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MMOZILLABOOTSTRAP_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MMOZILLABOOTSTRAP_HXX
+#pragma once
#include <sal/config.h>
@@ -76,6 +75,4 @@ namespace connectivity::mozab
}
-#endif // CONNECTIVITY_SMozillaBootstrap_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.hxx
index 50c992f230af..90674a0f4e62 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSFOLDERS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSFOLDERS_HXX
+#pragma once
#include <com/sun/star/mozilla/MozillaProductType.hpp>
@@ -26,6 +25,4 @@
OUString getRegistryDir(css::mozilla::MozillaProductType product);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
index 210553b73bcc..27746364a33a 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSINIPARSER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSINIPARSER_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -52,6 +51,4 @@ public:
explicit IniParser(OUString const & rIniName);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx b/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx
index 283b1d964d4b..c75be4724654 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX
+#pragma once
#include <memory>
#include "mysqlc_subcomponent.hxx"
@@ -182,6 +181,5 @@ public:
//inline OUString getPattern(OUString p) { return (p.getLength()) ? p : ASC2OU("%"); }
} /* mysqlc */
} /* connectivity */
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.hxx b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.hxx
index 18109d359ca0..b56a460e0843 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_DATABASEMETADATA_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_DATABASEMETADATA_HXX
+#pragma once
#include "mysqlc_connection.hxx"
@@ -231,6 +230,4 @@ public:
};
}
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_DATABASEMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx b/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx
index e5d199fcad6f..fec80288b59a 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_driver.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_DRIVER_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_DRIVER_HXX
+#pragma once
#include "mysqlc_connection.hxx"
@@ -87,6 +86,4 @@ public:
} /* connectivity::mysqlc */
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_DRIVER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
index c00a11f412c5..2a78c7628879 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_GENERAL_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_GENERAL_HXX
+#pragma once
#include <config_lgpl.h>
@@ -114,6 +113,4 @@ sal_Int32 mysqlStrToOOOType(const OUString& sType);
OUString convert(const ::std::string& _string, const rtl_TextEncoding encoding);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
index 511a053b8e1a..ef4a5319f4c1 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSET_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSET_HXX
+#pragma once
#include "mysqlc_preparedstatement.hxx"
#include "mysqlc_statement.hxx"
@@ -250,6 +249,5 @@ private:
};
} /* connectivity::mysqlc */
-#endif // CONNECTIVITY_SRESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
index 78471b1e3208..bba8a0b4fcc2 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_PREPAREDSTATEMENT_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_PREPAREDSTATEMENT_HXX
+#pragma once
#include "mysqlc_statement.hxx"
#include "mysqlc_resultset.hxx"
@@ -154,6 +153,5 @@ public:
};
} /* connectivity::mysqlc */
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_PREPAREDSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_propertyids.hxx b/connectivity/source/drivers/mysqlc/mysqlc_propertyids.hxx
index 8d8b541cfa24..113b28a2fee7 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_propertyids.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_propertyids.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_PROPERTYIDS_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_PROPERTYIDS_HXX
+#pragma once
// this define has to be set to split the names into different dll's or so's
// every dll has his own set of property names
@@ -42,6 +41,4 @@ enum
} /* connectivity::mysqlc */
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_PROPERTYIDS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx b/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
index 3854ad92944b..6c815d06c53a 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_resultset.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSET_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSET_HXX
+#pragma once
#include "mysqlc_preparedstatement.hxx"
#include "mysqlc_statement.hxx"
@@ -272,6 +271,5 @@ private:
};
} /* connectivity::mysqlc */
-#endif // CONNECTIVITY_SRESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_resultsetmetadata.hxx b/connectivity/source/drivers/mysqlc/mysqlc_resultsetmetadata.hxx
index d08d21c47d92..c2e5db5f3375 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_resultsetmetadata.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_resultsetmetadata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSETMETADATA_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSETMETADATA_HXX
+#pragma once
#include "mysqlc_connection.hxx"
@@ -101,6 +100,4 @@ public:
};
}
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_RESULTSETMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx b/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
index c85e054dd732..f4166955ff9e 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_statement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_STATEMENT_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_STATEMENT_HXX
+#pragma once
#include "mysqlc_connection.hxx"
#include "mysqlc_subcomponent.hxx"
@@ -172,6 +171,5 @@ public:
// css::uno::Sequence<sal_Int32> SAL_CALL executeBatch() override;
};
}
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_STATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_subcomponent.hxx b/connectivity/source/drivers/mysqlc/mysqlc_subcomponent.hxx
index 6d1c07801024..d0847aedc5d6 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_subcomponent.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_subcomponent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_SUBCOMPONENT_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_SUBCOMPONENT_HXX
+#pragma once
#include <cppuhelper/propshlp.hxx>
#include <osl/diagnose.h>
@@ -142,6 +141,4 @@ css::uno::Sequence<T> concatSequences(const css::uno::Sequence<T>& _rLeft,
}
}
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_SUBCOMPONENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_types.hxx b/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
index 5f577ee0352b..9f2db7715fe6 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_TYPES_HXX
-#define INCLUDED_MYSQLC_SOURCE_MYSQLC_TYPES_HXX
+#pragma once
#include <sal/types.h>
@@ -43,6 +42,4 @@ struct TypeInfoDef
extern TypeInfoDef const mysqlc_types[];
-#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_TYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_array.hxx b/connectivity/source/drivers/postgresql/pq_array.hxx
index c0ed6aa97efd..b42e6689b93b 100644
--- a/connectivity/source/drivers/postgresql/pq_array.hxx
+++ b/connectivity/source/drivers/postgresql/pq_array.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_ARRAY_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_ARRAY_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/sdbc/XArray.hpp>
@@ -95,6 +94,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
index 8b062ddf9ac0..ec868e3f9e25 100644
--- a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_BASERESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_BASERESULTSET_HXX
+#pragma once
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/component.hxx>
@@ -200,6 +199,5 @@ public: // OComponentHelper
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index a580d903f71f..f30483f70938 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_CONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_CONNECTION_HXX
+#pragma once
#include <config_lgpl.h>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -191,6 +190,5 @@ public: // helper function
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.hxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.hxx
index c016886f2643..134f72cf0186 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.hxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_DATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_DATABASEMETADATA_HXX
+#pragma once
#include "pq_connection.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -235,6 +234,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_driver.hxx b/connectivity/source/drivers/postgresql/pq_driver.hxx
index 3b61a7bcf269..6be6a39484f3 100644
--- a/connectivity/source/drivers/postgresql/pq_driver.hxx
+++ b/connectivity/source/drivers/postgresql/pq_driver.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_DRIVER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_DRIVER_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <sal/macros.h>
@@ -115,6 +114,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
index 65113344cdec..68c6d8a02ff1 100644
--- a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_FAKEDUPDATEABLERESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_FAKEDUPDATEABLERESULTSET_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
#include <com/sun/star/sdbc/XRowUpdate.hpp>
@@ -103,6 +102,5 @@ public: // XRowUpdate
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
index eb0794f9efe0..ba20353430cc 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_PREPAREDSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_PREPAREDSTATEMENT_HXX
+#pragma once
#include <vector>
#include <libpq-fe.h>
@@ -218,6 +217,5 @@ private:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_resultset.hxx b/connectivity/source/drivers/postgresql/pq_resultset.hxx
index 4b2bb6f41fb9..340e34b70c3b 100644
--- a/connectivity/source/drivers/postgresql/pq_resultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_resultset.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_RESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_RESULTSET_HXX
+#pragma once
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/component.hxx>
@@ -91,6 +90,5 @@ public:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx
index 2c1b5e5e5965..67e34d44d257 100644
--- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx
+++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_RESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_RESULTSETMETADATA_HXX
+#pragma once
#include <vector>
#include "pq_connection.hxx"
@@ -125,6 +124,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx
index 3b97e24a3001..346adc594ce9 100644
--- a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSET_HXX
+#pragma once
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/component.hxx>
@@ -89,6 +88,5 @@ public: // XColumnLocate
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
index 2bba06aa7d2f..affb7c37186d 100644
--- a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
+++ b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
@@ -87,6 +86,4 @@ namespace pq_sdbc_driver
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_statement.hxx b/connectivity/source/drivers/postgresql/pq_statement.hxx
index 6f9fb3bb1ecc..c53482491ff2 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATEMENT_HXX
+#pragma once
#include <sal/config.h>
@@ -195,6 +194,5 @@ css::uno::Reference< css::sdbc::XResultSet > getGeneratedValuesFromLastInsert(
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_statics.hxx b/connectivity/source/drivers/postgresql/pq_statics.hxx
index 017f49b5a655..7b776ff84308 100644
--- a/connectivity/source/drivers/postgresql/pq_statics.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statics.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATICS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATICS_HXX
+#pragma once
#include <unordered_map>
#include <vector>
@@ -239,6 +238,5 @@ private:
Statics & getStatics();
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_tools.hxx b/connectivity/source/drivers/postgresql/pq_tools.hxx
index 6d11e9b40425..1f9356ed41d3 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.hxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_TOOLS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_TOOLS_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
@@ -174,6 +173,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
index feb3f53225d5..14f650088044 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
+#pragma once
#include "pq_sequenceresultset.hxx"
#include "pq_resultsetmetadata.hxx"
@@ -167,6 +166,4 @@ public:
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xbase.hxx b/connectivity/source/drivers/postgresql/pq_xbase.hxx
index 6e7ac8413f47..01888d26d249 100644
--- a/connectivity/source/drivers/postgresql/pq_xbase.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xbase.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XBASE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XBASE_HXX
+#pragma once
#include <cppuhelper/propshlp.hxx>
#include <cppuhelper/component.hxx>
#include <cppuhelper/compbase.hxx>
@@ -129,6 +128,5 @@ public: // XNamed
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumn.hxx b/connectivity/source/drivers/postgresql/pq_xcolumn.hxx
index ea4e099fcd2b..794b5851d3c7 100644
--- a/connectivity/source/drivers/postgresql/pq_xcolumn.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xcolumn.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCOLUMN_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -80,6 +79,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx
index e48c0529a56a..aa91a9754218 100644
--- a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCOLUMNS_HXX
+#pragma once
#include <sal/config.h>
@@ -119,6 +118,5 @@ public: // XDataDescriptorFactory
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
index 085c2040634b..1e17fef28db5 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCONTAINER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCONTAINER_HXX
+#pragma once
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
@@ -187,6 +186,5 @@ protected:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xindex.hxx b/connectivity/source/drivers/postgresql/pq_xindex.hxx
index 26e5613630a2..f3b32dadff7a 100644
--- a/connectivity/source/drivers/postgresql/pq_xindex.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xindex.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEX_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEX_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -121,6 +120,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumn.hxx b/connectivity/source/drivers/postgresql/pq_xindexcolumn.hxx
index 5e7ae8d4fa65..7872985ec801 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumn.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumn.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXCOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXCOLUMN_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -81,6 +80,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx
index 353b75ddbf63..eaaa709e671a 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXCOLUMNS_HXX
+#pragma once
#include "pq_xcontainer.hxx"
@@ -107,6 +106,5 @@ public: // XDataDescriptorFactory
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.hxx b/connectivity/source/drivers/postgresql/pq_xindexes.hxx
index 7991058f5799..c2e81f61751f 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexes.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexes.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XINDEXES_HXX
+#pragma once
#include "pq_xcontainer.hxx"
@@ -99,6 +98,5 @@ public: // XDataDescriptorFactory
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xkey.hxx b/connectivity/source/drivers/postgresql/pq_xkey.hxx
index 3174d189206b..a6b46464ffce 100644
--- a/connectivity/source/drivers/postgresql/pq_xkey.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkey.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEY_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEY_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -117,6 +116,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumn.hxx b/connectivity/source/drivers/postgresql/pq_xkeycolumn.hxx
index 14baf7f66cf2..7d49d5d26570 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeycolumn.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeycolumn.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYCOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYCOLUMN_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -80,6 +79,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx b/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx
index 0ada98aa4052..0c56fd189e9a 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYCOLUMNS_HXX
+#pragma once
#include "pq_xcontainer.hxx"
@@ -98,6 +97,5 @@ public: // XDataDescriptorFactory
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor( ) override;
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xkeys.hxx b/connectivity/source/drivers/postgresql/pq_xkeys.hxx
index aedd46b578da..fe1afef35a4b 100644
--- a/connectivity/source/drivers/postgresql/pq_xkeys.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkeys.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEYS_HXX
+#pragma once
#include "pq_xcontainer.hxx"
@@ -98,6 +97,5 @@ public: // XDataDescriptorFactory
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.hxx b/connectivity/source/drivers/postgresql/pq_xtable.hxx
index 440589381755..ff910d3d6f13 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XTABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XTABLE_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -164,6 +163,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.hxx b/connectivity/source/drivers/postgresql/pq_xtables.hxx
index 827fc3a28ee8..9222db82c77f 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XTABLES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XTABLES_HXX
+#pragma once
#include <sal/config.h>
@@ -88,6 +87,5 @@ protected:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xuser.hxx b/connectivity/source/drivers/postgresql/pq_xuser.hxx
index 950cd998b0d5..abe45df7e429 100644
--- a/connectivity/source/drivers/postgresql/pq_xuser.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xuser.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XUSER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XUSER_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -96,6 +95,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xusers.hxx b/connectivity/source/drivers/postgresql/pq_xusers.hxx
index 359b97dd11cf..f95ec174915f 100644
--- a/connectivity/source/drivers/postgresql/pq_xusers.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xusers.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XUSERS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XUSERS_HXX
+#pragma once
#include "pq_xcontainer.hxx"
@@ -79,6 +78,5 @@ private:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xview.hxx b/connectivity/source/drivers/postgresql/pq_xview.hxx
index d5c86981f6f4..dc21222d5d35 100644
--- a/connectivity/source/drivers/postgresql/pq_xview.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xview.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XVIEW_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XVIEW_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -96,6 +95,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xviews.hxx b/connectivity/source/drivers/postgresql/pq_xviews.hxx
index 31159a9e379f..04137b6868a1 100644
--- a/connectivity/source/drivers/postgresql/pq_xviews.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xviews.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XVIEWS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XVIEWS_HXX
+#pragma once
#include <sal/config.h>
@@ -85,6 +84,5 @@ protected:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/OColumn.hxx b/connectivity/source/inc/OColumn.hxx
index a60f44e2bb8b..57addead1235 100644
--- a/connectivity/source/inc/OColumn.hxx
+++ b/connectivity/source/inc/OColumn.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_OCOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_OCOLUMN_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <sal/types.h>
@@ -116,6 +115,4 @@ namespace connectivity
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_OCOLUMN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx
index 772a46223c88..4e9cbdf05e6a 100644
--- a/connectivity/source/inc/OTypeInfo.hxx
+++ b/connectivity/source/inc/OTypeInfo.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_OTYPEINFO_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_OTYPEINFO_HXX
+#pragma once
#include <com/sun/star/sdbc/DataType.hpp>
@@ -48,6 +47,4 @@ namespace connectivity
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_OTYPEINFO_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ParameterSubstitution.hxx b/connectivity/source/inc/ParameterSubstitution.hxx
index e0a540332ff3..11ac90982ca9 100644
--- a/connectivity/source/inc/ParameterSubstitution.hxx
+++ b/connectivity/source/inc/ParameterSubstitution.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_PARAMETERSUBSTITUTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_PARAMETERSUBSTITUTION_HXX
+#pragma once
#include <com/sun/star/util/XStringSubstitution.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -61,6 +60,4 @@ namespace connectivity
} // connectivity
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/RowFunctionParser.hxx b/connectivity/source/inc/RowFunctionParser.hxx
index 28ed97689410..059544e51f2d 100644
--- a/connectivity/source/inc/RowFunctionParser.hxx
+++ b/connectivity/source/inc/RowFunctionParser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ROWFUNCTIONPARSER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ROWFUNCTIONPARSER_HXX
+#pragma once
#include <sal/config.h>
#include "FDatabaseMetaDataResultSet.hxx"
@@ -107,6 +106,4 @@ private:
} // namespace connectivity
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ROWFUNCTIONPARSER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TConnection.hxx b/connectivity/source/inc/TConnection.hxx
index 85e6e4fac546..0e9c4c22e750 100644
--- a/connectivity/source/inc/TConnection.hxx
+++ b/connectivity/source/inc/TConnection.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TCONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TCONNECTION_HXX
+#pragma once
#include <rtl/textenc.h>
#include <com/sun/star/beans/PropertyValue.hpp>
@@ -77,7 +76,6 @@ namespace connectivity
static css::uno::Sequence< sal_Int8 > getUnoTunnelId();
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TCONNECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TDatabaseMetaDataBase.hxx b/connectivity/source/inc/TDatabaseMetaDataBase.hxx
index a13adf215167..4d8c7715ca2d 100644
--- a/connectivity/source/inc/TDatabaseMetaDataBase.hxx
+++ b/connectivity/source/inc/TDatabaseMetaDataBase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TDATABASEMETADATABASE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TDATABASEMETADATABASE_HXX
+#pragma once
#include <com/sun/star/sdbc/XDatabaseMetaData2.hpp>
#include <cppuhelper/implbase.hxx>
@@ -130,6 +129,5 @@ namespace connectivity
virtual sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers( ) override;
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TDATABASEMETADATABASE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TKeyValue.hxx b/connectivity/source/inc/TKeyValue.hxx
index abf61a4c7429..baed7f75c23b 100644
--- a/connectivity/source/inc/TKeyValue.hxx
+++ b/connectivity/source/inc/TKeyValue.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TKEYVALUE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TKEYVALUE_HXX
+#pragma once
#include <connectivity/FValue.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
@@ -57,6 +56,4 @@ namespace connectivity
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TKEYVALUE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TPrivilegesResultSet.hxx b/connectivity/source/inc/TPrivilegesResultSet.hxx
index d8f31194dc16..b7206b7de476 100644
--- a/connectivity/source/inc/TPrivilegesResultSet.hxx
+++ b/connectivity/source/inc/TPrivilegesResultSet.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TPRIVILEGESRESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TPRIVILEGESRESULTSET_HXX
+#pragma once
#include "FDatabaseMetaDataResultSet.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -43,6 +42,5 @@ namespace connectivity
virtual sal_Bool SAL_CALL next( ) override;
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TPRIVILEGESRESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TResultSetHelper.hxx b/connectivity/source/inc/TResultSetHelper.hxx
index e6c0efd9c97f..cedea102725a 100644
--- a/connectivity/source/inc/TResultSetHelper.hxx
+++ b/connectivity/source/inc/TResultSetHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TRESULTSETHELPER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TRESULTSETHELPER_HXX
+#pragma once
#include <sal/types.h>
#include <connectivity/dbtoolsdllapi.hxx>
@@ -49,6 +48,4 @@ namespace connectivity
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TRESULTSETHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx
index 3935264696ed..efe142af548c 100644
--- a/connectivity/source/inc/TSkipDeletedSet.hxx
+++ b/connectivity/source/inc/TSkipDeletedSet.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TSKIPDELETEDSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TSKIPDELETEDSET_HXX
+#pragma once
#include "TResultSetHelper.hxx"
#include <vector>
@@ -77,6 +76,5 @@ namespace connectivity
void SetDeletedVisible(bool _bDeletedVisible) { m_bDeletedVisible = _bDeletedVisible; }
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TSKIPDELETEDSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx
index c0354316efd9..efd518d2ed59 100644
--- a/connectivity/source/inc/TSortIndex.hxx
+++ b/connectivity/source/inc/TSortIndex.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX
+#pragma once
#include <connectivity/dbtoolsdllapi.hxx>
#include "TKeyValue.hxx"
@@ -107,6 +106,5 @@ namespace connectivity
void setFrozen() { m_bFrozen = true; }
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ACallableStatement.hxx b/connectivity/source/inc/ado/ACallableStatement.hxx
index 3114242558ac..c038dbb3b9de 100644
--- a/connectivity/source/inc/ado/ACallableStatement.hxx
+++ b/connectivity/source/inc/ado/ACallableStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACALLABLESTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACALLABLESTATEMENT_HXX
+#pragma once
#include <ado/APreparedStatement.hxx>
#include <com/sun/star/sdbc/XRow.hpp>
@@ -72,7 +71,6 @@ namespace connectivity::ado
virtual void SAL_CALL registerNumericOutParameter( sal_Int32 parameterIndex, sal_Int32 sqlType, sal_Int32 scale ) override;
};
}
-#endif // _CONNECTIVITY_OCallableStatement_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ACatalog.hxx b/connectivity/source/inc/ado/ACatalog.hxx
index 9afe9e41cfb9..fd09e9ad3c40 100644
--- a/connectivity/source/inc/ado/ACatalog.hxx
+++ b/connectivity/source/inc/ado/ACatalog.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACATALOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACATALOG_HXX
+#pragma once
#include <sdbcx/VCatalog.hxx>
#include <ado/Awrapadox.hxx>
@@ -46,6 +45,5 @@ namespace connectivity::ado
WpADOCatalog getCatalog() const { return m_aCatalog; }
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACATALOG_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AColumn.hxx b/connectivity/source/inc/ado/AColumn.hxx
index 84344ece755e..fdb0afc74d24 100644
--- a/connectivity/source/inc/ado/AColumn.hxx
+++ b/connectivity/source/inc/ado/AColumn.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMN_HXX
+#pragma once
#include <connectivity/sdbcx/VColumn.hxx>
#include <ado/Awrapadox.hxx>
@@ -52,6 +51,5 @@ namespace connectivity::ado
WpADOColumn getColumnImpl() const;
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMN_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AColumns.hxx b/connectivity/source/inc/ado/AColumns.hxx
index f9773ba48460..25decfa6877f 100644
--- a/connectivity/source/inc/ado/AColumns.hxx
+++ b/connectivity/source/inc/ado/AColumns.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMNS_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -53,6 +52,5 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACOLUMNS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AConnection.hxx b/connectivity/source/inc/ado/AConnection.hxx
index 29f552946a89..0a2b08875598 100644
--- a/connectivity/source/inc/ado/AConnection.hxx
+++ b/connectivity/source/inc/ado/AConnection.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACONNECTION_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACONNECTION_HXX
+#pragma once
#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
@@ -130,6 +129,5 @@ namespace connectivity::ado
bool& _brForceToType);
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACONNECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ADatabaseMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
index af59ab2429e1..65dfad6d21d1 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATA_HXX
+#pragma once
#include <TDatabaseMetaDataBase.hxx>
#include <map>
@@ -218,7 +217,5 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
index a13ae359a5cc..b2397711f6b3 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATARESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATARESULTSET_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
@@ -222,6 +221,5 @@ namespace connectivity::ado
}
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATARESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
index 59750edfd400..18cc3b8508d9 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATARESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADATABASEMETADATARESULTSETMETADATA_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase.hxx>
@@ -99,6 +98,5 @@ namespace connectivity::ado
virtual OUString SAL_CALL getColumnServiceName( sal_Int32 column ) override;
};
}
-#endif // _CONNECTIVITY_ADO_ADATABASEMETARESULTSETMETADATA_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ADriver.hxx b/connectivity/source/inc/ado/ADriver.hxx
index a428ed1636ca..8542e03f6d60 100644
--- a/connectivity/source/inc/ado/ADriver.hxx
+++ b/connectivity/source/inc/ado/ADriver.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADRIVER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADRIVER_HXX
+#pragma once
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
@@ -76,7 +75,6 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADRIVER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AGroup.hxx b/connectivity/source/inc/ado/AGroup.hxx
index 73b526006647..f46577d0fd55 100644
--- a/connectivity/source/inc/ado/AGroup.hxx
+++ b/connectivity/source/inc/ado/AGroup.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUP_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUP_HXX
+#pragma once
#include <sdbcx/VGroup.hxx>
#include <ado/Awrapadox.hxx>
@@ -59,6 +58,5 @@ namespace connectivity::ado
WpADOGroup getImpl() const { return m_aGroup; }
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AGroups.hxx b/connectivity/source/inc/ado/AGroups.hxx
index 91c38dc64b1b..85817cec84d0 100644
--- a/connectivity/source/inc/ado/AGroups.hxx
+++ b/connectivity/source/inc/ado/AGroups.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUPS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUPS_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <ado/Awrapadox.hxx>
@@ -49,6 +48,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AGROUPS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AIndex.hxx b/connectivity/source/inc/ado/AIndex.hxx
index 41a839619b78..7bc54f788aec 100644
--- a/connectivity/source/inc/ado/AIndex.hxx
+++ b/connectivity/source/inc/ado/AIndex.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEX_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEX_HXX
+#pragma once
#include <sdbcx/VIndex.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -46,6 +45,5 @@ namespace connectivity::ado
WpADOIndex getImpl() const { return m_aIndex;}
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AIndexes.hxx b/connectivity/source/inc/ado/AIndexes.hxx
index 065c8a0b1843..48c2d1abee83 100644
--- a/connectivity/source/inc/ado/AIndexes.hxx
+++ b/connectivity/source/inc/ado/AIndexes.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEXES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEXES_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -51,6 +50,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AINDEXES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AKey.hxx b/connectivity/source/inc/ado/AKey.hxx
index ffb1eebe4216..67e05b86d5f9 100644
--- a/connectivity/source/inc/ado/AKey.hxx
+++ b/connectivity/source/inc/ado/AKey.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEY_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEY_HXX
+#pragma once
#include <sdbcx/VKey.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
@@ -56,6 +55,5 @@ namespace connectivity::ado
static KeyTypeEnum Map2KeyRule(sal_Int32 _eNum);
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEY_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AKeys.hxx b/connectivity/source/inc/ado/AKeys.hxx
index 6de3d5a2055a..45e127e29bf7 100644
--- a/connectivity/source/inc/ado/AKeys.hxx
+++ b/connectivity/source/inc/ado/AKeys.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEYS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEYS_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <ado/Awrapadox.hxx>
@@ -51,6 +50,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AKEYS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx
index 214f277c16bf..0d8636d25592 100644
--- a/connectivity/source/inc/ado/APreparedStatement.hxx
+++ b/connectivity/source/inc/ado/APreparedStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_APREPAREDSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_APREPAREDSTATEMENT_HXX
+#pragma once
#include <ado/AStatement.hxx>
#include <com/sun/star/sdbc/XPreparedStatement.hpp>
@@ -110,6 +109,5 @@ namespace connectivity
};
}
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_APREPAREDSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AResultSet.hxx b/connectivity/source/inc/ado/AResultSet.hxx
index 101835f26019..c8ffe95d9b5b 100644
--- a/connectivity/source/inc/ado/AResultSet.hxx
+++ b/connectivity/source/inc/ado/AResultSet.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSET_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
@@ -230,7 +229,6 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AResultSetMetaData.hxx b/connectivity/source/inc/ado/AResultSetMetaData.hxx
index 6389efc04a70..1eeb22656245 100644
--- a/connectivity/source/inc/ado/AResultSetMetaData.hxx
+++ b/connectivity/source/inc/ado/AResultSetMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSETMETADATA_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase.hxx>
@@ -76,6 +75,5 @@ namespace connectivity::ado
virtual OUString SAL_CALL getColumnServiceName( sal_Int32 column ) override;
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ARESULTSETMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AStatement.hxx b/connectivity/source/inc/ado/AStatement.hxx
index a85992d01f03..3352e2336b64 100644
--- a/connectivity/source/inc/ado/AStatement.hxx
+++ b/connectivity/source/inc/ado/AStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ASTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ASTATEMENT_HXX
+#pragma once
#include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
@@ -214,6 +213,5 @@ namespace connectivity::ado
virtual css::uno::Sequence< sal_Int32 > SAL_CALL executeBatch( ) override;
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ASTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ATable.hxx b/connectivity/source/inc/ado/ATable.hxx
index dd0949dd2c3d..07a16ae6ae4f 100644
--- a/connectivity/source/inc/ado/ATable.hxx
+++ b/connectivity/source/inc/ado/ATable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLE_HXX
+#pragma once
#include <connectivity/sdbcx/VTable.hxx>
#include <ado/Awrapadox.hxx>
@@ -69,6 +68,5 @@ namespace connectivity::ado
OCatalog* getCatalog() const { return m_pCatalog; }
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/ATables.hxx b/connectivity/source/inc/ado/ATables.hxx
index 2ca881051ff6..4fff5b97956e 100644
--- a/connectivity/source/inc/ado/ATables.hxx
+++ b/connectivity/source/inc/ado/ATables.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLES_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <ado/Awrapadox.hxx>
@@ -49,6 +48,5 @@ namespace connectivity::ado
void appendNew(const OUString& _rsNewTable);
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ATABLES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AUser.hxx b/connectivity/source/inc/ado/AUser.hxx
index 1368ed46d922..849c3a98a5eb 100644
--- a/connectivity/source/inc/ado/AUser.hxx
+++ b/connectivity/source/inc/ado/AUser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSER_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSER_HXX
+#pragma once
#include <sdbcx/VUser.hxx>
#include <ado/Awrapadox.hxx>
@@ -83,6 +82,5 @@ namespace connectivity::ado
OUString getPassword() const { return m_Password;}
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AUsers.hxx b/connectivity/source/inc/ado/AUsers.hxx
index 17979351ef0a..1ec0bd5ad8f7 100644
--- a/connectivity/source/inc/ado/AUsers.hxx
+++ b/connectivity/source/inc/ado/AUsers.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSERS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSERS_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <ado/Awrapadox.hxx>
@@ -51,6 +50,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AUSERS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AView.hxx b/connectivity/source/inc/ado/AView.hxx
index 8aabc1053ba8..6f8d7a337494 100644
--- a/connectivity/source/inc/ado/AView.hxx
+++ b/connectivity/source/inc/ado/AView.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEW_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEW_HXX
+#pragma once
#include <connectivity/sdbcx/VView.hxx>
#include <ado/Awrapadox.hxx>
@@ -49,6 +48,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AViews.hxx b/connectivity/source/inc/ado/AViews.hxx
index be90d1463f08..ef0c692fdfc3 100644
--- a/connectivity/source/inc/ado/AViews.hxx
+++ b/connectivity/source/inc/ado/AViews.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEWS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEWS_HXX
+#pragma once
#include <connectivity/sdbcx/VCollection.hxx>
#include <ado/Awrapadox.hxx>
@@ -48,6 +47,5 @@ namespace connectivity::ado
}
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AVIEWS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/Aolevariant.hxx b/connectivity/source/inc/ado/Aolevariant.hxx
index d44287d7440c..256be7dd6c0d 100644
--- a/connectivity/source/inc/ado/Aolevariant.hxx
+++ b/connectivity/source/inc/ado/Aolevariant.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEVARIANT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEVARIANT_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -142,6 +141,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEVARIANT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 3fb6b0713040..767c50372254 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEWRAP_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEWRAP_HXX
+#pragma once
#include <osl/diagnose.h>
#include <osl/thread.h>
@@ -219,6 +218,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AOLEWRAP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/Awrapado.hxx b/connectivity/source/inc/ado/Awrapado.hxx
index 4e52d13847cb..efb2be2aa3bd 100644
--- a/connectivity/source/inc/ado/Awrapado.hxx
+++ b/connectivity/source/inc/ado/Awrapado.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AWRAPADO_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AWRAPADO_HXX
+#pragma once
#include <sal/config.h>
@@ -373,6 +372,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_AWRAPADO_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapCatalog.hxx b/connectivity/source/inc/ado/WrapCatalog.hxx
index 34834236b7dc..0bcff441c23a 100644
--- a/connectivity/source/inc/ado/WrapCatalog.hxx
+++ b/connectivity/source/inc/ado/WrapCatalog.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCATALOG_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCATALOG_HXX
+#pragma once
#include <sal/config.h>
@@ -48,6 +47,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCATALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapColumn.hxx b/connectivity/source/inc/ado/WrapColumn.hxx
index 096dcd326154..fa4aa7f5edba 100644
--- a/connectivity/source/inc/ado/WrapColumn.hxx
+++ b/connectivity/source/inc/ado/WrapColumn.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCOLUMN_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCOLUMN_HXX
+#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPCOLUMN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapIndex.hxx b/connectivity/source/inc/ado/WrapIndex.hxx
index f4318c45873f..04b965449fb1 100644
--- a/connectivity/source/inc/ado/WrapIndex.hxx
+++ b/connectivity/source/inc/ado/WrapIndex.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPINDEX_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPINDEX_HXX
+#pragma once
#include <sal/config.h>
@@ -50,6 +49,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPINDEX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapKey.hxx b/connectivity/source/inc/ado/WrapKey.hxx
index 49969c41bb61..6b4ed08101e1 100644
--- a/connectivity/source/inc/ado/WrapKey.hxx
+++ b/connectivity/source/inc/ado/WrapKey.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPKEY_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPKEY_HXX
+#pragma once
#include <sal/config.h>
@@ -52,6 +51,4 @@ namespace connectivity::ado
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPKEY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapTable.hxx b/connectivity/source/inc/ado/WrapTable.hxx
index 4119bfb58e3b..38820944c264 100644
--- a/connectivity/source/inc/ado/WrapTable.hxx
+++ b/connectivity/source/inc/ado/WrapTable.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTABLE_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTABLE_HXX
+#pragma once
#include <sal/config.h>
@@ -55,6 +54,4 @@ namespace connectivity::ado
typedef WpOLEAppendCollection<ADOTables, _ADOTable, WpADOTable> WpADOTables;
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/WrapTypeDefs.hxx b/connectivity/source/inc/ado/WrapTypeDefs.hxx
index 991d0018e5d8..3f4e82d85269 100644
--- a/connectivity/source/inc/ado/WrapTypeDefs.hxx
+++ b/connectivity/source/inc/ado/WrapTypeDefs.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTYPEDEFS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTYPEDEFS_HXX
+#pragma once
namespace connectivity::ado
@@ -39,6 +38,4 @@ namespace connectivity::ado
typedef WpOLEAppendCollection<ADOUsers, _ADOUser, WpADOUser> WpADOUsers;
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_WRAPTYPEDEFS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/adoimp.hxx b/connectivity/source/inc/ado/adoimp.hxx
index 5394aac3e4a0..3b5d9f4d64e1 100644
--- a/connectivity/source/inc/ado/adoimp.hxx
+++ b/connectivity/source/inc/ado/adoimp.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADOIMP_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADOIMP_HXX
+#pragma once
#include <com/sun/star/sdbc/SQLException.hpp>
@@ -99,7 +98,5 @@ namespace connectivity::ado
ADOS::ThrowException(*m_pADOConnection,*this);
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ADOIMP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/component/CColumns.hxx b/connectivity/source/inc/component/CColumns.hxx
index 627372e14282..a63cae4bde6e 100644
--- a/connectivity/source/inc/component/CColumns.hxx
+++ b/connectivity/source/inc/component/CColumns.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CCOLUMNS_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CCOLUMNS_HXX
+#pragma once
#include <file/FColumns.hxx>
@@ -40,6 +39,4 @@ namespace connectivity::component
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CCOLUMNS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/component/CDatabaseMetaData.hxx b/connectivity/source/inc/component/CDatabaseMetaData.hxx
index 3f1d9ba7fd71..c4721ecadb9f 100644
--- a/connectivity/source/inc/component/CDatabaseMetaData.hxx
+++ b/connectivity/source/inc/component/CDatabaseMetaData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CDATABASEMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CDATABASEMETADATA_HXX
+#pragma once
#include <file/FDatabaseMetaData.hxx>
@@ -45,6 +44,4 @@ namespace connectivity::component
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CDATABASEMETADATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/component/CPreparedStatement.hxx b/connectivity/source/inc/component/CPreparedStatement.hxx
index a7d8b0fb78ac..d39a3edad136 100644
--- a/connectivity/source/inc/component/CPreparedStatement.hxx
+++ b/connectivity/source/inc/component/CPreparedStatement.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CPREPAREDSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CPREPAREDSTATEMENT_HXX
+#pragma once
#include <file/FPreparedStatement.hxx>
@@ -37,6 +36,4 @@ namespace connectivity::component
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CPREPAREDSTATEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/component/CResultSet.hxx b/connectivity/source/inc/component/CResultSet.hxx
index 4fc46dfe7417..52a3a77cde90 100644
--- a/connectivity/source/inc/component/CResultSet.hxx
+++ b/connectivity/source/inc/component/CResultSet.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CRESULTSET_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CRESULTSET_HXX
+#pragma once
#include <file/FResultSet.hxx>
#include <com/sun/star/sdbcx/XRowLocate.hpp>
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list