[Libreoffice-commits] .: formula/inc formula/source unusedcode.easy
Muthu Subramanian
sumuthu at kemper.freedesktop.org
Sun Apr 22 23:00:56 PDT 2012
formula/inc/formula/tokenarray.hxx | 1 -
formula/source/core/api/token.cxx | 5 -----
unusedcode.easy | 1 -
3 files changed, 7 deletions(-)
New commits:
commit d142091d4c98672c49f57be23f90e5ec8445e754
Author: Javier Silva Sanahuja <jsilvasa at uoc.edu>
Date: Mon Apr 23 11:42:50 2012 +0530
Unused code removal
diff --git a/formula/inc/formula/tokenarray.hxx b/formula/inc/formula/tokenarray.hxx
index 8b217a2..c5aee7d 100644
--- a/formula/inc/formula/tokenarray.hxx
+++ b/formula/inc/formula/tokenarray.hxx
@@ -210,7 +210,6 @@ public:
/** Xcl import may play dirty tricks with OpCode!=ocExternal.
Others don't use! */
FormulaToken* AddExternal( const String& rStr, OpCode eOp = ocExternal );
- FormulaToken* AddBad( const sal_Unicode* pStr ); /// ocBad with String
FormulaToken* AddBad( const String& rStr ); /// ocBad with String
FormulaToken* AddStringXML( const String& rStr ); /// ocStringXML with String, temporary during import
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 3a4f632..f426a31 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -770,11 +770,6 @@ FormulaToken* FormulaTokenArray::AddExternal( const String& rStr,
return Add( new FormulaExternalToken( eOp, rStr ) );
}
-FormulaToken* FormulaTokenArray::AddBad( const sal_Unicode* pStr )
-{
- return AddBad( String( pStr ) );
-}
-
FormulaToken* FormulaTokenArray::AddBad( const String& rStr )
{
return Add( new FormulaStringOpToken( ocBad, rStr ) );
diff --git a/unusedcode.easy b/unusedcode.easy
index b09221f..daf8d4c 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -707,7 +707,6 @@ drawinglayer::attribute::SdrTextAttribute::isWrongSpell() const
drawinglayer::primitive2d::PolyPolygonStrokePrimitive2D::PolyPolygonStrokePrimitive2D(basegfx::B2DPolyPolygon const&, drawinglayer::attribute::LineAttribute const&)
formula::EditBox::EditBox(Window*, long)
formula::FormulaListBox::FormulaListBox(Window*, long)
-formula::FormulaTokenArray::AddBad(unsigned short const*)
formula::FormulaTokenIterator::First()
jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::getJavaExePaths(int*)
More information about the Libreoffice-commits
mailing list