From 9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Mar 2017 11:41:17 +0200 Subject: loplugin:unusedmethods Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/attrib.hxx | 1 - sc/source/core/inc/interpre.hxx | 1 - sc/source/core/tool/interpr4.cxx | 24 ------------------------ sc/source/filter/orcus/interface.cxx | 1 - 4 files changed, 27 deletions(-) (limited to 'sc') diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index dc9b2884aec5..fddb8f44cbf8 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -56,7 +56,6 @@ class SC_DLLPUBLIC ScMergeAttr: public SfxPoolItem SCsCOL nColMerge; SCsROW nRowMerge; public: - static SfxPoolItem* CreateDefault(); ScMergeAttr(); ScMergeAttr( SCsCOL nCol, SCsROW nRow ); ScMergeAttr( const ScMergeAttr& ); diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index ae47fc4e1b11..abddcd9d7ebb 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -229,7 +229,6 @@ void PushNA(); // Functions for accessing a document void ReplaceCell( ScAddress& ); // for TableOp -void ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ); // for TableOp bool IsTableOpInRange( const ScRange& ); sal_uLong GetCellNumberFormat( const ScAddress& rPos, ScRefCellValue& rCell ); double ConvertStringToValue( const OUString& ); diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 103d52864d17..1c64a8556ffb 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -106,30 +106,6 @@ void ScInterpreter::ReplaceCell( ScAddress& rPos ) } } -void ScInterpreter::ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ) -{ - ScAddress aCellPos( rCol, rRow, rTab ); - size_t ListSize = pDok->m_TableOpList.size(); - for ( size_t i = 0; i < ListSize; ++i ) - { - ScInterpreterTableOpParams *const pTOp = pDok->m_TableOpList[ i ].get(); - if ( aCellPos == pTOp->aOld1 ) - { - rCol = pTOp->aNew1.Col(); - rRow = pTOp->aNew1.Row(); - rTab = pTOp->aNew1.Tab(); - return ; - } - else if ( aCellPos == pTOp->aOld2 ) - { - rCol = pTOp->aNew2.Col(); - rRow = pTOp->aNew2.Row(); - rTab = pTOp->aNew2.Tab(); - return ; - } - } -} - bool ScInterpreter::IsTableOpInRange( const ScRange& rRange ) { if ( rRange.aStart == rRange.aEnd ) diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index dda51c924613..c21d16ae982d 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include -- cgit