summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-09 09:46:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-09 09:59:02 +0100
commit98921d4c37a7c312b1b15a153de56fc4e442262e (patch)
tree8a3c10fafb9bfe5d58bdec0e7850e01c1449ecee /sw/source/ui/vba
parent92fe8838f7c6e2bd411b381a77f0fc4c43272b1d (diff)
coverity#738460 Uncaught exception
Change-Id: I39d0665131432ce963b434925e23b9eab2e739ca
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbaselection.cxx2
-rw-r--r--sw/source/ui/vba/vbaselection.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index 930ede4af8b8..9f855aee4912 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -224,7 +224,7 @@ SwVbaSelection::Delete( const uno::Any& _unit, const uno::Any& _count ) throw (
}
void
-SwVbaSelection::Move( const uno::Any& _unit, const uno::Any& _count, const uno::Any& _extend, word::E_DIRECTION eDirection ) throw ( uno::RuntimeException )
+SwVbaSelection::Move( const uno::Any& _unit, const uno::Any& _count, const uno::Any& _extend, word::E_DIRECTION eDirection ) throw ( css::script::BasicErrorException, uno::RuntimeException )
{
sal_Int32 nUnit = word::WdUnits::wdCharacter;
sal_Int32 nCount = 1;
diff --git a/sw/source/ui/vba/vbaselection.hxx b/sw/source/ui/vba/vbaselection.hxx
index 9d416a29f669..daccd7cda2fe 100644
--- a/sw/source/ui/vba/vbaselection.hxx
+++ b/sw/source/ui/vba/vbaselection.hxx
@@ -41,7 +41,7 @@ private:
css::uno::Reference< ooo::vba::word::XRange > mxRange;
private:
- void Move( const css::uno::Any& _unit, const css::uno::Any& _count, const css::uno::Any& _extend, ooo::vba::word::E_DIRECTION eDirection ) throw (css::uno::RuntimeException);
+ void Move( const css::uno::Any& _unit, const css::uno::Any& _count, const css::uno::Any& _extend, ooo::vba::word::E_DIRECTION eDirection ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
void NextCell( sal_Int32 nCount, ooo::vba::word::E_DIRECTION eDirection )
throw (css::script::BasicErrorException, css::uno::RuntimeException);
css::uno::Reference< css::text::XTextRange > GetSelectedRange() throw ( css::uno::RuntimeException );