diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-02 16:44:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-02 20:08:25 +0000 |
commit | 477a294e1d331046bd0c5e82fc32b5f0b4858469 (patch) | |
tree | 785af441131188098a395e76e3ecec89a236800d /sc/source/ui | |
parent | 2630874bccd77c5f9c54ca930284b8bef471814c (diff) |
coverity#1187830 Uncaught exception
Change-Id: I137af778b9b494c764071e3ae0b8010f080ef936
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 2f3363a2d4d9..a41ee468e478 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -2238,7 +2238,13 @@ ScDocument* ScExternalRefManager::getSrcDocument(sal_uInt16 nFileId) OUString aFilter; SrcShell aSrcDoc; - aSrcDoc.maShell = loadSrcDocument(nFileId, aFilter); + try + { + aSrcDoc.maShell = loadSrcDocument(nFileId, aFilter); + } + catch (const css::uno::Exception&) + { + } if (!aSrcDoc.maShell.Is()) { // source document could not be loaded. |