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

Noel Grandin noel at peralex.com
Wed Jul 27 08:23:41 UTC 2016


 cui/source/inc/cuitabarea.hxx    |    2 +-
 cui/source/tabpages/tparea.cxx   |    1 +
 cui/source/tabpages/tpbitmap.cxx |    1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 187044b5e837c24223ca4625df48d0161a72945f
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jul 27 09:49:20 2016 +0200

    loplugin:vclwidgets
    
    Change-Id: Ie16efa4a66cc3ea1991878f20442f0c0bac79d10

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index c9f5cae..67af95d 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -174,6 +174,7 @@ void SvxAreaTabPage::dispose()
     m_pLbBitmap.clear();
     m_pCtlBitmapPreview.clear();
     m_pCtlXRectPreview.clear();
+    m_pBtnImport.clear();
     SvxTabPage::dispose();
 }
 
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 373da08..51668d12 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -95,6 +95,7 @@ void SvxBitmapTabPage::dispose()
 {
     m_pBitmapLB.clear();
     m_pCtlBitmapPreview.clear();
+    m_pBtnImport.clear();
     SvxTabPage::dispose();
 }
 
commit 702e26d6568ff739ff3783564044ad8afa689b1f
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jul 27 09:43:34 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: I37cc39974784e59aa793c2a2ca0dbc59d00e3cb4

diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 82676af..8eb92b9 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -576,7 +576,7 @@ public:
     virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
     virtual void PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) override;
 
-    void    SetBitmapList( XBitmapListRef pBmpLst) { m_pBitmapList = pBmpLst; }
+    void    SetBitmapList( const XBitmapListRef& pBmpLst) { m_pBitmapList = pBmpLst; }
 
     void    SetPageType( sal_uInt16* pInType ) { m_nPageType = pInType; }
     void    SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; }


More information about the Libreoffice-commits mailing list