diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-26 10:07:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-26 10:07:31 +0100 |
commit | ecbb4efb1588c11c6c9d606ad429d2641f06576c (patch) | |
tree | 525ae4d67fdfe450a8edca8e3e1eeba825d7be71 /sw | |
parent | 73590b7553eb696b80677a5968fe1c2ef56a05e8 (diff) |
coverity#707302 Uncaught exception
Change-Id: I43761e1c06ca4ccc394b13b4ce9f82d390971533
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 6a719c6c907c..e17fce95de7a 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -692,7 +692,7 @@ uno::Any SwXStyleFamily::getByIndex(sal_Int32 nTempIndex) aRet.setValue(&xStyle, cppu::UnoType<style::XStyle>::get()); } else - throw container::NoSuchElementException(); + throw uno::RuntimeException(); } else throw lang::IndexOutOfBoundsException(); |