[Libreoffice-commits] core.git: basctl/source basic/source
Arnaud Versini
Arnaud.Versini at libreoffice.org
Mon Apr 24 13:01:58 UTC 2017
basctl/source/basicide/baside2b.cxx | 2 +-
basic/source/classes/codecompletecache.cxx | 4 ++--
basic/source/comp/token.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f747797772e39d77a664845bdd66378524829ea3
Author: Arnaud Versini <Arnaud.Versini at libreoffice.org>
Date: Sun Apr 23 15:04:58 2017 +0200
BASIC: Call OUString() instead of OUString("");
Change-Id: Ie68d48a5dd0fd3593054e853f179db9a4be03b24
Reviewed-on: https://gerrit.libreoffice.org/36831
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index c51f5e8e4dee..612f724a6810 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1118,7 +1118,7 @@ OUString EditorWindow::GetActualSubName( sal_uLong nLine )
}
}
}
- return OUString("");
+ return OUString();
}
void EditorWindow::SetScrollBarRanges()
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: */
More information about the Libreoffice-commits
mailing list