diff options
author | siddheshpatil777 <siddheshpatil777@gmail.com> | 2020-12-19 16:01:47 +0400 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-12-20 10:26:28 +0100 |
commit | 3420cc1e70b2ed49fc63d6fd30f7b962abbec70f (patch) | |
tree | 494812c1f06b1c442f594e3ce2723be1f0b7d996 /connectivity | |
parent | 2cdc35858634950c73e737d0ef3d80e73116a98d (diff) |
tdf#124176 Use #pragma once in connectivity
Change-Id: Icaa8a6e3db0b0754c5adfb3543ebe1a7af831bfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108021
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/inc/AutoRetrievingBase.hxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/FDatabaseMetaDataResultSet.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx | 4 |
3 files changed, 4 insertions, 9 deletions
diff --git a/connectivity/source/inc/AutoRetrievingBase.hxx b/connectivity/source/inc/AutoRetrievingBase.hxx index f24d94f7932a..a85b92c6361f 100644 --- a/connectivity/source/inc/AutoRetrievingBase.hxx +++ b/connectivity/source/inc/AutoRetrievingBase.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_AUTORETRIEVINGBASE_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_AUTORETRIEVINGBASE_HXX +#pragma once #include <rtl/ustring.hxx> #include <connectivity/dbtoolsdllapi.hxx> @@ -46,6 +45,6 @@ namespace connectivity OUString getTransformedGeneratedStatement(const OUString& _sInsertStatement) const; }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_AUTORETRIEVINGBASE_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx index de20771f9787..f8327e308e65 100644 --- a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FDATABASEMETADATARESULTSET_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_FDATABASEMETADATARESULTSET_HXX +#pragma once #include <sal/config.h> @@ -267,6 +266,5 @@ namespace connectivity }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_FDATABASEMETADATARESULTSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx index 2e5ccb00763d..9de12267229c 100644 --- a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx +++ b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FDATABASEMETADATARESULTSETMETADATA_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_FDATABASEMETADATARESULTSETMETADATA_HXX +#pragma once #include <com/sun/star/sdbc/XResultSetMetaData.hpp> #include <cppuhelper/implbase.hxx> @@ -92,7 +91,6 @@ namespace connectivity void setUDTsMap(); }; } -#endif // _CONNECTIVITY_FILE_ADATABASEMETARESULTSETMETADATA_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |