dbaccess/source/core/api/BookmarkSet.hxx | 4 +--- dbaccess/source/core/api/CIndexes.hxx | 5 +---- dbaccess/source/core/api/CRowSetColumn.hxx | 5 +---- dbaccess/source/core/api/CRowSetDataColumn.hxx | 5 +---- dbaccess/source/core/api/CacheSet.hxx | 4 +--- dbaccess/source/core/api/HelperCollections.hxx | 4 +--- dbaccess/source/core/api/KeySet.hxx | 4 +--- dbaccess/source/core/api/OptimisticSet.hxx | 4 +--- dbaccess/source/core/api/PrivateRow.hxx | 4 +--- dbaccess/source/core/api/RowSet.hxx | 4 +--- dbaccess/source/core/api/RowSetBase.hxx | 5 +---- dbaccess/source/core/api/RowSetCache.hxx | 4 +--- dbaccess/source/core/api/RowSetCacheIterator.hxx | 4 +--- dbaccess/source/core/api/RowSetRow.hxx | 4 +--- dbaccess/source/core/api/StaticSet.hxx | 4 +--- dbaccess/source/core/api/WrappedResultSet.hxx | 4 +--- dbaccess/source/core/api/datacolumn.hxx | 5 +---- dbaccess/source/core/api/query.hxx | 5 +---- dbaccess/source/core/api/querydescriptor.hxx | 5 +---- dbaccess/source/core/api/resultcolumn.hxx | 4 +--- dbaccess/source/core/api/resultset.hxx | 4 +--- dbaccess/source/core/dataaccess/ComponentDefinition.hxx | 5 +---- dbaccess/source/core/dataaccess/SharedConnection.hxx | 5 +---- dbaccess/source/core/dataaccess/commandcontainer.hxx | 5 +---- dbaccess/source/core/dataaccess/commanddefinition.hxx | 5 +---- dbaccess/source/core/dataaccess/connection.hxx | 5 +---- dbaccess/source/core/dataaccess/databasedocument.hxx | 4 +--- dbaccess/source/core/dataaccess/databaseregistrations.hxx | 5 +---- dbaccess/source/core/dataaccess/datasource.hxx | 5 +---- dbaccess/source/core/dataaccess/documentcontainer.hxx | 5 +---- dbaccess/source/core/dataaccess/documentdefinition.hxx | 5 +---- dbaccess/source/core/dataaccess/documenteventexecutor.hxx | 5 +---- dbaccess/source/core/dataaccess/documenteventnotifier.hxx | 5 +---- dbaccess/source/core/dataaccess/intercept.hxx | 5 +---- dbaccess/source/core/dataaccess/myucp_datasupplier.hxx | 5 +---- dbaccess/source/core/dataaccess/myucp_resultset.hxx | 5 +---- dbaccess/source/core/inc/ContainerMediator.hxx | 5 +---- dbaccess/source/core/inc/ContentHelper.hxx | 5 +---- dbaccess/source/core/inc/DatabaseDataProvider.hxx | 5 +---- dbaccess/source/core/inc/FilteredContainer.hxx | 5 +---- dbaccess/source/core/inc/ModelImpl.hxx | 5 +---- dbaccess/source/core/inc/PropertyForward.hxx | 5 +---- dbaccess/source/core/inc/RefreshListener.hxx | 5 +---- dbaccess/source/core/inc/SingleSelectQueryComposer.hxx | 4 +--- dbaccess/source/core/inc/TableDeco.hxx | 4 +--- dbaccess/source/core/inc/View.hxx | 5 +---- dbaccess/source/core/inc/bookmarkcontainer.hxx | 5 +---- dbaccess/source/core/inc/callablestatement.hxx | 4 +--- dbaccess/source/core/inc/column.hxx | 4 +--- dbaccess/source/core/inc/columnsettings.hxx | 5 +---- dbaccess/source/core/inc/commandbase.hxx | 5 +---- dbaccess/source/core/inc/composertools.hxx | 5 +---- dbaccess/source/core/inc/containerapprove.hxx | 5 +---- dbaccess/source/core/inc/databasecontext.hxx | 5 +---- dbaccess/source/core/inc/datasettings.hxx | 5 +---- dbaccess/source/core/inc/definitioncolumn.hxx | 4 +--- dbaccess/source/core/inc/definitioncontainer.hxx | 5 +---- dbaccess/source/core/inc/documentevents.hxx | 5 +---- dbaccess/source/core/inc/migrwarndlg.hxx | 5 +---- dbaccess/source/core/inc/object.hxx | 5 +---- dbaccess/source/core/inc/objectnameapproval.hxx | 5 +---- dbaccess/source/core/inc/preparedstatement.hxx | 4 +--- dbaccess/source/core/inc/querycomposer.hxx | 4 +--- dbaccess/source/core/inc/querycontainer.hxx | 5 +---- dbaccess/source/core/inc/recovery/dbdocrecovery.hxx | 5 +---- dbaccess/source/core/inc/sdbcoretools.hxx | 5 +---- dbaccess/source/core/inc/statement.hxx | 5 +---- dbaccess/source/core/inc/table.hxx | 4 +--- dbaccess/source/core/inc/tablecontainer.hxx | 4 +--- dbaccess/source/core/inc/veto.hxx | 5 +---- dbaccess/source/core/inc/viewcontainer.hxx | 4 +--- dbaccess/source/core/recovery/settingsimport.hxx | 5 +---- dbaccess/source/core/recovery/storagestream.hxx | 5 +---- dbaccess/source/core/recovery/storagetextstream.hxx | 5 +---- dbaccess/source/core/recovery/storagexmlstream.hxx | 5 +---- dbaccess/source/core/recovery/subcomponentloader.hxx | 5 +---- dbaccess/source/core/recovery/subcomponentrecovery.hxx | 5 +---- dbaccess/source/core/recovery/subcomponents.hxx | 5 +---- 78 files changed, 78 insertions(+), 287 deletions(-)
New commits: commit ae484ec0fdcd1871ce28e7fcddaa1debc28eca8a Author: George Bateman <george.batema...@gmail.com> AuthorDate: Sun Sep 13 12:02:57 2020 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Sep 13 15:34:37 2020 +0200 tdf#124176 Use #pragma once in dbaccess/source/core This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: I44efd0f0536df127be57fafc193eeb985292cc22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102550 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/core/api/BookmarkSet.hxx b/dbaccess/source/core/api/BookmarkSet.hxx index 6567d50b75b6..9863a80ecb82 100644 --- a/dbaccess/source/core/api/BookmarkSet.hxx +++ b/dbaccess/source/core/api/BookmarkSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_BOOKMARKSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_BOOKMARKSET_HXX +#pragma once #include "CacheSet.hxx" #include <com/sun/star/sdbcx/XRowLocate.hpp> @@ -54,6 +53,5 @@ namespace dbaccess virtual void deleteRow(const ORowSetRow& _rInsertRow,const connectivity::OSQLTable& _xTable ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_BOOKMARKSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/CIndexes.hxx b/dbaccess/source/core/api/CIndexes.hxx index 0ee3d5ced152..f20da6cbefa9 100644 --- a/dbaccess/source/core/api/CIndexes.hxx +++ b/dbaccess/source/core/api/CIndexes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_CINDEXES_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_CINDEXES_HXX +#pragma once #include <connectivity/TIndexes.hxx> @@ -45,6 +44,4 @@ namespace dbaccess }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_CINDEXES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/CRowSetColumn.hxx b/dbaccess/source/core/api/CRowSetColumn.hxx index 25c4b3310705..bc0ae7eedf5a 100644 --- a/dbaccess/source/core/api/CRowSetColumn.hxx +++ b/dbaccess/source/core/api/CRowSetColumn.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_DBACCESS_SOURCE_CORE_API_CROWSETCOLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_CROWSETCOLUMN_HXX +#pragma once #include "RowSetRow.hxx" #include <connectivity/CommonTools.hxx> @@ -47,6 +46,4 @@ namespace dbaccess } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_CROWSETCOLUMN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/CRowSetDataColumn.hxx b/dbaccess/source/core/api/CRowSetDataColumn.hxx index 24863cb0a2ce..f0efcbf8d85c 100644 --- a/dbaccess/source/core/api/CRowSetDataColumn.hxx +++ b/dbaccess/source/core/api/CRowSetDataColumn.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_DBACCESS_SOURCE_CORE_API_CROWSETDATACOLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_CROWSETDATACOLUMN_HXX +#pragma once #include "datacolumn.hxx" #include "RowSetRow.hxx" @@ -97,6 +96,4 @@ namespace dbaccess }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/CacheSet.hxx b/dbaccess/source/core/api/CacheSet.hxx index 522d77fafc01..1006b9662f01 100644 --- a/dbaccess/source/core/api/CacheSet.hxx +++ b/dbaccess/source/core/api/CacheSet.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_DBACCESS_SOURCE_CORE_API_CACHESET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_CACHESET_HXX +#pragma once #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XResultSetMetaData.hpp> @@ -169,6 +168,5 @@ namespace dbaccess virtual void fillMissingValues(ORowSetValueVector::Vector& io_aRow) const; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_CACHESET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/HelperCollections.hxx b/dbaccess/source/core/api/HelperCollections.hxx index c2406dc492aa..18cf9d15ef93 100644 --- a/dbaccess/source/core/api/HelperCollections.hxx +++ b/dbaccess/source/core/api/HelperCollections.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_DBACCESS_SOURCE_CORE_API_HELPERCOLLECTIONS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_HELPERCOLLECTIONS_HXX +#pragma once #include <connectivity/sdbcx/VCollection.hxx> #include <connectivity/dbconversion.hxx> @@ -103,6 +102,5 @@ namespace dbaccess } }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_HELPERCOLLECTIONS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx index 417774cae70f..cc6175923063 100644 --- a/dbaccess/source/core/api/KeySet.hxx +++ b/dbaccess/source/core/api/KeySet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_KEYSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_KEYSET_HXX +#pragma once #include "CacheSet.hxx" @@ -213,6 +212,5 @@ namespace dbaccess virtual void insertRow( const ORowSetRow& _rInsertRow,const connectivity::OSQLTable& _xTable ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_KEYSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/OptimisticSet.hxx b/dbaccess/source/core/api/OptimisticSet.hxx index db380d071041..d5c2c069579c 100644 --- a/dbaccess/source/core/api/OptimisticSet.hxx +++ b/dbaccess/source/core/api/OptimisticSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_OPTIMISTICSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_OPTIMISTICSET_HXX +#pragma once #include "KeySet.hxx" @@ -73,6 +72,5 @@ namespace dbaccess const std::map<sal_Int32,sal_Int32>& getJoinedKeyColumns() const { return m_aJoinedKeyColumns; } }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_OPTIMISTICSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/PrivateRow.hxx b/dbaccess/source/core/api/PrivateRow.hxx index 3f8edf0bc7b9..a9bf9e70e0ea 100644 --- a/dbaccess/source/core/api/PrivateRow.hxx +++ b/dbaccess/source/core/api/PrivateRow.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_DBACCESS_SOURCE_CORE_API_PRIVATEROW_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_PRIVATEROW_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/sdbc/XRow.hpp> @@ -55,6 +54,5 @@ namespace dbaccess virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray( ::sal_Int32 columnIndex ) override; }; } // dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_PRIVATEROW_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx index effbdb87a8df..d72fa884766a 100644 --- a/dbaccess/source/core/api/RowSet.hxx +++ b/dbaccess/source/core/api/RowSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSET_HXX +#pragma once #include <sal/config.h> @@ -522,6 +521,5 @@ namespace dbaccess }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx index 1031ed5dcce7..58087a85bb14 100644 --- a/dbaccess/source/core/api/RowSetBase.hxx +++ b/dbaccess/source/core/api/RowSetBase.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_DBACCESS_SOURCE_CORE_API_ROWSETBASE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETBASE_HXX +#pragma once #include <memory> #include <cppuhelper/implbase10.hxx> @@ -400,6 +399,4 @@ namespace dbaccess } // end of namespace -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/RowSetCache.hxx b/dbaccess/source/core/api/RowSetCache.hxx index 082b6522c098..01ed6394dc47 100644 --- a/dbaccess/source/core/api/RowSetCache.hxx +++ b/dbaccess/source/core/api/RowSetCache.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_DBACCESS_SOURCE_CORE_API_ROWSETCACHE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETCACHE_HXX +#pragma once #include <connectivity/CommonTools.hxx> #include <com/sun/star/io/XInputStream.hpp> @@ -187,6 +186,5 @@ namespace dbaccess void reset(const css::uno::Reference< css::sdbc::XResultSet>& _xDriverSet); }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/RowSetCacheIterator.hxx b/dbaccess/source/core/api/RowSetCacheIterator.hxx index 39f139c276cf..9c7a9afd4deb 100644 --- a/dbaccess/source/core/api/RowSetCacheIterator.hxx +++ b/dbaccess/source/core/api/RowSetCacheIterator.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_DBACCESS_SOURCE_CORE_API_ROWSETCACHEITERATOR_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETCACHEITERATOR_HXX +#pragma once #include <sal/config.h> @@ -69,6 +68,5 @@ namespace dbaccess const ORowSetCacheMap::iterator& getIter() const { return m_aIter; } }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETCACHEITERATOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/RowSetRow.hxx b/dbaccess/source/core/api/RowSetRow.hxx index 11337dec7cb6..7f24267b7530 100644 --- a/dbaccess/source/core/api/RowSetRow.hxx +++ b/dbaccess/source/core/api/RowSetRow.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_DBACCESS_SOURCE_CORE_API_ROWSETROW_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETROW_HXX +#pragma once #include <rtl/ref.hxx> #include <connectivity/CommonTools.hxx> @@ -49,6 +48,5 @@ namespace dbaccess typedef ::rtl::Reference< ORowSetOldRowHelper > TORowSetOldRowHelperRef; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETROW_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/StaticSet.hxx b/dbaccess/source/core/api/StaticSet.hxx index 8c466d29e208..9f765996b860 100644 --- a/dbaccess/source/core/api/StaticSet.hxx +++ b/dbaccess/source/core/api/StaticSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_STATICSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_STATICSET_HXX +#pragma once #include "CacheSet.hxx" @@ -72,6 +71,5 @@ namespace dbaccess virtual void deleteRow(const ORowSetRow& _rInsertRow,const connectivity::OSQLTable& _xTable ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_STATICSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/WrappedResultSet.hxx b/dbaccess/source/core/api/WrappedResultSet.hxx index 8f0b07953605..58b2d704102a 100644 --- a/dbaccess/source/core/api/WrappedResultSet.hxx +++ b/dbaccess/source/core/api/WrappedResultSet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_WRAPPEDRESULTSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_WRAPPEDRESULTSET_HXX +#pragma once #include "CacheSet.hxx" #include <com/sun/star/sdbcx/XRowLocate.hpp> @@ -57,6 +56,5 @@ namespace dbaccess virtual void deleteRow(const ORowSetRow& _rInsertRow,const connectivity::OSQLTable& _xTable ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_WRAPPEDRESULTSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/datacolumn.hxx b/dbaccess/source/core/api/datacolumn.hxx index fa40e0765cc1..5b5290dfcbe6 100644 --- a/dbaccess/source/core/api/datacolumn.hxx +++ b/dbaccess/source/core/api/datacolumn.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_DATACOLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_DATACOLUMN_HXX +#pragma once #include <com/sun/star/sdbc/XRowUpdate.hpp> #include <com/sun/star/sdbc/XRow.hpp> @@ -105,6 +104,4 @@ namespace dbaccess }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_DATACOLUMN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/query.hxx b/dbaccess/source/core/api/query.hxx index 536b2d2208c7..7c25dc43086f 100644 --- a/dbaccess/source/core/api/query.hxx +++ b/dbaccess/source/core/api/query.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX +#pragma once #include "querydescriptor.hxx" #include <cppuhelper/implbase3.hxx> @@ -145,6 +144,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/querydescriptor.hxx b/dbaccess/source/core/api/querydescriptor.hxx index 077792906126..0266a82f1436 100644 --- a/dbaccess/source/core/api/querydescriptor.hxx +++ b/dbaccess/source/core/api/querydescriptor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_QUERYDESCRIPTOR_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_QUERYDESCRIPTOR_HXX +#pragma once #include <cppuhelper/implbase3.hxx> #include <comphelper/proparrhlp.hxx> @@ -141,6 +140,4 @@ public: }; } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_QUERYDESCRIPTOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/resultcolumn.hxx b/dbaccess/source/core/api/resultcolumn.hxx index f5b150eaa1d6..53803bac8c8f 100644 --- a/dbaccess/source/core/api/resultcolumn.hxx +++ b/dbaccess/source/core/api/resultcolumn.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_RESULTCOLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_RESULTCOLUMN_HXX +#pragma once #include <com/sun/star/sdbc/XResultSetMetaData.hpp> #include <com/sun/star/sdbc/XDatabaseMetaData.hpp> @@ -84,6 +83,5 @@ namespace dbaccess using ::cppu::OPropertySetHelper::getFastPropertyValue; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_RESULTCOLUMN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/api/resultset.hxx b/dbaccess/source/core/api/resultset.hxx index 34f13a14d8bf..3334d8229937 100644 --- a/dbaccess/source/core/api/resultset.hxx +++ b/dbaccess/source/core/api/resultset.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_DBACCESS_SOURCE_CORE_API_RESULTSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_RESULTSET_HXX +#pragma once #include <column.hxx> #include <connectivity/warningscontainer.hxx> @@ -218,6 +217,5 @@ namespace dbaccess using ::cppu::OPropertySetHelper::getFastPropertyValue; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_RESULTSET_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx index 8753d51c47e5..014bafb0fa1a 100644 --- a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx +++ b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMPONENTDEFINITION_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMPONENTDEFINITION_HXX +#pragma once #include <commandbase.hxx> #include <com/sun/star/sdbcx/XRename.hpp> @@ -157,6 +156,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMPONENTDEFINITION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/SharedConnection.hxx b/dbaccess/source/core/dataaccess/SharedConnection.hxx index 6121d3d37532..c0ced3f1ca40 100644 --- a/dbaccess/source/core/dataaccess/SharedConnection.hxx +++ b/dbaccess/source/core/dataaccess/SharedConnection.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_DBACCESS_SOURCE_CORE_DATAACCESS_SHAREDCONNECTION_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_SHAREDCONNECTION_HXX +#pragma once #include <connectivity/ConnectionWrapper.hxx> #include <connectivity/CommonTools.hxx> @@ -116,6 +115,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_SHAREDCONNECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/commandcontainer.hxx b/dbaccess/source/core/dataaccess/commandcontainer.hxx index d0a1deca85dd..3ea36f64808b 100644 --- a/dbaccess/source/core/dataaccess/commandcontainer.hxx +++ b/dbaccess/source/core/dataaccess/commandcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDCONTAINER_HXX +#pragma once #include <definitioncontainer.hxx> @@ -70,6 +69,4 @@ protected: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx index 112a0eaa2b7c..ed348a8899b8 100644 --- a/dbaccess/source/core/dataaccess/commanddefinition.hxx +++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDDEFINITION_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDDEFINITION_HXX +#pragma once #include <commandbase.hxx> #include <apitools.hxx> @@ -123,6 +122,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_COMMANDDEFINITION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/connection.hxx b/dbaccess/source/core/dataaccess/connection.hxx index e5537da68843..93192d7988ff 100644 --- a/dbaccess/source/core/dataaccess/connection.hxx +++ b/dbaccess/source/core/dataaccess/connection.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_DBACCESS_SOURCE_CORE_DATAACCESS_CONNECTION_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_CONNECTION_HXX +#pragma once #include <sal/config.h> @@ -227,6 +226,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_CONNECTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx index 8adb30c541a1..1ed509c27d60 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.hxx +++ b/dbaccess/source/core/dataaccess/databasedocument.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_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEDOCUMENT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEDOCUMENT_HXX +#pragma once #include <sal/config.h> @@ -746,6 +745,5 @@ private: }; } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEDOCUMENT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.hxx b/dbaccess/source/core/dataaccess/databaseregistrations.hxx index 5e6680cc3f13..9f8190ba1190 100644 --- a/dbaccess/source/core/dataaccess/databaseregistrations.hxx +++ b/dbaccess/source/core/dataaccess/databaseregistrations.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEREGISTRATIONS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEREGISTRATIONS_HXX +#pragma once #include <com/sun/star/uno/XAggregation.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -31,6 +30,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATABASEREGISTRATIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx index b9d8e8bbf407..3a5c0bc3da0f 100644 --- a/dbaccess/source/core/dataaccess/datasource.hxx +++ b/dbaccess/source/core/dataaccess/datasource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATASOURCE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DATASOURCE_HXX +#pragma once #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -217,6 +216,4 @@ protected: } // namespace dbaccess -#endif // _DBA_COREDATAACCESS_DATALINK_HXX_ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/documentcontainer.hxx b/dbaccess/source/core/dataaccess/documentcontainer.hxx index f704011f8025..d47709e80a33 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.hxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTCONTAINER_HXX +#pragma once #include <definitioncontainer.hxx> #include <cppuhelper/implbase5.hxx> @@ -135,6 +134,4 @@ protected: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/documentdefinition.hxx b/dbaccess/source/core/dataaccess/documentdefinition.hxx index 9910d61d8d02..389ab601f2ab 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.hxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTDEFINITION_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTDEFINITION_HXX +#pragma once #include <cppuhelper/propshlp.hxx> #include <cppuhelper/implbase4.hxx> @@ -354,6 +353,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTDEFINITION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/documenteventexecutor.hxx b/dbaccess/source/core/dataaccess/documenteventexecutor.hxx index 5246984ce97e..90dc9083c4a3 100644 --- a/dbaccess/source/core/dataaccess/documenteventexecutor.hxx +++ b/dbaccess/source/core/dataaccess/documenteventexecutor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTEXECUTOR_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTEXECUTOR_HXX +#pragma once #include <com/sun/star/document/XDocumentEventListener.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> @@ -57,6 +56,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTEXECUTOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.hxx b/dbaccess/source/core/dataaccess/documenteventnotifier.hxx index cc655268f8c1..6f3bffc4cf54 100644 --- a/dbaccess/source/core/dataaccess/documenteventnotifier.hxx +++ b/dbaccess/source/core/dataaccess/documenteventnotifier.hxx @@ -18,8 +18,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTNOTIFIER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTNOTIFIER_HXX +#pragma once #include <com/sun/star/document/XEventListener.hpp> #include <com/sun/star/document/XDocumentEventListener.hpp> @@ -126,6 +125,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_DOCUMENTEVENTNOTIFIER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/intercept.hxx b/dbaccess/source/core/dataaccess/intercept.hxx index c7ddd3d217ab..16077c3c9e52 100644 --- a/dbaccess/source/core/dataaccess/intercept.hxx +++ b/dbaccess/source/core/dataaccess/intercept.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_INTERCEPT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_INTERCEPT_HXX +#pragma once #include <osl/mutex.hxx> #include <cppuhelper/implbase.hxx> @@ -109,6 +108,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_INTERCEPT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx b/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx index 8806371d1dbc..8d1c53f112d2 100644 --- a/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx +++ b/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_DATASUPPLIER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_DATASUPPLIER_HXX +#pragma once #include <rtl/ref.hxx> #include <ucbhelper/resultset.hxx> @@ -60,6 +59,4 @@ public: } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_DATASUPPLIER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/dataaccess/myucp_resultset.hxx b/dbaccess/source/core/dataaccess/myucp_resultset.hxx index 6556ff76f572..ae269ffb8ac9 100644 --- a/dbaccess/source/core/dataaccess/myucp_resultset.hxx +++ b/dbaccess/source/core/dataaccess/myucp_resultset.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_RESULTSET_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_RESULTSET_HXX +#pragma once #include <rtl/ref.hxx> #include <ucbhelper/resultsethelper.hxx> @@ -47,6 +46,4 @@ public: } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_MYUCP_RESULTSET_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/ContainerMediator.hxx b/dbaccess/source/core/inc/ContainerMediator.hxx index 8d1bf9d8d752..37bfc0ebac1a 100644 --- a/dbaccess/source/core/inc/ContainerMediator.hxx +++ b/dbaccess/source/core/inc/ContainerMediator.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_DBACCESS_SOURCE_CORE_INC_CONTAINERMEDIATOR_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTAINERMEDIATOR_HXX +#pragma once #include <com/sun/star/container/XContainerListener.hpp> #include <com/sun/star/container/XContainer.hpp> @@ -77,6 +76,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTAINERMEDIATOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/ContentHelper.hxx b/dbaccess/source/core/inc/ContentHelper.hxx index 87686496a77d..b7d275481ec1 100644 --- a/dbaccess/source/core/inc/ContentHelper.hxx +++ b/dbaccess/source/core/inc/ContentHelper.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_DBACCESS_SOURCE_CORE_INC_CONTENTHELPER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTENTHELPER_HXX +#pragma once #include <com/sun/star/ucb/XContent.hpp> #include <com/sun/star/ucb/XCommandProcessor.hpp> @@ -180,6 +179,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTENTHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/DatabaseDataProvider.hxx b/dbaccess/source/core/inc/DatabaseDataProvider.hxx index 3ea202a10c85..5df139157d78 100644 --- a/dbaccess/source/core/inc/DatabaseDataProvider.hxx +++ b/dbaccess/source/core/inc/DatabaseDataProvider.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_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX +#pragma once #include <sal/config.h> @@ -260,6 +259,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/FilteredContainer.hxx b/dbaccess/source/core/inc/FilteredContainer.hxx index b07892731f3f..968f3a1d622b 100644 --- a/dbaccess/source/core/inc/FilteredContainer.hxx +++ b/dbaccess/source/core/inc/FilteredContainer.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_DBACCESS_SOURCE_CORE_INC_FILTEREDCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_FILTEREDCONTAINER_HXX +#pragma once #include <sal/config.h> @@ -134,6 +133,4 @@ namespace dbaccess }; } // namespace -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_FILTEREDCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/ModelImpl.hxx b/dbaccess/source/core/inc/ModelImpl.hxx index c67e67d57905..b6e2fe729ffb 100644 --- a/dbaccess/source/core/inc/ModelImpl.hxx +++ b/dbaccess/source/core/inc/ModelImpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_MODELIMPL_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_MODELIMPL_HXX +#pragma once #include "ContentHelper.hxx" #include "documentevents.hxx" @@ -540,6 +539,4 @@ public: } // namespace dbaccess -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/PropertyForward.hxx b/dbaccess/source/core/inc/PropertyForward.hxx index 1b20e76e9c6f..b8e602fc05cf 100644 --- a/dbaccess/source/core/inc/PropertyForward.hxx +++ b/dbaccess/source/core/inc/PropertyForward.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_DBACCESS_SOURCE_CORE_INC_PROPERTYFORWARD_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_PROPERTYFORWARD_HXX +#pragma once #include <com/sun/star/beans/XPropertyChangeListener.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -67,6 +66,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_PROPERTYFORWARD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/RefreshListener.hxx b/dbaccess/source/core/inc/RefreshListener.hxx index 37c6ea511bc5..03836c308f2b 100644 --- a/dbaccess/source/core/inc/RefreshListener.hxx +++ b/dbaccess/source/core/inc/RefreshListener.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_REFRESHLISTENER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_REFRESHLISTENER_HXX +#pragma once #include <com/sun/star/uno/Reference.h> @@ -40,6 +39,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_REFRESHLISTENER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx index be2f48fdb30d..356d00aafdb0 100644 --- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx +++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.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_DBACCESS_SOURCE_CORE_INC_SINGLESELECTQUERYCOMPOSER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_SINGLESELECTQUERYCOMPOSER_HXX +#pragma once #include <com/sun/star/sdb/XParametersSupplier.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> @@ -257,6 +256,5 @@ namespace dbaccess virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getParameters( ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_SINGLESELECTQUERYCOMPOSER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx index f7bec41b9d28..002423908e29 100644 --- a/dbaccess/source/core/inc/TableDeco.hxx +++ b/dbaccess/source/core/inc/TableDeco.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLEDECO_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLEDECO_HXX +#pragma once #include <memory> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> @@ -161,6 +160,5 @@ namespace dbaccess using ODataSettings::getFastPropertyValue; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLEDECO_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/View.hxx b/dbaccess/source/core/inc/View.hxx index 93985e068a74..d3889ff56d00 100644 --- a/dbaccess/source/core/inc/View.hxx +++ b/dbaccess/source/core/inc/View.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEW_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEW_HXX +#pragma once #include <connectivity/sdbcx/VView.hxx> @@ -69,6 +68,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/bookmarkcontainer.hxx b/dbaccess/source/core/inc/bookmarkcontainer.hxx index 10da82a6ced3..9a2d3b93d147 100644 --- a/dbaccess/source/core/inc/bookmarkcontainer.hxx +++ b/dbaccess/source/core/inc/bookmarkcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_BOOKMARKCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_BOOKMARKCONTAINER_HXX +#pragma once #include <sal/config.h> @@ -146,6 +145,4 @@ inline bool OBookmarkContainer::checkExistence(const OUString& _rName) } // namespace dbaccess -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/callablestatement.hxx b/dbaccess/source/core/inc/callablestatement.hxx index 9ca89317c5d8..a61973db2b9d 100644 --- a/dbaccess/source/core/inc/callablestatement.hxx +++ b/dbaccess/source/core/inc/callablestatement.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_DBACCESS_SOURCE_CORE_INC_CALLABLESTATEMENT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CALLABLESTATEMENT_HXX +#pragma once #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XOutParameters.hpp> @@ -77,6 +76,5 @@ namespace dbaccess virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_CALLABLESTATEMENT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/column.hxx b/dbaccess/source/core/inc/column.hxx index 3744715c7d6f..9c4e20153f06 100644 --- a/dbaccess/source/core/inc/column.hxx +++ b/dbaccess/source/core/inc/column.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMN_HXX +#pragma once #include "columnsettings.hxx" @@ -214,6 +213,5 @@ namespace dbaccess using OColumns_BASE::setParent; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/columnsettings.hxx b/dbaccess/source/core/inc/columnsettings.hxx index 29a93effadf4..6b6c5d4c16ec 100644 --- a/dbaccess/source/core/inc/columnsettings.hxx +++ b/dbaccess/source/core/inc/columnsettings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMNSETTINGS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMNSETTINGS_HXX +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> @@ -86,6 +85,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_COLUMNSETTINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/commandbase.hxx b/dbaccess/source/core/inc/commandbase.hxx index 725e348760ef..1a0bd91d83d6 100644 --- a/dbaccess/source/core/inc/commandbase.hxx +++ b/dbaccess/source/core/inc/commandbase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_COMMANDBASE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_COMMANDBASE_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> @@ -48,6 +47,4 @@ protected: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_COMMANDBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/composertools.hxx b/dbaccess/source/core/inc/composertools.hxx index d0bfdc3ff7d6..337064757300 100644 --- a/dbaccess/source/core/inc/composertools.hxx +++ b/dbaccess/source/core/inc/composertools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_COMPOSERTOOLS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_COMPOSERTOOLS_HXX +#pragma once #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> @@ -119,6 +118,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_COMPOSERTOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/containerapprove.hxx b/dbaccess/source/core/inc/containerapprove.hxx index d350470adac0..f780e224affd 100644 --- a/dbaccess/source/core/inc/containerapprove.hxx +++ b/dbaccess/source/core/inc/containerapprove.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTAINERAPPROVE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTAINERAPPROVE_HXX +#pragma once #include <rtl/ustring.hxx> @@ -55,6 +54,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_CONTAINERAPPROVE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/databasecontext.hxx b/dbaccess/source/core/inc/databasecontext.hxx index 4b5e8aec6c94..8cfa0eb2b6df 100644 --- a/dbaccess/source/core/inc/databasecontext.hxx +++ b/dbaccess/source/core/inc/databasecontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASECONTEXT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASECONTEXT_HXX +#pragma once #include <sal/config.h> @@ -181,6 +180,4 @@ private: } // namespace dbaccess -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/datasettings.hxx b/dbaccess/source/core/inc/datasettings.hxx index 9b6a7f686434..8e24ebb714de 100644 --- a/dbaccess/source/core/inc/datasettings.hxx +++ b/dbaccess/source/core/inc/datasettings.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_DATASETTINGS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DATASETTINGS_HXX +#pragma once #include <com/sun/star/awt/FontDescriptor.hpp> #include <rtl/ustring.hxx> @@ -75,6 +74,4 @@ protected: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_DATASETTINGS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx index 69d2c3c8490d..d2372670378f 100644 --- a/dbaccess/source/core/inc/definitioncolumn.hxx +++ b/dbaccess/source/core/inc/definitioncolumn.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_DBACCESS_SOURCE_CORE_INC_DEFINITIONCOLUMN_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DEFINITIONCOLUMN_HXX +#pragma once #include "column.hxx" #include "columnsettings.hxx" @@ -288,6 +287,5 @@ namespace dbaccess virtual ::cppu::IPropertyArrayHelper* createArrayHelper(sal_Int32 nId) const override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_DEFINITIONCOLUMN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/definitioncontainer.hxx b/dbaccess/source/core/inc/definitioncontainer.hxx index 98a4c3f140a3..bcb6bd364470 100644 --- a/dbaccess/source/core/inc/definitioncontainer.hxx +++ b/dbaccess/source/core/inc/definitioncontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_DEFINITIONCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DEFINITIONCONTAINER_HXX +#pragma once #include <sal/config.h> @@ -320,6 +319,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_DEFINITIONCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/documentevents.hxx b/dbaccess/source/core/inc/documentevents.hxx index 9a04074a3c68..f24fa83f2a6b 100644 --- a/dbaccess/source/core/inc/documentevents.hxx +++ b/dbaccess/source/core/inc/documentevents.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_DOCUMENTEVENTS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_DOCUMENTEVENTS_HXX +#pragma once #include <com/sun/star/container/XNameReplace.hpp> #include <com/sun/star/beans/PropertyValue.hpp> @@ -73,6 +72,4 @@ namespace dbaccess } // namespace dbaccess -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/migrwarndlg.hxx b/dbaccess/source/core/inc/migrwarndlg.hxx index e01c2b9f0099..24bacf300101 100644 --- a/dbaccess/source/core/inc/migrwarndlg.hxx +++ b/dbaccess/source/core/inc/migrwarndlg.hxx @@ -6,8 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_WARNDLG_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_WARNDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -22,6 +21,4 @@ public: }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_WARNDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/object.hxx b/dbaccess/source/core/inc/object.hxx index a6f08560941b..a947f9c57c3e 100644 --- a/dbaccess/source/core/inc/object.hxx +++ b/dbaccess/source/core/inc/object.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECT_HXX +#pragma once enum ObjectType { @@ -28,6 +27,4 @@ enum ObjectType dbaReport }; -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/objectnameapproval.hxx b/dbaccess/source/core/inc/objectnameapproval.hxx index 6e0ce4577b03..ddd538c79edb 100644 --- a/dbaccess/source/core/inc/objectnameapproval.hxx +++ b/dbaccess/source/core/inc/objectnameapproval.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECTNAMEAPPROVAL_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECTNAMEAPPROVAL_HXX +#pragma once #include <memory> #include "containerapprove.hxx" @@ -73,6 +72,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECTNAMEAPPROVAL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/preparedstatement.hxx b/dbaccess/source/core/inc/preparedstatement.hxx index d8e0f5b6a7b5..5aed22dd3f78 100644 --- a/dbaccess/source/core/inc/preparedstatement.hxx +++ b/dbaccess/source/core/inc/preparedstatement.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_DBACCESS_SOURCE_CORE_INC_PREPAREDSTATEMENT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_PREPAREDSTATEMENT_HXX +#pragma once #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sdbc/XPreparedStatement.hpp> @@ -102,6 +101,5 @@ namespace dbaccess virtual void SAL_CALL clearParameters( ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_PREPAREDSTATEMENT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/querycomposer.hxx b/dbaccess/source/core/inc/querycomposer.hxx index 1e5ef2ab07ec..7671b9a9bf7f 100644 --- a/dbaccess/source/core/inc/querycomposer.hxx +++ b/dbaccess/source/core/inc/querycomposer.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_DBACCESS_SOURCE_CORE_INC_QUERYCOMPOSER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_QUERYCOMPOSER_HXX +#pragma once #include <com/sun/star/sdb/XSQLQueryComposer.hpp> #include <com/sun/star/sdb/XParametersSupplier.hpp> @@ -88,6 +87,5 @@ namespace dbaccess virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getParameters( ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_QUERYCOMPOSER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/querycontainer.hxx b/dbaccess/source/core/inc/querycontainer.hxx index 0aeb806aed7c..a04a1ddf3d31 100644 --- a/dbaccess/source/core/inc/querycontainer.hxx +++ b/dbaccess/source/core/inc/querycontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_QUERYCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_QUERYCONTAINER_HXX +#pragma once #include <cppuhelper/implbase5.hxx> #include <connectivity/CommonTools.hxx> @@ -163,6 +162,4 @@ namespace dbaccess }; } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_QUERYCONTAINER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/recovery/dbdocrecovery.hxx b/dbaccess/source/core/inc/recovery/dbdocrecovery.hxx index c5dadce4549d..e5f924650b52 100644 --- a/dbaccess/source/core/inc/recovery/dbdocrecovery.hxx +++ b/dbaccess/source/core/inc/recovery/dbdocrecovery.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_RECOVERY_DBDOCRECOVERY_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_RECOVERY_DBDOCRECOVERY_HXX +#pragma once #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/frame/XController.hpp> @@ -69,6 +68,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_RECOVERY_DBDOCRECOVERY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/sdbcoretools.hxx b/dbaccess/source/core/inc/sdbcoretools.hxx index 41097c676f58..5b100dcf1783 100644 --- a/dbaccess/source/core/inc/sdbcoretools.hxx +++ b/dbaccess/source/core/inc/sdbcoretools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_SDBCORETOOLS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_SDBCORETOOLS_HXX +#pragma once #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -53,6 +52,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_SDBCORETOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/statement.hxx b/dbaccess/source/core/inc/statement.hxx index 2024bb0de81e..7ddc9129538f 100644 --- a/dbaccess/source/core/inc/statement.hxx +++ b/dbaccess/source/core/inc/statement.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_DBACCESS_SOURCE_CORE_INC_STATEMENT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_STATEMENT_HXX +#pragma once #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sdbc/XStatement.hpp> @@ -177,6 +176,4 @@ private: bool impl_ensureComposer_nothrow() const; }; -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_STATEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/table.hxx b/dbaccess/source/core/inc/table.hxx index ec851f3b50d6..8962e13d5024 100644 --- a/dbaccess/source/core/inc/table.hxx +++ b/dbaccess/source/core/inc/table.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLE_HXX +#pragma once #include <com/sun/star/sdbc/XConnection.hpp> @@ -137,6 +136,5 @@ namespace dbaccess using OTable_Base::getFastPropertyValue; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/tablecontainer.hxx b/dbaccess/source/core/inc/tablecontainer.hxx index bc5a38818104..c60be3b5ce00 100644 --- a/dbaccess/source/core/inc/tablecontainer.hxx +++ b/dbaccess/source/core/inc/tablecontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLECONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLECONTAINER_HXX +#pragma once #include <sal/config.h> @@ -93,6 +92,5 @@ namespace dbaccess virtual ~OTableContainer() override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLECONTAINER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/veto.hxx b/dbaccess/source/core/inc/veto.hxx index 63a0748b24af..5608e87d11ee 100644 --- a/dbaccess/source/core/inc/veto.hxx +++ b/dbaccess/source/core/inc/veto.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_VETO_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_VETO_HXX +#pragma once #include <com/sun/star/util/XVeto.hpp> @@ -53,6 +52,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_VETO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/inc/viewcontainer.hxx b/dbaccess/source/core/inc/viewcontainer.hxx index 12d7f74805fb..371b739b364f 100644 --- a/dbaccess/source/core/inc/viewcontainer.hxx +++ b/dbaccess/source/core/inc/viewcontainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEWCONTAINER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEWCONTAINER_HXX +#pragma once #include <sal/config.h> @@ -91,6 +90,5 @@ namespace dbaccess bool m_bInElementRemoved; }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_VIEWCONTAINER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/settingsimport.hxx b/dbaccess/source/core/recovery/settingsimport.hxx index c698263adc8a..38bce0228e29 100644 --- a/dbaccess/source/core/recovery/settingsimport.hxx +++ b/dbaccess/source/core/recovery/settingsimport.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SETTINGSIMPORT_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SETTINGSIMPORT_HXX +#pragma once #include <com/sun/star/xml/sax/XAttributeList.hpp> @@ -161,6 +160,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SETTINGSIMPORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/storagestream.hxx b/dbaccess/source/core/recovery/storagestream.hxx index 6dffdf7a175e..64c7e369dd1e 100644 --- a/dbaccess/source/core/recovery/storagestream.hxx +++ b/dbaccess/source/core/recovery/storagestream.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGESTREAM_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGESTREAM_HXX +#pragma once #include <com/sun/star/embed/XStorage.hpp> @@ -49,6 +48,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGESTREAM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/storagetextstream.hxx b/dbaccess/source/core/recovery/storagetextstream.hxx index 5d7c889862e2..46c3e5b2ee26 100644 --- a/dbaccess/source/core/recovery/storagetextstream.hxx +++ b/dbaccess/source/core/recovery/storagetextstream.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGETEXTSTREAM_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGETEXTSTREAM_HXX +#pragma once #include "storagestream.hxx" @@ -50,6 +49,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGETEXTSTREAM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/storagexmlstream.hxx b/dbaccess/source/core/recovery/storagexmlstream.hxx index ca0f3d3433a2..fd762ae05dc8 100644 --- a/dbaccess/source/core/recovery/storagexmlstream.hxx +++ b/dbaccess/source/core/recovery/storagexmlstream.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGEXMLSTREAM_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGEXMLSTREAM_HXX +#pragma once #include "storagestream.hxx" @@ -86,6 +85,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_STORAGEXMLSTREAM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/subcomponentloader.hxx b/dbaccess/source/core/recovery/subcomponentloader.hxx index a8f12071f7c1..4ab8678809a4 100644 --- a/dbaccess/source/core/recovery/subcomponentloader.hxx +++ b/dbaccess/source/core/recovery/subcomponentloader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTLOADER_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTLOADER_HXX +#pragma once #include <com/sun/star/awt/XWindowListener.hpp> #include <com/sun/star/frame/XController.hpp> @@ -69,6 +68,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTLOADER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.hxx b/dbaccess/source/core/recovery/subcomponentrecovery.hxx index 9881778002fe..26b81c63f374 100644 --- a/dbaccess/source/core/recovery/subcomponentrecovery.hxx +++ b/dbaccess/source/core/recovery/subcomponentrecovery.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTRECOVERY_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTRECOVERY_HXX +#pragma once #include "subcomponents.hxx" @@ -112,6 +111,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTRECOVERY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/core/recovery/subcomponents.hxx b/dbaccess/source/core/recovery/subcomponents.hxx index 029b31c9527c..5e4173605045 100644 --- a/dbaccess/source/core/recovery/subcomponents.hxx +++ b/dbaccess/source/core/recovery/subcomponents.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTS_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTS_HXX +#pragma once #include <com/sun/star/sdb/application/DatabaseObject.hpp> @@ -59,6 +58,4 @@ namespace dbaccess } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_RECOVERY_SUBCOMPONENTS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits