diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 14:59:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 09:36:54 +0100 |
commit | bb1f0c667f8b38bf27818fe1608beb4295d9c429 (patch) | |
tree | 36e98fecb1fb3fed8e28155763d858620c70fce1 /codemaker/source/codemaker/exceptiontree.cxx | |
parent | aaaeec55c6ca86a4871a59e058f80498e898b29b (diff) |
Clean up codemaker/typemanager.hxx
Change-Id: I650efd6780070410eaf34993dd41ed1b8ada7c9a
Diffstat (limited to 'codemaker/source/codemaker/exceptiontree.cxx')
-rw-r--r-- | codemaker/source/codemaker/exceptiontree.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/codemaker/source/codemaker/exceptiontree.cxx b/codemaker/source/codemaker/exceptiontree.cxx index 8ec6f1f2e727..52f968493274 100644 --- a/codemaker/source/codemaker/exceptiontree.cxx +++ b/codemaker/source/codemaker/exceptiontree.cxx @@ -47,7 +47,8 @@ void ExceptionTreeNode::clearChildren() { children.clear(); } -void ExceptionTree::add(rtl::OString const & name, TypeManager const & manager) +void ExceptionTree::add( + rtl::OString const & name, rtl::Reference< TypeManager > const & manager) throw( CannotDumpException ) { typedef std::vector< rtl::OString > OStringList; @@ -59,7 +60,7 @@ void ExceptionTree::add(rtl::OString const & name, TypeManager const & manager) break; } stringlist.push_back(n); - typereg::Reader reader(manager.getTypeReader(n)); + typereg::Reader reader(manager->getTypeReader(n)); if (!reader.isValid()) throw CannotDumpException( ::rtl::OString("Unknown type '" + n.replace('/', '.') |