[Libreoffice-commits] core.git: ucb/source

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Mon Sep 26 06:43:35 UTC 2016


 ucb/source/ucp/webdav-neon/webdavcontent.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c506954ce9a466fbc5204b3b5e2190ed907dfffe
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Sun Sep 25 15:57:31 2016 +0200

    tdf#101094 (33): Fix: use the correct exception
    
    Change-Id: I41e7cc0a1e176e44cb1b3fb87269eb6e052c6478
    Reviewed-on: https://gerrit.libreoffice.org/29273
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>

diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index c141e26..e6153ff 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
                             }
                         }


More information about the Libreoffice-commits mailing list