Kaydet (Commit) 71540e1e authored tarafından Noel Grandin's avatar Noel Grandin

cid#1244949 Uncaught exception

Change-Id: Ic33d60a435ee875e8e342420046aae436739c123
üst d7ea649b
......@@ -50,7 +50,7 @@ public:
virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource ) SAL_OVERRIDE = 0;
protected:
css::uno::Any createDocument() throw (css::uno::RuntimeException);
css::uno::Any createDocument() throw (css::uno::RuntimeException, std::exception);
void closeDocuments() throw (css::uno::RuntimeException);
css::uno::Any openDocument( const OUString& Filename, const css::uno::Any& ReadOnly, const css::uno::Sequence< css::beans::PropertyValue >& rProps ) throw (css::uno::RuntimeException);
};
......
......@@ -234,7 +234,7 @@ void lclSetupComponent( const uno::Reference< lang::XComponent >& rxComponent, b
} // namespace
uno::Any VbaDocumentsBase::createDocument() throw (uno::RuntimeException)
uno::Any VbaDocumentsBase::createDocument() throw (uno::RuntimeException, std::exception)
{
// #163808# determine state of Application.ScreenUpdating and Application.Interactive symbols (before new document is opened)
uno::Reference< XApplicationBase > xApplication( Application(), uno::UNO_QUERY );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment