cid#707057 Uncaught exception

Change-Id: I13e8499eb1911d479d42293b68785c54ffeded71
This commit is contained in:
Noel Grandin
2014-05-27 10:12:57 +02:00
parent f9c3bc18fe
commit bce8ded6ca
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ ScVbaWorksheet::ScVbaWorksheet(const uno::Reference< XHelperInterface >& xParent
} }
ScVbaWorksheet::ScVbaWorksheet( uno::Sequence< uno::Any> const & args, ScVbaWorksheet::ScVbaWorksheet( uno::Sequence< uno::Any> const & args,
uno::Reference< uno::XComponentContext> const & xContext ) throw ( lang::IllegalArgumentException ) : WorksheetImpl_BASE( getXSomethingFromArgs< XHelperInterface >( args, 0 ), xContext ), mxModel( getXSomethingFromArgs< frame::XModel >( args, 1 ) ), mbVeryHidden( false ) uno::Reference< uno::XComponentContext> const & xContext ) throw ( lang::IllegalArgumentException, uno::RuntimeException ) : WorksheetImpl_BASE( getXSomethingFromArgs< XHelperInterface >( args, 0 ), xContext ), mxModel( getXSomethingFromArgs< frame::XModel >( args, 1 ) ), mbVeryHidden( false )
{ {
if ( args.getLength() < 3 ) if ( args.getLength() < 3 )
throw lang::IllegalArgumentException(); throw lang::IllegalArgumentException();

View File

@@ -68,7 +68,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::sheet::XSpreadsheet >& xSheet, const css::uno::Reference< css::sheet::XSpreadsheet >& xSheet,
const css::uno::Reference< css::frame::XModel >& xModel )throw (css::uno::RuntimeException) ; const css::uno::Reference< css::frame::XModel >& xModel )throw (css::uno::RuntimeException) ;
ScVbaWorksheet( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext ) throw ( css::lang::IllegalArgumentException ); ScVbaWorksheet( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext ) throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException );
virtual ~ScVbaWorksheet(); virtual ~ScVbaWorksheet();