diff options
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 1d752f99cdad..a211389cca82 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -783,11 +783,11 @@ void SAL_CALL ControlModelContainerBase::setGroup( const Sequence< Reference< XC ////----- XInitialization ------------------------------------------------------------------- void SAL_CALL ControlModelContainerBase::initialize (const Sequence<Any>& rArguments) throw (com::sun::star::uno::Exception, com::sun::star::uno::RuntimeException) { - sal_Int16 nPageId = -1; if ( rArguments.getLength() == 1 ) { - if ( !( rArguments[ 0 ] >>= nPageId )) - throw lang::IllegalArgumentException(); + sal_Int16 nPageId = -1; + if ( !( rArguments[ 0 ] >>= nPageId )) + throw lang::IllegalArgumentException(); m_nTabPageId = nPageId; } else |