sc/source/ui/docshell/arealink.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit a8fb2124310e9f21ca75f2a39b95cdf021173e36 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Mon May 27 13:36:16 2013 +0200 range names need to be checked upper case, fdo#64031 Change-Id: I540821fd7058bf0da27d955c9d966a10dd21ec94 Reviewed-on: https://gerrit.libreoffice.org/4050 Reviewed-by: Noel Power <noel.po...@suse.com> Tested-by: Noel Power <noel.po...@suse.com> diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index 84d30be..ee322d5 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -193,10 +193,11 @@ bool ScAreaLink::IsEqual( const String& rFile, const String& rFilter, const Stri bool ScAreaLink::FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const String& rAreaName ) { bool bFound = false; + rtl::OUString aUpperName = ScGlobal::pCharClass->uppercase(rAreaName); ScRangeName* pNames = pSrcDoc->GetRangeName(); if (pNames) // benannte Bereiche { - const ScRangeData* p = pNames->findByUpperName(rAreaName); + const ScRangeData* p = pNames->findByUpperName(aUpperName); if (p && p->IsValidReference(rRange)) bFound = true; } @@ -205,7 +206,7 @@ bool ScAreaLink::FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const Strin ScDBCollection* pDBColl = pSrcDoc->GetDBCollection(); if (pDBColl) { - const ScDBData* pDB = pDBColl->getNamedDBs().findByUpperName(ScGlobal::pCharClass->uppercase(rAreaName)); + const ScDBData* pDB = pDBColl->getNamedDBs().findByUpperName(aUpperName); if (pDB) { SCTAB nTab; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits