summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:55:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:56 +0200
commita5993e41410d278233298dcccd34ece04872ee7d (patch)
treeabcc46eb3eaefde6b82d8533f74292b758e411e0 /sc/source/filter/ftools
parentafacb9850bde58918ba6a5305320e90124454154 (diff)
loplugin:salunicodeliteral: sc
Change-Id: I7f63388d3c0214be8f69095fe5ec0030df59a416
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r--sc/source/filter/ftools/ftools.cxx4
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, "_" );