diff options
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r-- | sc/source/filter/ftools/ftools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index 0bd43ae9778e..e3ebc5597730 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -149,8 +149,8 @@ Color ScfTools::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8 OUString ScfTools::ConvertToScDefinedName(const OUString& rName ) { //fdo#37872: we don't allow points in range names any more - OUString sName = rName.replace(static_cast<sal_Unicode>('.'), - static_cast<sal_Unicode>('_')); + OUString sName = rName.replace(u'.', + u'_'); sal_Int32 nLen = sName.getLength(); if( nLen && !ScCompiler::IsCharFlagAllConventions( sName, 0, ScCharFlags::CharName ) ) sName = sName.replaceAt( 0, 1, "_" ); |