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-10-11 15:39:26 +0200
commit0eee6469304ba15f42bcafb6707cc98bcbff9112 (patch)
tree06a34108db4a65eed1909f5b8cd5d0209246d77b
parentac49fba7abfa70c3c30314e09d2170218ff4e7b2 (diff)
kill this hard coded sheet limit for xlsx import, rhbz#864858
Change-Id: I8fe6523afb11e5b24b8c83784e1198e8c694922a (cherry picked from commit 458d68fffa883bc706638299e5a5b2d1399beb0d) Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/filter/oox/addressconverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/addressconverter.cxx b/sc/source/filter/oox/addressconverter.cxx
index 52e74ebbcecc..1da39663255f 100644
--- a/sc/source/filter/oox/addressconverter.cxx
+++ b/sc/source/filter/oox/addressconverter.cxx
@@ -54,13 +54,13 @@ using ::rtl::OUStringToOString;
// ============================================================================
namespace {
//! TODO: this limit may change, is there a way to obtain it via API?
-const sal_Int16 API_MAXTAB = 255;
+const sal_Int16 API_MAXTAB = MAXTAB;
const sal_Int32 OOX_MAXCOL = static_cast< sal_Int32 >( (1 << 14) - 1 );
const sal_Int32 OOX_MAXROW = static_cast< sal_Int32 >( (1 << 20) - 1 );
const sal_Int16 OOX_MAXTAB = static_cast< sal_Int16 >( (1 << 15) - 1 );
const sal_Int32 BIFF2_MAXCOL = 255;