diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:37:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:37:42 +0200 |
commit | 0ef96d2d92f754b56eb3b472b88c81da689bbb92 (patch) | |
tree | f9bf823cd40c094e11bd4106c9b74508f4c14e8f /sc | |
parent | 17e4f58216020aaead24b5dcbaf6767e15e834e1 (diff) |
we cant't check for 2*MAXTAB anymore, this is out of bounds
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 06c960a8ac0a..e6bdc02d1262 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -458,7 +458,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) bValid = !pDoc->GetTable( aName, nDummy ); ++i; } - while ( !bValid && i <= 2*MAXTAB ); + while ( !bValid && i <= MAXTAB + 2 ); if ( pReqArgs != NULL ) { |