summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 14:52:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 16:36:01 +0000
commita3d92af125ae22dc2243fe5b88e194eb41ca3dce (patch)
tree324fcf710b6d9806ef5a3f9bdb9fbf65e1c24c5d
parentfdba97bb3940b2763167510fab91df4b33293115 (diff)
so CreateObjectBarUI_Impl's pStr arg is unused
Change-Id: Ia18c380ef46eff546e6ee6534695bcafba1b3c6d
-rw-r--r--sfx2/source/control/objface.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index e13f0d9ce65d..7b9d6e9220ee 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -108,13 +108,9 @@ struct SfxInterface_Impl
}
};
-static SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature, const OUString *pStr );
-
-
-
+static SfxObjectUI_Impl* CreateObjectBarUI_Impl(sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature);
// constuctor, registeres a new unit
-
SfxInterface::SfxInterface( const char *pClassName,
const ResId& rNameResId,
SfxInterfaceId nId,
@@ -392,12 +388,12 @@ void SfxInterface::RegisterObjectBar( sal_uInt16 nPos, const ResId& rResId,
void SfxInterface::RegisterObjectBar( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature, const OUString *pStr )
{
- SfxObjectUI_Impl* pUI = CreateObjectBarUI_Impl( nPos, rResId, nFeature, pStr );
+ SfxObjectUI_Impl* pUI = CreateObjectBarUI_Impl(nPos, rResId, nFeature);
if ( pUI )
pImpData->aObjectBars.push_back(pUI);
}
-SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature, const OUString *pStr )
+SfxObjectUI_Impl* CreateObjectBarUI_Impl(sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature)
{
if ((nPos & SFX_VISIBILITY_MASK) == 0)
nPos |= SFX_VISIBILITY_STANDARD;