From e26f8d2592a3d7cc5b43b3246b364397dd704f0d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 25 Aug 2017 11:09:38 +0100 Subject: coverity#1401307 document checked 'Uncaught exception' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit markup std::unique_ptr where coverity warns a dtor might throw exceptions which won't throw in practice, or where std::terminate is an acceptable response if they do Change-Id: Icc99cdecf8d8b011e599574f0a05b59efd1c65c2 Reviewed-on: https://gerrit.libreoffice.org/41561 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/func/fuolbull.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/func/fuolbull.cxx') diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx index 03deeed1b511..4461dfade3bb 100644 --- a/sd/source/ui/func/fuolbull.cxx +++ b/sd/source/ui/func/fuolbull.cxx @@ -97,7 +97,7 @@ void FuOutlineBullet::DoExecute( SfxRequest& rReq ) OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); - std::unique_ptr< OutlineViewModelChangeGuard > aGuard; + std::unique_ptr> aGuard; if (OutlineView* pView = dynamic_cast(mpView)) { @@ -232,7 +232,7 @@ void FuOutlineBullet::SetCurrentBulletsNumbering(SfxRequest& rReq) } OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); - std::unique_ptr< OutlineViewModelChangeGuard > aGuard; + std::unique_ptr> aGuard; if (OutlineView* pView = dynamic_cast(mpView)) { pOLV = pView->GetViewByWindow(mpViewShell->GetActiveWindow()); -- cgit