summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file/FResultSetMetaData.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/file/FResultSetMetaData.hxx')
-rw-r--r--connectivity/source/inc/file/FResultSetMetaData.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/connectivity/source/inc/file/FResultSetMetaData.hxx b/connectivity/source/inc/file/FResultSetMetaData.hxx
index 9ba77bc29822..dee656a915f4 100644
--- a/connectivity/source/inc/file/FResultSetMetaData.hxx
+++ b/connectivity/source/inc/file/FResultSetMetaData.hxx
@@ -17,17 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FRESULTSETMETADATA_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FRESULTSETMETADATA_HXX
+#pragma once
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase.hxx>
#include <connectivity/CommonTools.hxx>
#include <rtl/ref.hxx>
-namespace connectivity
-{
- namespace file
+namespace connectivity::file
{
class OFileTable;
@@ -49,7 +46,7 @@ namespace connectivity
virtual ~OResultSetMetaData() override;
public:
// a Constructor, that is needed for when Returning the Object is needed:
- OResultSetMetaData(const ::rtl::Reference<connectivity::OSQLColumns>& _rxColumns,const OUString& _aTableName,OFileTable* _pTable);
+ OResultSetMetaData(::rtl::Reference<connectivity::OSQLColumns> _xColumns, OUString _aTableName, OFileTable* _pTable);
virtual sal_Int32 SAL_CALL getColumnCount( ) override;
virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column ) override;
@@ -73,9 +70,8 @@ namespace connectivity
virtual sal_Bool SAL_CALL isDefinitelyWritable( sal_Int32 column ) override;
virtual OUString SAL_CALL getColumnServiceName( sal_Int32 column ) override;
};
- }
+
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_FILE_FRESULTSETMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */