Kaydet (Commit) 0c0b5c12 authored tarafından Caolán McNamara's avatar Caolán McNamara

SfxObjectUI_Impl's pName is now unused

Change-Id: Id9c0878a06c4d8f12c67bc7270669c5ff9a503e8
üst d163c42f
...@@ -59,7 +59,6 @@ struct SfxObjectUI_Impl ...@@ -59,7 +59,6 @@ struct SfxObjectUI_Impl
sal_uInt32 nResId; sal_uInt32 nResId;
bool bVisible; bool bVisible;
bool bContext; bool bContext;
OUString* pName;
sal_uInt32 nFeature; sal_uInt32 nFeature;
SfxObjectUI_Impl(sal_uInt16 n, sal_uInt32 nId, bool bVis, sal_uInt32 nFeat) : SfxObjectUI_Impl(sal_uInt16 n, sal_uInt32 nId, bool bVis, sal_uInt32 nFeat) :
...@@ -67,15 +66,9 @@ struct SfxObjectUI_Impl ...@@ -67,15 +66,9 @@ struct SfxObjectUI_Impl
nResId(nId), nResId(nId),
bVisible(bVis), bVisible(bVis),
bContext(false), bContext(false),
pName(0),
nFeature(nFeat) nFeature(nFeat)
{ {
} }
~SfxObjectUI_Impl()
{
delete pName;
}
}; };
typedef std::vector<SfxObjectUI_Impl*> SfxObjectUIArr_Impl; typedef std::vector<SfxObjectUI_Impl*> SfxObjectUIArr_Impl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment