[Libreoffice-commits] core.git: sc/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Fri Dec 26 02:28:33 PST 2014


 sc/source/filter/inc/formulaparser.hxx |    3 ---
 sc/source/filter/oox/formulaparser.cxx |   14 --------------
 unusedcode.easy                        |    1 -
 3 files changed, 18 deletions(-)

New commits:
commit 8fec0b7d3427b887ef74a7d5ea20baa1b28a8f80
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 26 10:16:55 2014 +0000

    callcatcher: update unused code
    
    Change-Id: I64cf376d57b8574249dfda274ea87a6931b0457d

diff --git a/sc/source/filter/inc/formulaparser.hxx b/sc/source/filter/inc/formulaparser.hxx
index 9bc058d..2864aab 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 51f79bc..63ff5be 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 cf8b3b4..68004b9 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)


More information about the Libreoffice-commits mailing list