sc/source/ui/vba/vbaapplication.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 933fd8adb80ec2008e9cdbdb28b55fe773705a91
Author: Albert Thuswaldner <albert.thuswald...@gmail.com>
Date:   Mon May 21 23:02:12 2012 +0200

    Corrected max inital worksheet number in debughelper message
    
    Change-Id: Icd40cc3bdc70e0ff55c82a6a4099411d1da47f56

diff --git a/sc/source/ui/vba/vbaapplication.cxx 
b/sc/source/ui/vba/vbaapplication.cxx
index bb31732..d962395 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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to