summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2012-05-21 23:02:12 +0200
committerPetr Mladek <pmladek@suse.cz>2012-05-22 10:23:20 +0200
commit933fd8adb80ec2008e9cdbdb28b55fe773705a91 (patch)
tree3188af98dd176bf063f0e67568249677166830c4 /sc
parent19e5bf6c2ffa7aedeae8e30d673680316b337a48 (diff)
Corrected max inital worksheet number in debughelper message
Change-Id: Icd40cc3bdc70e0ff55c82a6a4099411d1da47f56
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaapplication.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index bb317328db60..d962395b6dd2 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -1030,7 +1030,7 @@ void SAL_CALL ScVbaApplication::setSheetsInNewWorkbook( sal_Int32 SheetsInNewWor
if ( SheetsInNewWorkbook < MININITTAB
|| SheetsInNewWorkbook > MAXINITTAB )
{
- DebugHelper::exception( OUString(RTL_CONSTASCII_USTRINGPARAM("The number must be between 1 and 10000")),
+ DebugHelper::exception( OUString(RTL_CONSTASCII_USTRINGPARAM("The number must be between 1 and 1024")),
uno::Exception(), SbERR_METHOD_FAILED, OUString() );
}
else