diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-08 12:17:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-08 12:18:16 -0400 |
commit | 239974245d2440150db4bb2444f7d57b0bc54eb9 (patch) | |
tree | 3d558a0d461f93437ef7c578b098499f4d1edbd5 | |
parent | db5239a5821ac8cd9d2f7e3c86c7c20223d8afc9 (diff) |
[PATCH] fix for fdo#39915: defining named ranges should be case insensitiv
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
-rw-r--r-- | sc/source/ui/namedlg/namedlg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx index d530d72a4..2452d83ad 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()); |