[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source
Noel Power
noelp at kemper.freedesktop.org
Thu Jun 23 06:29:12 PDT 2011
sc/source/filter/excel/xiname.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bdbd2f7c727d909550839d3d88cc2ca7e089d151
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Jun 22 20:29:46 2011 +0200
fix for fdo#38204: formulas with range names were not imported correctly
Signed-off-by: Noel Power <noel.power at novell.com>
diff --git a/sc/source/filter/excel/xiname.cxx b/sc/source/filter/excel/xiname.cxx
index 90be4dc..8a80f52 100644
--- a/sc/source/filter/excel/xiname.cxx
+++ b/sc/source/filter/excel/xiname.cxx
@@ -271,7 +271,7 @@ const XclImpName* XclImpNameManager::FindName( const String& rXclName, SCTAB nSc
const XclImpName* XclImpNameManager::GetName( sal_uInt16 nXclNameIdx ) const
{
DBG_ASSERT( nXclNameIdx > 0, "XclImpNameManager::GetName - index must be >0" );
- return ( nXclNameIdx >= maNameList.size() ) ? NULL : &(maNameList.at( nXclNameIdx - 1 ));
+ return ( nXclNameIdx > maNameList.size() ) ? NULL : &(maNameList.at( nXclNameIdx - 1 ));
}
// ============================================================================
More information about the Libreoffice-commits
mailing list