diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-09-09 19:18:36 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-09-09 21:08:02 +0200 |
commit | a928e673c4b7cd40d6c903013517325249938a6e (patch) | |
tree | 087b61d0cd22e45acd969db50a23c57580e08a71 | |
parent | 5b383e1feece636cce3e90eb6a49221dfa5a2a5a (diff) |
Remove redundant check
Change-Id: Ib35da3156a48d7421ba73a33baee8341dd05355f
-rw-r--r-- | sc/source/ui/dbgui/scuiasciiopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index 706289ef6f7d..57a888543cf2 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -130,7 +130,7 @@ static sal_Unicode lcl_CharFromCombo( const ComboBox& rCombo, const OUString& rL if ( ScGlobal::GetpTransliteration()->isEqual( aStr, rList.getToken(i,'\t') ) ) c = static_cast<sal_Unicode>(rList.getToken(i+1,'\t').toInt32()); } - if (!c && !aStr.isEmpty()) + if (!c) { sal_Unicode cFirst = aStr[0]; // #i24235# first try the first character of the string directly |