diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-09 15:14:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-10 06:51:53 +0000 |
commit | 5c2c2d8dc4449c9d4ac9d645f634772ba93373af (patch) | |
tree | 9aaa3ab74dcc23b8a5d188c1b7b5d1c7cac3a024 /cppuhelper/source/typemanager.cxx | |
parent | 76c8336eec82862732d3a26be84b5e8a52efe022 (diff) |
loplugin:expandablemethods in comphelper..cppuhelper
Change-Id: I9d5487af4729bd3ee4f6450092e4b77f74a12e6d
Reviewed-on: https://gerrit.libreoffice.org/30717
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source/typemanager.cxx')
-rw-r--r-- | cppuhelper/source/typemanager.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx index f232c6c1c68f..7faddafee8ce 100644 --- a/cppuhelper/source/typemanager.cxx +++ b/cppuhelper/source/typemanager.cxx @@ -1872,10 +1872,6 @@ cppuhelper::TypeManager::TypeManager(): manager_(new unoidl::Manager) {} -void cppuhelper::TypeManager::init(rtl::OUString const & rdbUris) { - readRdbs(rdbUris); -} - css::uno::Any cppuhelper::TypeManager::find(rtl::OUString const & name) { //TODO: caching? (here or in unoidl::Manager?) struct Simple { @@ -2096,9 +2092,9 @@ cppuhelper::TypeManager::createTypeDescriptionEnumeration( depth == css::reflection::TypeDescriptionSearchDepth_INFINITE); } -void cppuhelper::TypeManager::readRdbs(rtl::OUString const & uris) { +void cppuhelper::TypeManager::init(rtl::OUString const & rdbUris) { for (sal_Int32 i = 0; i != -1;) { - rtl::OUString uri(uris.getToken(0, ' ', i)); + rtl::OUString uri(rdbUris.getToken(0, ' ', i)); if (uri.isEmpty()) { continue; } |