summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /dbaccess/source/inc
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'dbaccess/source/inc')
-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