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

Caolán McNamara caolanm at redhat.com
Mon Nov 24 08:45:55 PST 2014


 sfx2/source/control/objface.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 0c0b5c12ef2c867a07d24832cfe1fac47d6a4c09
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 24 16:44:25 2014 +0000

    SfxObjectUI_Impl's pName is now unused
    
    Change-Id: Id9c0878a06c4d8f12c67bc7270669c5ff9a503e8

diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 448fdfe..706258f 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -59,7 +59,6 @@ struct SfxObjectUI_Impl
     sal_uInt32  nResId;
     bool        bVisible;
     bool        bContext;
-    OUString*   pName;
     sal_uInt32  nFeature;
 
     SfxObjectUI_Impl(sal_uInt16 n, sal_uInt32 nId, bool bVis, sal_uInt32 nFeat) :
@@ -67,15 +66,9 @@ struct SfxObjectUI_Impl
         nResId(nId),
         bVisible(bVis),
         bContext(false),
-        pName(0),
         nFeature(nFeat)
     {
     }
-
-    ~SfxObjectUI_Impl()
-    {
-        delete pName;
-    }
 };
 
 typedef std::vector<SfxObjectUI_Impl*> SfxObjectUIArr_Impl;


More information about the Libreoffice-commits mailing list