summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/includes.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 14:59:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:54 +0100
commitbb1f0c667f8b38bf27818fe1608beb4295d9c429 (patch)
tree36e98fecb1fb3fed8e28155763d858620c70fce1 /codemaker/source/cppumaker/includes.cxx
parentaaaeec55c6ca86a4871a59e058f80498e898b29b (diff)
Clean up codemaker/typemanager.hxx
Change-Id: I650efd6780070410eaf34993dd41ed1b8ada7c9a
Diffstat (limited to 'codemaker/source/cppumaker/includes.cxx')
-rw-r--r--codemaker/source/cppumaker/includes.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx
index 9ee0eb54fd3b..0b0f83b869b7 100644
--- a/codemaker/source/cppumaker/includes.cxx
+++ b/codemaker/source/cppumaker/includes.cxx
@@ -28,6 +28,7 @@
#include "codemaker/unotype.hxx"
#include "osl/diagnose.h"
+#include "rtl/ref.hxx"
#include "rtl/string.hxx"
#include "rtl/ustring.hxx"
#include "sal/types.h"
@@ -37,8 +38,8 @@
using codemaker::cppumaker::Includes;
Includes::Includes(
- TypeManager const & manager, codemaker::Dependencies const & dependencies,
- bool hpp):
+ rtl::Reference< TypeManager > const & manager,
+ codemaker::Dependencies const & dependencies, bool hpp):
m_manager(manager), m_map(dependencies.getMap()), m_hpp(hpp),
m_includeCassert(false), m_includeAny(dependencies.hasAnyDependency()),
m_includeReference(false),
@@ -275,7 +276,7 @@ void Includes::dumpInclude(
}
bool Includes::isInterfaceType(rtl::OString const & registryType) const {
- return m_manager.getTypeClass(registryType) == RT_TYPE_INTERFACE;
+ return m_manager->getTypeClass(registryType) == RT_TYPE_INTERFACE;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */