Kaydet (Commit) 2af58ba7 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707016 Uncaught exception

Change-Id: Ie2299485b8017232b6cfcb855b6f2dbff2c5db6e
üst e8f40ec9
......@@ -129,7 +129,7 @@ interface XRange
any BorderAround( [in] any LineStyle, [in] any Weight, [in] any ColorIndex, [in] any Color );
void AutoFilter([in ] any Field, [in] any Criteria1, [in] any Operator, [in] any Criteria2, [in] any VisibleDropDown);
void Insert([in] any Shift, [in] any CopyOrigin);
void Autofit();
void Autofit() raises(com::sun::star::script::BasicErrorException);
void PrintOut([in] any From, [in] any To, [in] any Copies, [in] any Preview, [in] any ActivePrinter, [in] any PrintToFile, [in] any Collate, [in] any PrToFileName);
void AutoFill( [in] XRange Destination, [in] any Type );
boolean GoalSeek( [in] any Goal, [in] XRange ChangingCell );
......
......@@ -4703,7 +4703,7 @@ ScVbaRange::Insert( const uno::Any& Shift, const uno::Any& /*CopyOrigin*/ ) thro
}
void SAL_CALL
ScVbaRange::Autofit() throw (uno::RuntimeException, std::exception)
ScVbaRange::Autofit() throw (script::BasicErrorException, uno::RuntimeException, std::exception)
{
sal_Int32 nLen = m_Areas->getCount();
if ( nLen > 1 )
......
......@@ -247,7 +247,7 @@ public:
virtual void SAL_CALL AutoFilter( const css::uno::Any& Field, const css::uno::Any& Criteria1, const css::uno::Any& Operator, const css::uno::Any& Criteria2, const css::uno::Any& VisibleDropDown )
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL Insert( const css::uno::Any& Shift, const css::uno::Any& CopyOrigin ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL Autofit() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL Autofit() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL PrintOut( const css::uno::Any& From, const css::uno::Any& To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL AutoFill( const css::uno::Reference< ov::excel::XRange >& Destination, const css::uno::Any& Type ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
void SAL_CALL Calculate( ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
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