remove unused code ScTabViewShell::GetForms() const

Change-Id: Ifb4fec75d58f67640043b344eac8a2be598c214d
This commit is contained in:
Noel Grandin
2014-02-26 10:20:17 +02:00
parent b28e435105
commit 252ca499da
3 changed files with 0 additions and 12 deletions

View File

@@ -413,7 +413,6 @@ public:
bool IsActive() const { return bIsActive; }
OUString GetFormula(ScAddress& rAddress);
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & GetForms() const;
// ugly hack to call Define Names from Manage Names
void SwitchBetweenRefDialogs(SfxModelessDialog* pDialog);

View File

@@ -1924,14 +1924,4 @@ void ScTabViewShell::GetTbxState( SfxItemSet& rSet )
rSet.Put( SfxUInt16Item( SID_TBXCTL_INSOBJ, nInsObjCtrlState ) );
}
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & ScTabViewShell::GetForms() const
{
if( !pFormShell || !pFormShell->GetCurPage() )
{
static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > aRef;
return aRef;
}
return pFormShell->GetCurPage()->GetForms();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -83,7 +83,6 @@ ScGridWindow::HasScenarioRange(unsigned short, int, ScRange&)
ScMyNotEmptyCellsIterator::GetCell() const
ScRangeStringConverter::GetRangeListFromString(com::sun::star::uno::Sequence<com::sun::star::table::CellRangeAddress>&, rtl::OUString const&, ScDocument const*, formula::FormulaGrammar::AddressConvention, unsigned short, unsigned short)
ScRefCellValue::commit(ScColumn&, int) const
ScTabViewShell::GetForms() const
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SdrItemBrowser::ForceParent()