From 500910feff50c07ae8335c8fcb0564936bb175a9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 16 Dec 2014 17:28:22 +0100 Subject: idlc: Use appropriate OUString functions on string constants Change-Id: Ia537f5d5d573d24f5bbed7a20b9e9268181faa5f --- idlc/source/astscope.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idlc/source/astscope.cxx') 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 ) -- cgit