summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:28:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:28:22 +0100
commit500910feff50c07ae8335c8fcb0564936bb175a9 (patch)
treef249fa8224008e77e123f97246c24e44407ac10f /idlc
parentf1373539043d9040b68e44500d12cfa20126f6d3 (diff)
idlc: Use appropriate OUString functions on string constants
Change-Id: Ia537f5d5d573d24f5bbed7a20b9e9268181faa5f
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astscope.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx
index c57d14c65560..e7f030e759ed 100644
--- a/idlc/source/astscope.cxx
+++ b/idlc/source/astscope.cxx
@@ -179,7 +179,7 @@ AstDeclaration* AstScope::lookupByName(const OString& scopedName)
{
// last try if is not the global scope and the scopeName isn't specify global too
pDecl = scopeAsDecl(this);
- if ( pDecl && (pDecl->getLocalName() != "") )
+ if ( pDecl && !pDecl->getLocalName().isEmpty() )
{
pScope = pDecl->getScope();
if ( pScope )