woah, that's very not right
This commit is contained in:
parent
5cb1597064
commit
2f632a0b39
1 changed files with 3 additions and 2 deletions
|
@ -163,8 +163,9 @@ Color ScfTools::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8
|
|||
|
||||
void ScfTools::ConvertToScDefinedName( String& rName )
|
||||
{
|
||||
sal_Char a('.');
|
||||
rName.SearchAndReplaceAllAscii(&a,'_'); //fdo#37872: we don't allow points in range names any more
|
||||
//fdo#37872: we don't allow points in range names any more
|
||||
rName.SearchAndReplaceAll(static_cast<sal_Unicode>('.'),
|
||||
static_cast<sal_Unicode>('_'));
|
||||
xub_StrLen nLen = rName.Len();
|
||||
if( nLen && !ScCompiler::IsCharFlagAllConventions( rName, 0, SC_COMPILER_C_CHAR_NAME ) )
|
||||
rName.SetChar( 0, '_' );
|
||||
|
|
Loading…
Reference in a new issue