sc/source/ui/vba/vbapagesetup.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 06732f0437ee4c8eb0c90f60156f0c0f57960757
Author: Noel Power <noel.po...@suse.com>
Date:   Wed Apr 24 10:13:53 2013 +0100

    follow fix for bnc#813528
    
    Change-Id: Id6c9cd01bc68e13b87c845d9272c7b85756987c5

diff --git a/sc/source/ui/vba/vbapagesetup.cxx 
b/sc/source/ui/vba/vbapagesetup.cxx
index 86d09a0..8dd0e86 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -520,8 +520,6 @@ sal_Int32 SAL_CALL ScVbaPageSetup::getFirstPageNumber() 
throw (css::uno::Runtime
 
 void SAL_CALL ScVbaPageSetup::setFirstPageNumber( sal_Int32 firstPageNumber) 
throw (css::uno::RuntimeException)
 {
-    if( firstPageNumber < 0 )
-        DebugHelper::exception(SbERR_BAD_PARAMETER, rtl::OUString() );
     if( firstPageNumber == excel::Constants::xlAutomatic )
         firstPageNumber = 0;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to