summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-11 14:32:49 +0200
committerEike Rathke <erack@redhat.com>2012-11-06 12:40:25 +0100
commit6968966d5f8506c14626cbd1fcfaafcbd68593f5 (patch)
tree5f362e9aeda5fcd99088323f8d85310b16e07652
parent89b99a414e38b12df13a097ada1d6f2f72039408 (diff)
kill this hard coded sheet limit for xlsx import, rhbz#864858
(cherry picked from commit 458d68fffa883bc706638299e5a5b2d1399beb0d) Conflicts: sc/source/filter/oox/addressconverter.cxx Backported change of sc/source/filter/oox/addressconverter.cxx to oox/source/xls/addressconverter.cxx, it's just another hard coded value here in 3-5, but ... Change-Id: I8fe6523afb11e5b24b8c83784e1198e8c694922a Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r--oox/source/xls/addressconverter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/xls/addressconverter.cxx b/oox/source/xls/addressconverter.cxx
index fd7217afac89..d6e2a387ff4e 100644
--- a/oox/source/xls/addressconverter.cxx
+++ b/oox/source/xls/addressconverter.cxx
@@ -58,7 +58,8 @@ using ::rtl::OUStringToOString;
namespace {
//! TODO: this limit may change, is there a way to obtain it via API?
-const sal_Int16 API_MAXTAB = 255;
+//! same value as MAXTAB in sc/inc/address.hxx
+const sal_Int16 API_MAXTAB = 9999;
const sal_Int32 OOX_MAXCOL = static_cast< sal_Int32 >( (1 << 14) - 1 );
const sal_Int32 OOX_MAXROW = static_cast< sal_Int32 >( (1 << 20) - 1 );