diff options
-rw-r--r-- | sc/source/core/tool/rangenam.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx index 3fb839edc710..0c08f316d49e 100644 --- a/sc/source/core/tool/rangenam.cxx +++ b/sc/source/core/tool/rangenam.cxx @@ -460,7 +460,7 @@ void ScRangeData::MakeValidName( OUString& rName ) { //! Range Parse is partially valid also with invalid sheet name, //! Address Parse dito, during compile name would generate a #REF! - if ( rName.indexOf( '.' ) == -1 ) + if ( rName.indexOf( '.' ) != -1 ) rName = rName.replaceFirst( ".", "_" ); else rName = "_" + rName; |