diff options
Diffstat (limited to 'codemaker/source/cppumaker')
-rwxr-xr-x | codemaker/source/cppumaker/cpputype.cxx | 12 | ||||
-rw-r--r-- | codemaker/source/cppumaker/dependencies.cxx | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 7540c02ed57c..8411f58a7702 100755 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -3357,9 +3357,9 @@ void ServiceType::dumpHxxFile( i->parameters.begin()); j != i->parameters.end(); ++j) { - if (codemaker::UnoType::getSort( - codemaker::UnoType::decompose( - u2b(j->type), 0, 0)) + if (m_typeMgr->getSort( + b2u(codemaker::UnoType::decompose( + u2b(j->type), 0, 0))) == codemaker::UnoType::SORT_CHAR) { includes.addCppuUnotypeHxx(); @@ -3506,9 +3506,9 @@ void ServiceType::dumpHxxFile( u2b(j->name), "param", codemaker::cpp::ITM_NONGLOBAL)); sal_Int32 rank; - if (codemaker::UnoType::getSort( - codemaker::UnoType::decompose( - u2b(j->type), &rank, 0)) + if (m_typeMgr->getSort( + b2u(codemaker::UnoType::decompose( + u2b(j->type), &rank, 0))) == codemaker::UnoType::SORT_CHAR) { o << "= ::com::sun::star::uno::Any(&" << param diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx index 35a4ab37cd86..82ae4a1de026 100644 --- a/codemaker/source/cppumaker/dependencies.cxx +++ b/codemaker/source/cppumaker/dependencies.cxx @@ -23,6 +23,7 @@ #include <utility> #include <vector> +#include "codemaker/global.hxx" #include "codemaker/typemanager.hxx" #include "codemaker/unotype.hxx" |