[Libreoffice-commits] .: 2 commits - sc/inc sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Nov 16 11:51:56 PST 2010
sc/inc/address.hxx | 2 +-
sc/source/ui/src/scerrors.src | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6f463f3ebccb72c7102f2ec587847e63577d19c8
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Tue Nov 16 14:50:24 2010 -0500
Increased the sheet limit from 256 to 512.
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index bd8c23a..f7a4e64 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -92,7 +92,7 @@ const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
// Count values
const SCROW MAXROWCOUNT = MAXROWCOUNT_DEFINE;
const SCCOL MAXCOLCOUNT = MAXCOLCOUNT_DEFINE;
-const SCTAB MAXTABCOUNT = 256;
+const SCTAB MAXTABCOUNT = 512;
const SCCOLROW MAXCOLROWCOUNT = MAXROWCOUNT;
// Maximum values
const SCROW MAXROW = MAXROWCOUNT - 1;
commit 11aa9e1662bc76af1287c4ea0e3df2b004040c11
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Tue Nov 16 14:20:14 2010 -0500
Beef up the warning message in case of excees worksheets.
Warn the user that re-saving the document will permanently delete
those sheets that have not been loaded. The current message doesn't
scare the user enough to take notice (apparently).
diff --git a/sc/source/ui/src/scerrors.src b/sc/source/ui/src/scerrors.src
index e28dde2..4b71e0c 100644
--- a/sc/source/ui/src/scerrors.src
+++ b/sc/source/ui/src/scerrors.src
@@ -132,7 +132,7 @@ Resource RID_ERRHDLSC
};
String SCWARN_IMPORT_SHEET_OVERFLOW & ERRCODE_RES_MASK
{
- Text [ en-US ] = "Some sheets could not be loaded because the maximum number of sheets was exceeded." ;
+ Text [ en-US ] = "Not all sheets have been loaded because the maximum number of sheets was exceeded.\n\nPlease be warned that re-saving this document will permanently delete those sheets that have not been loaded!" ;
};
String SCWARN_IMPORT_OPEN_FM3 & ERRCODE_RES_MASK
{
More information about the Libreoffice-commits
mailing list