[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - sc/source

Noel Power noel.power at suse.com
Mon Oct 28 12:15:37 PDT 2013


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

New commits:
commit e4ca6c93edfe2c81756d35e13bbca4466e30fdac
Author: Noel Power <noel.power at suse.com>
Date:   Wed Apr 24 10:13:53 2013 +0100

    follow fix for bnc#813528
    
    Conflicts:
    
    	sc/source/ui/vba/vbapagesetup.cxx
    
    Change-Id: Id6c9cd01bc68e13b87c845d9272c7b85756987c5

diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index 465467d..bc8def9 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -512,8 +512,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, OUString() );
     if( firstPageNumber == excel::Constants::xlAutomatic )
         firstPageNumber = 0;
 


More information about the Libreoffice-commits mailing list