diff options
-rw-r--r-- | basic/source/comp/token.cxx | 6 | ||||
-rw-r--r-- | basic/source/inc/token.hxx | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx index 40397d3ee149..f422147950af 100644 --- a/basic/source/comp/token.cxx +++ b/basic/source/comp/token.cxx @@ -242,12 +242,6 @@ void SbiTokenizer::Push( SbiToken t ) else ePush = t; } -void SbiTokenizer::Error( SbError code, const char* pMsg ) -{ - aError = OUString::createFromAscii( pMsg ); - Error( code ); -} - void SbiTokenizer::Error( SbError code, const OUString &aMsg ) { aError = aMsg; diff --git a/basic/source/inc/token.hxx b/basic/source/inc/token.hxx index 43f535b8cc0d..f9d7c0d32ab5 100644 --- a/basic/source/inc/token.hxx +++ b/basic/source/inc/token.hxx @@ -158,7 +158,6 @@ public: void Error( SbError c ) { GenError( c ); } void Error( SbError, SbiToken ); - void Error( SbError, const char* ); void Error( SbError, const OUString &); static bool IsEoln( SbiToken t ) |