diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-10 12:00:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-10 12:00:17 +0000 |
commit | 5e40fcc0cf2147c31028a411e1977394d09c6e7b (patch) | |
tree | ad811dea63b3ccb8439682b99b795f2824b19f07 /framework | |
parent | 87f52352614aed918501e8a7df8e8a61499efc5b (diff) |
coverity#1169847 Uncaught exception
Change-Id: I8adf5d175798c4b820cd7cac2a927aa0f7de718d
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/pathsettings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index c4665fb1943a..d7e1f6f3c8de 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -1151,7 +1151,7 @@ css::uno::Any PathSettings::impl_getPathValue(sal_Int32 nID) const { const PathSettings::PathInfo* pPath = impl_getPathAccessConst(nID); if (! pPath) - throw css::container::NoSuchElementException(); + throw css::lang::IllegalArgumentException(); css::uno::Any aVal; switch(impl_getPropGroup(nID)) |