diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 21:06:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 21:12:19 +0100 |
commit | 8e7ec95d7c461410477cc9eaed74c7269b50be10 (patch) | |
tree | 03ee36d715e3a3484d726ae7e2da1b04e032a34f /sw/source/ui | |
parent | 529215e4230189f9fa0ef68031c98203e09b5729 (diff) |
coverity#989725 Uncaught exception
Change-Id: I8904995c474146746623cfda36b8ddb81146070c
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/vba/vbatablehelper.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbatablehelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatablehelper.cxx b/sw/source/ui/vba/vbatablehelper.cxx index 2a2f1fb7a049..9f659b1757b0 100644 --- a/sw/source/ui/vba/vbatablehelper.cxx +++ b/sw/source/ui/vba/vbatablehelper.cxx @@ -230,7 +230,7 @@ sal_Int32 SwVbaTableHelper::GetColWidth( SwTabCols& rCols, sal_Int32 nNum ) thro return nWidth; } -void SwVbaTableHelper::SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow, bool bCurRowOnly ) throw (css::uno::RuntimeException) +void SwVbaTableHelper::SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow, bool bCurRowOnly ) throw (css::uno::RuntimeException, std::exception) { double dAbsWidth = Millimeter::getInHundredthsOfOneMillimeter( _width ); sal_Int32 nTableWidth = getTableWidth( ); diff --git a/sw/source/ui/vba/vbatablehelper.hxx b/sw/source/ui/vba/vbatablehelper.hxx index 0c636adcde6a..e5b31fb9e4f2 100644 --- a/sw/source/ui/vba/vbatablehelper.hxx +++ b/sw/source/ui/vba/vbatablehelper.hxx @@ -47,7 +47,7 @@ public: sal_Int32 getTableWidth( ) throw (css::uno::RuntimeException); sal_Int32 GetColWidth( sal_Int32 nCol, sal_Int32 nRow = 0, bool bCurRowOnly = false ) throw (css::uno::RuntimeException); - void SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow = 0, bool bCurRowOnly = false ) throw (css::uno::RuntimeException); + void SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32 nRow = 0, bool bCurRowOnly = false ) throw (css::uno::RuntimeException, std::exception); static SwTable* GetSwTable( const css::uno::Reference< css::text::XTextTable >& xTextTable ) throw (css::uno::RuntimeException); static OUString getColumnStr( sal_Int32 nCol ); |