Kaydet (Commit) 500910fe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

idlc: Use appropriate OUString functions on string constants

Change-Id: Ia537f5d5d573d24f5bbed7a20b9e9268181faa5f
üst f1373539
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment