diff options
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 10 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 2b609e71520e..b4b6b682f28f 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -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); diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 978500e4bc27..3095dfa62bbc 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -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: */ diff --git a/unusedcode.easy b/unusedcode.easy index d2d12a809562..a98743ef59f2 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -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() |