summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-24 10:13:53 +0100
committerAndras Timar <andras.timar@collabora.com>2013-10-28 20:46:29 +0100
commit057beb5d95fc8704f5b98377d909856aa3b32bf6 (patch)
tree98f3994094ba9d06f111e14aeecff2ee4827179f /sc
parentc8468d6b0a11782bdd16e9ad575009903581ded6 (diff)
follow fix for bnc#813528
Conflicts: sc/source/ui/vba/vbapagesetup.cxx Change-Id: Id6c9cd01bc68e13b87c845d9272c7b85756987c5
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbapagesetup.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index 19fa2e3ae29e..f0b801e31c4a 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;