From 03f54ec22c956f3433ede07ecca57445feb549f7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Nov 2014 14:45:23 +0000 Subject: so SfxInterface::GetObjectBarName is now unused Change-Id: I88f5c84386216339d617589ba6a7e0de1235a9e9 --- sfx2/source/control/objface.cxx | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'sfx2') 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( nNoaObjectBars.size() ); - - return pImpData->aObjectBars[nNo]->pName; -} - sal_uInt32 SfxInterface::GetObjectBarFeature ( sal_uInt16 nNo ) const { bool bGenoType = (pGenoType != 0 && !pGenoType->HasName()); -- cgit