summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorJavier Silva Sanahuja <jsilvasa@uoc.edu>2012-04-23 11:42:50 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-04-23 11:42:50 +0530
commitd142091d4c98672c49f57be23f90e5ec8445e754 (patch)
treee43db1aad0ad4ae9a2c27f885c2666c4a65593cc /formula
parentd31aae4c9eea4f4aecea2a051518536b47aa8ab6 (diff)
Unused code removal
Diffstat (limited to 'formula')
-rw-r--r--formula/inc/formula/tokenarray.hxx1
-rw-r--r--formula/source/core/api/token.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/formula/inc/formula/tokenarray.hxx b/formula/inc/formula/tokenarray.hxx
index 8b217a26453f..c5aee7d91d52 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 3a4f63269a16..f426a31a833e 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 ) );