summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2020-07-09 17:15:34 +0200
committerEike Rathke <erack@redhat.com>2020-07-09 17:16:31 +0200
commit978862b99ca7af6a17012084923494b6c85754d5 (patch)
tree6ff535c3447f563a7e9c749e4123bbc40ac493a7
parentabfaa0e504ef823c9befc90216651522c3fa3a1d (diff)
Use OUString::toChar(), tdf#107885 follow-up
Change-Id: I7615f878d800ae0ad68b68dd1ffedb0471c537f9
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 94d32d9eed93..ba115f6b137a 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -4373,7 +4373,7 @@ static void lcl_setTableFieldsFromCriteria( OUString& sCriteria1, const uno::Ref
rFilterField.IsNumeric = true;
rFilterField.NumericValue = fValue;
}
- else if ( ScGlobal::getLocaleDataPtr()->getNumDecimalSep()[0] != '.' )
+ else if ( ScGlobal::getLocaleDataPtr()->getNumDecimalSep().toChar() != '.' )
{
eStatus = rtl_math_ConversionStatus_Ok;
fValue = ::rtl::math::stringToDouble( sCriteria1, '.', 0, &eStatus, &nParseEnd );