summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorArnaud Versini <Arnaud.Versini@libreoffice.org>2017-04-23 15:04:58 +0200
committerMichael Meeks <michael.meeks@collabora.com>2017-04-24 15:01:32 +0200
commitf747797772e39d77a664845bdd66378524829ea3 (patch)
tree1eb175bf09669c2251e1751cbe8f17f58912c4b6 /basic
parent637eb76d872009fde9da3bc9bb079faebb4ada7e (diff)
BASIC: Call OUString() instead of OUString("");
Change-Id: Ie68d48a5dd0fd3593054e853f179db9a4be03b24 Reviewed-on: https://gerrit.libreoffice.org/36831 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/codecompletecache.cxx4
-rw-r--r--basic/source/comp/token.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/codecompletecache.cxx b/basic/source/classes/codecompletecache.cxx
index 0ea913a9c1d3..b3d003e23881 100644
--- a/basic/source/classes/codecompletecache.cxx
+++ b/basic/source/classes/codecompletecache.cxx
@@ -165,7 +165,7 @@ OUString CodeCompleteDataCache::GetVarType( const OUString& sVarName ) const
if( aIt->first.equalsIgnoreAsciiCase( sVarName ) )
return aIt->second;
}
- return OUString(""); //not found
+ return OUString(); //not found
}
OUString CodeCompleteDataCache::GetCorrectCaseVarName( const OUString& sVarName, const OUString& sActProcName ) const
@@ -187,7 +187,7 @@ OUString CodeCompleteDataCache::GetCorrectCaseVarName( const OUString& sVarName,
if( aIt->first.equalsIgnoreAsciiCase( sVarName ) )
return aIt->first;
}
- return OUString(""); //not found
+ return OUString(); //not found
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index 4dc5d395340f..aea95ef81da5 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -579,7 +579,7 @@ OUString SbiTokenizer::GetKeywordCase( const OUString& sKeyword )
return sStr;
}
}
- return OUString("");
+ return OUString();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */