diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-04 22:38:38 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 12:12:27 +0100 |
commit | 6069a66690a10550d54f7641cda1aa83560ff019 (patch) | |
tree | 0ea7e928118582e83a4a805053e15c949a30c447 /connectivity/source/inc/dbase | |
parent | b82d677b3e30a28d084d3d4f8c039949905fd5fa (diff) |
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@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'connectivity/source/inc/dbase')
-rw-r--r-- | connectivity/source/inc/dbase/DCatalog.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DColumns.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DConnection.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DDatabaseMetaData.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DDriver.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndex.hxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndexColumns.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndexIter.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndexes.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DPreparedStatement.hxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DResultSet.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DStatement.hxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DTable.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DTables.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/dindexnode.hxx | 5 |
15 files changed, 15 insertions, 49 deletions
diff --git a/connectivity/source/inc/dbase/DCatalog.hxx b/connectivity/source/inc/dbase/DCatalog.hxx index 553f7c2aa78b..f8954d012211 100644 --- a/connectivity/source/inc/dbase/DCatalog.hxx +++ b/connectivity/source/inc/dbase/DCatalog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCATALOG_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCATALOG_HXX +#pragma once #include <file/FCatalog.hxx> @@ -35,6 +34,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCATALOG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DColumns.hxx b/connectivity/source/inc/dbase/DColumns.hxx index bb84e11fa102..158994c2c900 100644 --- a/connectivity/source/inc/dbase/DColumns.hxx +++ b/connectivity/source/inc/dbase/DColumns.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCOLUMNS_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCOLUMNS_HXX +#pragma once #include <file/FColumns.hxx> @@ -41,6 +40,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCOLUMNS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DConnection.hxx b/connectivity/source/inc/dbase/DConnection.hxx index fb68d921f60e..864e9a22c870 100644 --- a/connectivity/source/inc/dbase/DConnection.hxx +++ b/connectivity/source/inc/dbase/DConnection.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCONNECTION_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCONNECTION_HXX +#pragma once #include <file/FConnection.hxx> @@ -43,6 +42,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DCONNECTION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx index 7ec7545903ea..fed3fcc70ea9 100644 --- a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx +++ b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDATABASEMETADATA_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDATABASEMETADATA_HXX +#pragma once #include <file/FDatabaseMetaData.hxx> @@ -54,6 +53,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDATABASEMETADATA_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DDriver.hxx b/connectivity/source/inc/dbase/DDriver.hxx index 99ee297361cd..310f9b1dc8d5 100644 --- a/connectivity/source/inc/dbase/DDriver.hxx +++ b/connectivity/source/inc/dbase/DDriver.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDRIVER_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDRIVER_HXX +#pragma once #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <connectivity/CommonTools.hxx> @@ -43,6 +42,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDRIVER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx index 3d9e4b7dc923..3c5374f298e2 100644 --- a/connectivity/source/inc/dbase/DIndex.hxx +++ b/connectivity/source/inc/dbase/DIndex.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEX_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEX_HXX +#pragma once #include <sdbcx/VIndex.hxx> #include <dbase/DTable.hxx> @@ -136,7 +135,5 @@ namespace connectivity::dbase void ReadHeader(SvStream & rStream, ODbaseIndex::NDXHeader & rHeader); } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DIndexColumns.hxx b/connectivity/source/inc/dbase/DIndexColumns.hxx index bf373d3dc633..8f7a895b95ad 100644 --- a/connectivity/source/inc/dbase/DIndexColumns.hxx +++ b/connectivity/source/inc/dbase/DIndexColumns.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXCOLUMNS_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXCOLUMNS_HXX +#pragma once #include <connectivity/sdbcx/VCollection.hxx> #include <dbase/DIndex.hxx> @@ -45,7 +44,6 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXCOLUMNS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DIndexIter.hxx b/connectivity/source/inc/dbase/DIndexIter.hxx index 0b9323f6b342..2de327be1138 100644 --- a/connectivity/source/inc/dbase/DIndexIter.hxx +++ b/connectivity/source/inc/dbase/DIndexIter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXITER_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXITER_HXX +#pragma once #include <file/fcode.hxx> #include <dbase/DIndex.hxx> @@ -64,6 +63,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXITER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DIndexes.hxx b/connectivity/source/inc/dbase/DIndexes.hxx index 76962b2320c4..a5b1c27e67f2 100644 --- a/connectivity/source/inc/dbase/DIndexes.hxx +++ b/connectivity/source/inc/dbase/DIndexes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXES_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXES_HXX +#pragma once #include <connectivity/sdbcx/VCollection.hxx> #include <dbase/DTable.hxx> @@ -47,6 +46,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXES_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DPreparedStatement.hxx b/connectivity/source/inc/dbase/DPreparedStatement.hxx index 067f313601f3..a2a792f62342 100644 --- a/connectivity/source/inc/dbase/DPreparedStatement.hxx +++ b/connectivity/source/inc/dbase/DPreparedStatement.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DPREPAREDSTATEMENT_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DPREPAREDSTATEMENT_HXX +#pragma once #include <file/FPreparedStatement.hxx> @@ -36,6 +35,4 @@ namespace connectivity::dbase } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DPREPAREDSTATEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DResultSet.hxx b/connectivity/source/inc/dbase/DResultSet.hxx index 1668a340b32a..b469ab8c0ee8 100644 --- a/connectivity/source/inc/dbase/DResultSet.hxx +++ b/connectivity/source/inc/dbase/DResultSet.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_DBASE_DRESULTSET_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DRESULTSET_HXX +#pragma once #include <file/FResultSet.hxx> #include <com/sun/star/sdbcx/XRowLocate.hpp> @@ -75,6 +74,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DRESULTSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DStatement.hxx b/connectivity/source/inc/dbase/DStatement.hxx index 2e3820389f47..cb4b1d8e4a03 100644 --- a/connectivity/source/inc/dbase/DStatement.hxx +++ b/connectivity/source/inc/dbase/DStatement.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DSTATEMENT_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DSTATEMENT_HXX +#pragma once #include <file/FStatement.hxx> @@ -36,6 +35,4 @@ namespace connectivity::dbase } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DSTATEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DTable.hxx b/connectivity/source/inc/dbase/DTable.hxx index 872b4d3d8c1b..c41ee9f7e9e1 100644 --- a/connectivity/source/inc/dbase/DTable.hxx +++ b/connectivity/source/inc/dbase/DTable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLE_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLE_HXX +#pragma once #include <file/FTable.hxx> #include <connectivity/CommonTools.hxx> @@ -191,6 +190,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/DTables.hxx b/connectivity/source/inc/dbase/DTables.hxx index b22721d798d2..c85a1ab3cd07 100644 --- a/connectivity/source/inc/dbase/DTables.hxx +++ b/connectivity/source/inc/dbase/DTables.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLES_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLES_HXX +#pragma once #include <file/FTables.hxx> @@ -43,6 +42,5 @@ namespace connectivity::dbase }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DTABLES_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 2b001de056f6..6000c36224cf 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.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_DBASE_DINDEXNODE_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXNODE_HXX +#pragma once #include <file/fcode.hxx> #include <connectivity/FValue.hxx> @@ -304,7 +303,5 @@ namespace connectivity::dbase } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DINDEXNODE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |