summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 14:45:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 16:36:00 +0000
commit03f54ec22c956f3433ede07ecca57445feb549f7 (patch)
treefb319729804c7a05d5e0d204738858e21922193c /sfx2
parent22cc0d397e86a48f97ab764c1acb56ec5bd042eb (diff)
so SfxInterface::GetObjectBarName is now unused
Change-Id: I88f5c84386216339d617589ba6a7e0de1235a9e9
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/objface.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 101033cbd148..8f603c45d9e1 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -548,13 +548,11 @@ sal_uInt16 SfxInterface::GetChildWindowCount() const
return pImpData->aChildWindows.size();
}
-
const ResId& SfxInterface::GetPopupMenuResId() const
{
return pImpData->aPopupRes;
}
-
const ResId& SfxInterface::GetStatusBarResId() const
{
if (pImpData->aStatBarRes.GetId() == 0 && pGenoType)
@@ -563,27 +561,6 @@ const ResId& SfxInterface::GetStatusBarResId() const
return pImpData->aStatBarRes;
}
-
-
-const OUString* SfxInterface::GetObjectBarName ( sal_uInt16 nNo ) const
-{
- bool bGenoType = (pGenoType != 0 && !pGenoType->HasName());
- if ( bGenoType )
- {
- // Are there toolbars in the super class?
- sal_uInt16 nBaseCount = pGenoType->GetObjectBarCount();
- if ( nNo < nBaseCount )
- // The Super class comes first
- return pGenoType->GetObjectBarName( nNo );
- else
- nNo = nNo - nBaseCount;
- }
-
- assert( nNo<pImpData->aObjectBars.size() );
-
- return pImpData->aObjectBars[nNo]->pName;
-}
-
sal_uInt32 SfxInterface::GetObjectBarFeature ( sal_uInt16 nNo ) const
{
bool bGenoType = (pGenoType != 0 && !pGenoType->HasName());