From c506954ce9a466fbc5204b3b5e2190ed907dfffe Mon Sep 17 00:00:00 2001 From: Giuseppe Castagno Date: Sun, 25 Sep 2016 15:57:31 +0200 Subject: tdf#101094 (33): Fix: use the correct exception Change-Id: I41e7cc0a1e176e44cb1b3fb87269eb6e052c6478 Reviewed-on: https://gerrit.libreoffice.org/29273 Tested-by: Jenkins Reviewed-by: Giuseppe Castagno --- ucb/source/ucp/webdav-neon/webdavcontent.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index c141e269a78b..e6153ffd6853 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -1642,9 +1642,9 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( if ( bError ) { - if ( !shouldAccessNetworkAfterException( e ) ) + if ( !shouldAccessNetworkAfterException( aLastException ) ) { - cancelCommandExecution( e, xEnv ); + cancelCommandExecution( aLastException, xEnv ); // unreachable } } -- cgit