Kaydet (Commit) 451cb9aa authored tarafından Tor Lillqvist's avatar Tor Lillqvist

SC_LIMIT_ROWS is not defined anywhere

üst 1c2405ba
......@@ -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;
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment