diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-23 12:30:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-23 13:44:03 +0200 |
commit | d0322208bcbb35b9149b508ac2bffa667c38696f (patch) | |
tree | f324a25f9688163c9ae5d34d02aea1454e659010 /codemaker | |
parent | 8928a4f6dcacb1357d3b9b1a7a29cc62fede87d9 (diff) |
Combine unoidl::loadProvider and unoidl::Manager::addProvider
Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/typemanager.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/codemaker/source/codemaker/typemanager.cxx b/codemaker/source/codemaker/typemanager.cxx index 7779704cef1b..d2e346d6d680 100644 --- a/codemaker/source/codemaker/typemanager.cxx +++ b/codemaker/source/codemaker/typemanager.cxx @@ -34,9 +34,7 @@ TypeManager::TypeManager(): manager_(new unoidl::Manager) {} TypeManager::~TypeManager() {} void TypeManager::loadProvider(OUString const & uri, bool primary) { - rtl::Reference< unoidl::Provider > prov( - unoidl::loadProvider(manager_, uri)); - manager_->addProvider(prov); + rtl::Reference< unoidl::Provider > prov(manager_->addProvider(uri)); if (primary) { primaryProviders_.push_back(prov); } |