summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-09 23:43:43 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-09 23:44:20 +0200
commit451cb9aace6d0d207b99691be025bd4bb8968a32 (patch)
treedef635028ad4bab0f7a99840d6c03025b955d9dc
parent1c2405ba44c5a146188c19e235f857ab18ea05f0 (diff)
SC_LIMIT_ROWS is not defined anywhere
-rw-r--r--sc/inc/address.hxx11
-rw-r--r--sc/source/ui/view/viewdata.cxx2
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 6bf55340f563..cbaccc185d58 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -96,19 +96,8 @@ const SCROW SCROW_REPEAT_NONE = SCROW_MAX;
#endif
const SCROW SCROWS64K = 65536;
-// old stuff defines
#define MAXROW_30 8191
-#ifdef SC_LIMIT_ROWS
-#undef MAXROWCOUNT_DEFINE
-#define MAXROWCOUNT_DEFINE 8192
-const SCROW W16MAXROWCOUNT = MAXROWCOUNT_DEFINE;
-const SCROW W16MAXROW = W16MAXROWCOUNT - 1;
-#define MAXROWCOUNT W16MAXROWCOUNT
-#define MAXROW W16MAXROW
-#endif
-
-// old stuff defines end
SAL_WARN_UNUSED_RESULT inline bool ValidCol( SCCOL nCol )
{
return nCol >= static_cast<SCCOL>(0) && nCol <= MAXCOL;
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 5ac888662798..9efad26ee977 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -2305,11 +2305,9 @@ void ScViewData::ReadUserData(const OUString& rData)
sal_Unicode cTabSep = 0;
if (comphelper::string::getTokenCount(aTabOpt, SC_OLD_TABSEP) >= 11)
cTabSep = SC_OLD_TABSEP;
-#ifndef SC_LIMIT_ROWS
else if (comphelper::string::getTokenCount(aTabOpt, SC_NEW_TABSEP) >= 11)
cTabSep = SC_NEW_TABSEP;
// '+' ist nur erlaubt, wenn wir mit Zeilen > 8192 umgehen koennen
-#endif
if (cTabSep)
{