diff options
Diffstat (limited to 'idlc/source/astscope.cxx')
-rw-r--r-- | idlc/source/astscope.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index 49bd39a43637..a6b2ccb903ef 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -36,7 +36,7 @@ using namespace ::rtl; sal_Bool isGlobal(const OString& scopedName) { - if ((scopedName.getLength() == 0) || (scopedName.indexOf(':') == 0)) + if (scopedName.isEmpty() || (scopedName.indexOf(':') == 0)) { return sal_True; } @@ -124,7 +124,7 @@ AstDeclaration* AstScope::lookupByName(const OString& scopedName) { AstDeclaration* pDecl = NULL; AstScope* pScope = NULL; - if (scopedName.getLength() == 0) + if (scopedName.isEmpty()) return NULL; // If name starts with "::" start look up in global scope |