diff options
author | Noel Power <noel.power@suse.com> | 2013-04-24 10:13:53 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-09 13:50:02 +0100 |
commit | b8541c55cf930a11164417be7e4aee5c1fb31f91 (patch) | |
tree | 570f6803eae786ce8eb98d9a35b4a43ee9685a82 /sc | |
parent | 0bf858a7221f3d42c46d778d1b0bcccf3eedab4e (diff) |
follow fix for bnc#813528
Change-Id: Id6c9cd01bc68e13b87c845d9272c7b85756987c5
(cherry picked from commit 06732f0437ee4c8eb0c90f60156f0c0f57960757)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbapagesetup.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx index 4df0b92eb4bc..f39db810cf7a 100644 --- a/sc/source/ui/vba/vbapagesetup.cxx +++ b/sc/source/ui/vba/vbapagesetup.cxx @@ -509,8 +509,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; |