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 3aa3d055e22c..a8b4c7bb2642 100644 --- a/sc/source/core/tool/rangenam.cxx +++ b/sc/source/core/tool/rangenam.cxx @@ -461,7 +461,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; |