summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-10 02:55:36 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-10 22:35:48 +0200
commit644976fe93528f2c222f18f22861d6e90ba4f69e (patch)
tree1c40049fd638113032e4fb21ea17af5be1051721 /sc
parent59def01e0523fe470e8b805d35f5209a1c22ad72 (diff)
fix for fdo#39915: defining named ranges should be case insensitive
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/namedlg/namedlg.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 6a6053cec24d..89fd95cc49ba 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -388,7 +388,9 @@ bool ScNameDlg::AddPushed()
// in ein Token-Array uebersetzt werden?)
if ( 0 == pNewEntry->GetErrCode() )
{
- ScRangeData* pData = mpCurRangeName->findByName(aNewEntry);
+ rtl::OUString aUpper = aNewEntry;
+ aUpper.toAsciiUpperCase();
+ ScRangeData* pData = mpCurRangeName->findByUpperName(aUpper);
if (pData)
{
pNewEntry->SetIndex(pData->GetIndex());