diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 14:52:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 16:36:01 +0000 |
commit | a3d92af125ae22dc2243fe5b88e194eb41ca3dce (patch) | |
tree | 324fcf710b6d9806ef5a3f9bdb9fbf65e1c24c5d /sfx2 | |
parent | so SfxObjectUI_Impl pName is only set, never read (diff) | |
download | core-a3d92af125ae22dc2243fe5b88e194eb41ca3dce.tar.gz core-a3d92af125ae22dc2243fe5b88e194eb41ca3dce.zip |
so CreateObjectBarUI_Impl's pStr arg is unused
Change-Id: Ia18c380ef46eff546e6ee6534695bcafba1b3c6d
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/objface.cxx | 10 |
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; |