summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-27 17:27:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-27 17:28:27 +0100
commit71511385dd6b12c3a902424652087e780fd7f3ba (patch)
tree796193c73229510bbc7867f37d1e7ec23b1aec68 /basic
parent464d9249d44d2b36d5334d42ad8b38aab62c3f47 (diff)
Just pass in OUString directly
Change-Id: Idf7d63672e8b330499e53c1395dedb92d25bb76a
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/token.cxx6
-rw-r--r--basic/source/inc/token.hxx1
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 )