|
|
81ebd7f |
From d88e63579bfd6af736349f29e8cc73cacf6834b1 Mon Sep 17 00:00:00 2001
|
|
|
81ebd7f |
Message-Id: <d88e63579bfd6af736349f29e8cc73cacf6834b1.1421968374.git.erack@redhat.com>
|
|
|
81ebd7f |
From: Eike Rathke <erack@redhat.com>
|
|
|
81ebd7f |
Date: Thu, 22 Jan 2015 23:36:23 +0100
|
|
|
81ebd7f |
Subject: [PATCH] Resolves: fdo#88721 correct negated condition in range name
|
|
|
81ebd7f |
validation
|
|
|
81ebd7f |
MIME-Version: 1.0
|
|
|
81ebd7f |
Content-Type: multipart/mixed; boundary="------------erAck-patch-parts"
|
|
|
81ebd7f |
|
|
|
81ebd7f |
This is a multi-part message in MIME format.
|
|
|
81ebd7f |
--------------erAck-patch-parts
|
|
|
81ebd7f |
Content-Type: text/plain; charset=UTF-8; format=fixed
|
|
|
81ebd7f |
Content-Transfer-Encoding: 8bit
|
|
|
81ebd7f |
|
|
|
81ebd7f |
|
|
|
81ebd7f |
Fallout of 72b9dd277bab328c4d9227439e27e8c29b43fa7d String to OUString
|
|
|
81ebd7f |
conversion.
|
|
|
81ebd7f |
|
|
|
81ebd7f |
(cherry picked from commit 34f8864c9af563cbcd34352b3edefc67ba235ae7)
|
|
|
81ebd7f |
|
|
|
81ebd7f |
Conflicts:
|
|
|
81ebd7f |
sc/source/core/tool/rangenam.cxx
|
|
|
81ebd7f |
|
|
|
81ebd7f |
Change-Id: I89a90da11790efba9e8ce4c9464dfca50b08c3ce
|
|
|
81ebd7f |
---
|
|
|
81ebd7f |
sc/source/core/tool/rangenam.cxx | 2 +-
|
|
|
81ebd7f |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
81ebd7f |
|
|
|
81ebd7f |
|
|
|
81ebd7f |
--------------erAck-patch-parts
|
|
|
81ebd7f |
Content-Type: text/x-patch; name="0001-Resolves-fdo-88721-correct-negated-condition-in-rang.patch"
|
|
|
81ebd7f |
Content-Transfer-Encoding: 8bit
|
|
|
81ebd7f |
Content-Disposition: attachment; filename="0001-Resolves-fdo-88721-correct-negated-condition-in-rang.patch"
|
|
|
81ebd7f |
|
|
|
81ebd7f |
diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx
|
|
|
81ebd7f |
index 5d88ee8..a2164e4a 100644
|
|
|
81ebd7f |
--- a/sc/source/core/tool/rangenam.cxx
|
|
|
81ebd7f |
+++ b/sc/source/core/tool/rangenam.cxx
|
|
|
81ebd7f |
@@ -465,7 +465,7 @@ void ScRangeData::MakeValidName( OUString& rName )
|
|
|
81ebd7f |
{
|
|
|
81ebd7f |
//! Range Parse is partially valid also with invalid sheet name,
|
|
|
81ebd7f |
//! Address Parse dito, during compile name would generate a #REF!
|
|
|
81ebd7f |
- if ( rName.indexOf( '.' ) == -1 )
|
|
|
81ebd7f |
+ if ( rName.indexOf( '.' ) != -1 )
|
|
|
81ebd7f |
rName = rName.replaceFirst( ".", "_" );
|
|
|
81ebd7f |
else
|
|
|
81ebd7f |
rName = "_" + rName;
|
|
|
81ebd7f |
|
|
|
81ebd7f |
--------------erAck-patch-parts--
|
|
|
81ebd7f |
|
|
|
81ebd7f |
|