summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 16:44:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 16:44:30 +0000
commit0c0b5c12ef2c867a07d24832cfe1fac47d6a4c09 (patch)
tree55dce26e9ad0add6dc5929a93ab75b5999f53be5
parentd163c42f6bb95480b7c28770dbcc54ddc7efe1f1 (diff)
SfxObjectUI_Impl's pName is now unused
Change-Id: Id9c0878a06c4d8f12c67bc7270669c5ff9a503e8
-rw-r--r--sfx2/source/control/objface.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 448fdfe8f2a2..706258fd06f4 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;