diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 14:37:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 16:35:59 +0000 |
commit | 5a1ff4db38588bcf222cea24050c64d41b53635a (patch) | |
tree | 2baa5f28af964fc99bd4991124aba7d71fbf7419 /sfx2 | |
parent | 38ff61b44e466ac138632c71ed538749fdada2b0 (diff) |
no use is made of SfxObjectBar_Impl's aName
Change-Id: I4afc85d4ff9b5743dd506a6a5a4ba1657d6025cb
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index e1c08677124d..50a6f76bab9a 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1134,8 +1134,6 @@ void SfxWorkWindow::ResetObjectBars_Impl() aChildWins[n]->nId = 0; } - - void SfxWorkWindow::SetObjectBar_Impl( sal_uInt16 nPos, sal_uInt32 nResId, SfxInterface* pIFace, const OUString *pName) { @@ -1154,10 +1152,6 @@ void SfxWorkWindow::SetObjectBar_Impl( sal_uInt16 nPos, sal_uInt32 nResId, aObjBar.nId = sal::static_int_cast<sal_uInt16>(nResId); aObjBar.nPos = nRealPos; aObjBar.nMode = (nPos & SFX_VISIBILITY_MASK); - if (pName) - aObjBar.aName = *pName; - else - aObjBar.aName = ""; for ( sal_uInt16 n=0; n<aObjBarList.size(); n++ ) { @@ -1171,8 +1165,6 @@ void SfxWorkWindow::SetObjectBar_Impl( sal_uInt16 nPos, sal_uInt32 nResId, aObjBarList.push_back( aObjBar ); } - - bool SfxWorkWindow::KnowsObjectBar_Impl( sal_uInt16 nPos ) const /* [Description] diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 970bbd7593ff..8f902b161d1d 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -43,7 +43,6 @@ class SfxWorkWindow; // This struct makes all relevant Informationen available of Toolboxes - struct SfxObjectBar_Impl { sal_uInt16 nId; // Resource - and ConfigId of Toolbox @@ -51,7 +50,6 @@ struct SfxObjectBar_Impl sal_uInt16 nPos; sal_uInt16 nIndex; bool bDestroy; - OUString aName; SfxInterface* pIFace; SfxObjectBar_Impl() : |