summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorMathieu D <call.protected@gmail.com>2012-11-19 14:08:27 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-19 14:10:37 +0100
commitaafe2fcbcb754b2fff8d7c3bf1f61781df259b67 (patch)
treee57e5a3dec28ca68ab8605ed3478c6ff34f38f43 /sc/source/ui/undo
parent98e9b5dc402171fd370dca8cc8ec9f7b3f3c8684 (diff)
database names are case insensitive, fdo#51309
Change-Id: Iac9ac4e48115ea09aeffa11bbd8da399266aede9
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undodat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index 62e10b8f4861..199617cd53c2 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -1068,7 +1068,7 @@ void ScUndoAutoFilter::DoChange( bool bUndo )
else
{
ScDBCollection* pColl = pDoc->GetDBCollection();
- pDBData = pColl->getNamedDBs().findByName(aDBName);
+ pDBData = pColl->getNamedDBs().findByUpperName(ScGlobal::pCharClass->uppercase(aDBName));
}
if ( pDBData )
@@ -1812,7 +1812,7 @@ void ScUndoConsolidate::Undo()
ScDBCollection* pColl = pDoc->GetDBCollection();
if (pColl)
{
- ScDBData* pDocData = pColl->getNamedDBs().findByName(pUndoData->GetName());
+ ScDBData* pDocData = pColl->getNamedDBs().findByUpperName(pUndoData->GetUpperName());
if (pDocData)
*pDocData = *pUndoData;
}