diff options
Diffstat (limited to 'codemaker/source/codemaker/unotype.cxx')
-rw-r--r-- | codemaker/source/codemaker/unotype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/codemaker/unotype.cxx b/codemaker/source/codemaker/unotype.cxx index 0432a298816b..0ae8e43a443a 100644 --- a/codemaker/source/codemaker/unotype.cxx +++ b/codemaker/source/codemaker/unotype.cxx @@ -56,7 +56,7 @@ codemaker::UnoType::Sort codemaker::UnoType::getSort(rtl::OString const & type) } bool codemaker::UnoType::isSequenceType(rtl::OString const & type) { - return type.getLength() > 0 && type[0] == '['; + return !type.isEmpty() && type[0] == '['; } rtl::OString codemaker::UnoType::decompose( |