summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc/dsntypes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/inc/dsntypes.hxx')
-rw-r--r--dbaccess/source/inc/dsntypes.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index d1fd9aa707ef..5ca8c83f3264 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -172,9 +172,9 @@ public:
getDefaultDBSettings( const OUString& _sURL ) const;
/// get access to the first element of the types collection
- TypeIterator begin() const;
+ inline TypeIterator begin() const;
/// get access to the (last + 1st) element of the types collection
- TypeIterator end() const;
+ inline TypeIterator end() const;
void fillPageIds(const OUString& _sURL,::std::vector<sal_Int16>& _rOutPathIds) const;
@@ -220,6 +220,10 @@ protected:
TypeIterator(const ODsnTypeCollection* _pContainer, sal_Int32 _nInitialPos = 0);
};
+
+inline ODsnTypeCollection::TypeIterator ODsnTypeCollection::begin() const { return ODsnTypeCollection::TypeIterator(this, 0);}
+inline ODsnTypeCollection::TypeIterator ODsnTypeCollection::end() const { return ODsnTypeCollection::TypeIterator(this, m_aDsnTypesDisplayNames.size());}
+
} // namespace dbaccess
#endif // INCLUDED_DBACCESS_SOURCE_INC_DSNTYPES_HXX