[Libreoffice-commits] .: sc/source

Petr Mladek pmladek at kemper.freedesktop.org
Tue May 22 01:25:33 PDT 2012


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

New commits:
commit 933fd8adb80ec2008e9cdbdb28b55fe773705a91
Author: Albert Thuswaldner <albert.thuswaldner at 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


More information about the Libreoffice-commits mailing list