[Libreoffice-commits] core.git: connectivity/source
siddheshpatil777 (via logerrit)
logerrit at kemper.freedesktop.org
Sun Dec 20 09:27:08 UTC 2020
connectivity/source/inc/AutoRetrievingBase.hxx | 5 ++---
connectivity/source/inc/FDatabaseMetaDataResultSet.hxx | 4 +---
connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx | 4 +---
3 files changed, 4 insertions(+), 9 deletions(-)
New commits:
commit 3420cc1e70b2ed49fc63d6fd30f7b962abbec70f
Author: siddheshpatil777 <siddheshpatil777 at gmail.com>
AuthorDate: Sat Dec 19 16:01:47 2020 +0400
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Dec 20 10:26:28 2020 +0100
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 at yahoo.fr>
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: */
More information about the Libreoffice-commits
mailing list