diff options
Diffstat (limited to 'unodevtools/source/skeletonmaker/cppcompskeleton.cxx')
-rw-r--r-- | unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index 488440e1b9a1..dc49eb8bb5bd 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -584,7 +584,7 @@ void generateMemberInitialization(std::ostream& o, i != members.end(); ++i) { sal_Int32 rank; - if ((manager->decompose(i->type, true, 0, &rank, 0, 0) + if ((manager->decompose(i->type, true, nullptr, &rank, nullptr, nullptr) <= codemaker::UnoType::SORT_CHAR) && rank == 0) { @@ -993,7 +993,7 @@ void generateSkeleton(ProgramOptions const & options, OString compFileName; OString tmpFileName; - std::ostream* pofs = NULL; + std::ostream* pofs = nullptr; bool standardout = getOutputStream(options, ".cxx", &pofs, compFileName, tmpFileName); @@ -1154,7 +1154,7 @@ void generateCalcAddin(ProgramOptions const & options, OString compFileName; OString tmpFileName; - std::ostream* pofs = NULL; + std::ostream* pofs = nullptr; bool standardout = getOutputStream(options, ".cxx", &pofs, compFileName, tmpFileName); |