summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/gluepts.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-23 08:41:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-23 09:40:02 +0100
commitaf705c172ef3fe18238489cffe0187ffff46a70e (patch)
treef3feb0159b4e66cab389e65401b8dd3620eb179a /svx/source/unodraw/gluepts.cxx
parent3a374a50a2af3c11398d4de1b1a1e4a4eaf20fd3 (diff)
coverity#707237 Uncaught exception
Change-Id: Ic07c81ce1e7e85bf9579550be01c16c1a41525f0
Diffstat (limited to 'svx/source/unodraw/gluepts.cxx')
-rw-r--r--svx/source/unodraw/gluepts.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index a03385f7eed2..0e38b867802d 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -343,7 +343,7 @@ uno::Any SAL_CALL SvxUnoGluePointAccess::getByIdentifier( sal_Int32 Identifier )
}
}
- throw lang::IndexOutOfBoundsException();
+ throw container::NoSuchElementException();
}
uno::Sequence< sal_Int32 > SAL_CALL SvxUnoGluePointAccess::getIdentifiers() throw (uno::RuntimeException, std::exception)