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

Tor Lillqvist tml at collabora.com
Fri Dec 9 11:16:45 UTC 2016


 desktop/source/deployment/gui/dp_gui_dialog2.cxx |    2 ++
 ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx     |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7f3410880e122da5c3df5e453f469dde0e94b74a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Dec 9 11:04:58 2016 +0200

    loplugin:staticmethods
    
    Change-Id: I385e54f5ddadda894102be2bb9a7dc408415ac68

diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 46a9d65..219b2fa 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -943,6 +943,8 @@ IMPL_LINK_NOARG(ExtMgrDialog, HandleUpdateBtn, Button*, void)
 {
 #if ENABLE_EXTENSION_UPDATE
     m_pManager->checkUpdates( false, true );
+#else
+    (void) this;
 #endif
 }
 
commit 073f8cdbb77d62a6838c78ff63fca73896b86c79
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Dec 9 09:12:49 2016 +0200

    loplugin:refcounting
    
    Fixes: "uno::Reference field with template parameter that does not
    contain ::static_type() css::uno::Reference<SerfInputStream>, parent
    is http_dav_ucp::SerfGetReqProcImpl, should probably be using
    rtl::Reference instead [loplugin:refcounting]"
    
    Change-Id: I43211bb397031a4961df77ee39038e6ef9da6bb1

diff --git a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
index f463f42..3271fb9 100644
--- a/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
+++ b/ucb/source/ucp/webdav/SerfGetReqProcImpl.hxx
@@ -71,7 +71,7 @@ protected:
     void handleEndOfResponseData( serf_bucket_t * inSerfResponseBucket ) override;
 
 private:
-    css::uno::Reference< SerfInputStream > xInputStream;
+    rtl::Reference< SerfInputStream > xInputStream;
     css::uno::Reference< css::io::XOutputStream > xOutputStream;
     const std::vector< OUString > * mpHeaderNames;
     DAVResource* mpResource;


More information about the Libreoffice-commits mailing list