summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-11 14:32:49 +0200
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-11 18:49:26 +0000
commitb69fc5c2c85d06e89a43a07734f1b87c0c35f751 (patch)
tree8eae9788b4dab8bd8be4dd22e59d35b966d594e5 /sc
parentc450c73ab7c83a55209cc7de9381cc32eb6313ff (diff)
kill this hard coded sheet limit for xlsx import, rhbz#864858
(cherry picked from commit 458d68fffa883bc706638299e5a5b2d1399beb0d) Signed-off-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 0eee6469304ba15f42bcafb6707cc98bcbff9112) Change-Id: I49e12d97d1e17b0a63daf374e7ff4b4720129553 Reviewed-on: https://gerrit.libreoffice.org/857 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'sc')
-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
@@ -57,7 +57,7 @@ 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 );