diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-22 17:03:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-23 22:28:18 +0200 |
commit | f18106b4cb120af673e39c89f661fe6bc6db6a2c (patch) | |
tree | 09cdd3dfc8acb6468329e2ab39c506630e8a5f80 /sw/source/core/unocore | |
parent | 40287a71f8be03ba2fefc8500509bb37c74cd5b4 (diff) |
coverity#1401334 Uncaught exception
Change-Id: Id6dad66b3c55e5b3049f57e65c857db5abce50b1
Reviewed-on: https://gerrit.libreoffice.org/60901
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index 5e4d9d3af9fc..5a93eaedf06c 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -1061,7 +1061,7 @@ void InsertFile(SwUnoCursor* pUnoCursor, const OUString& rURL, pMed->Download(); // if necessary: start the download if( aRef.is() && 1 < aRef->GetRefCount() ) // Ref still valid? { - std::unique_ptr<SwReader> pRdr; + SwReaderPtr pRdr; SfxItemSet* pSet = pMed->GetItemSet(); pSet->Put(SfxBoolItem(FN_API_CALL, true)); if(!sPassword.isEmpty()) |