summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-26 10:16:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-26 10:28:03 +0000
commit8fec0b7d3427b887ef74a7d5ea20baa1b28a8f80 (patch)
treef95d33e848e8abacf4733f760a6c0525e7724e8e
parentad3fcbb57f543c5d188c434a08ca58d7512232d1 (diff)
callcatcher: update unused code
Change-Id: I64cf376d57b8574249dfda274ea87a6931b0457d
-rw-r--r--sc/source/filter/inc/formulaparser.hxx3
-rw-r--r--sc/source/filter/oox/formulaparser.cxx14
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 18 deletions
diff --git a/sc/source/filter/inc/formulaparser.hxx b/sc/source/filter/inc/formulaparser.hxx
index 9bc058d5ed5a..2864aab31314 100644
--- a/sc/source/filter/inc/formulaparser.hxx
+++ b/sc/source/filter/inc/formulaparser.hxx
@@ -126,9 +126,6 @@ public:
/** Converts the passed BIFF error code to a similar formula. */
ApiTokenSequence convertErrorToFormula( sal_uInt8 nErrorCode ) const;
- /** Converts the passed token index of a defined name to a formula calling that name. */
- ApiTokenSequence convertNameToFormula( sal_Int32 nTokenIndex ) const;
-
/** Converts the passed XML formula to an OLE link target. */
OUString importOleTargetLink( const OUString& rFormulaString );
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx
index 51f79bcedf2e..63ff5be43f79 100644
--- a/sc/source/filter/oox/formulaparser.cxx
+++ b/sc/source/filter/oox/formulaparser.cxx
@@ -2813,20 +2813,6 @@ ApiTokenSequence FormulaParser::convertErrorToFormula( sal_uInt8 nErrorCode ) co
return aTokens;
}
-ApiTokenSequence FormulaParser::convertNameToFormula( sal_Int32 nTokenIndex ) const
-{
- if( nTokenIndex < 0 )
- return convertErrorToFormula( BIFF_ERR_REF );
-
- ApiTokenSequence aTokens( 1 );
- aTokens[ 0 ].OpCode = OPCODE_NAME;
- NameToken aNameTokenData;
- aNameTokenData.Global = sal_True;
- aNameTokenData.Index = nTokenIndex;
- aTokens[ 0 ].Data <<= aNameTokenData;
- return aTokens;
-}
-
OUString FormulaParser::importOleTargetLink( const OUString& rFormulaString )
{
sal_Int32 nRefId = -1;
diff --git a/unusedcode.easy b/unusedcode.easy
index cf8b3b4ad854..68004b9246ba 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -192,7 +192,6 @@ sc::FormulaGroupAreaListener::isStartFixed() const
sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
sdr::contact::ViewContactOfTextObj::GetTextObj() const
-sfx2::sidebar::AsynchronousCall::RequestCall(boost::function<void ()> const&)
std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&)
std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)