summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-26 10:07:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-26 10:07:31 +0100
commitecbb4efb1588c11c6c9d606ad429d2641f06576c (patch)
tree525ae4d67fdfe450a8edca8e3e1eeba825d7be71 /sw
parent73590b7553eb696b80677a5968fe1c2ef56a05e8 (diff)
coverity#707302 Uncaught exception
Change-Id: I43761e1c06ca4ccc394b13b4ce9f82d390971533
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
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();