summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorKelly Anderson <cbxbiker61@gmail.com>2011-05-31 12:26:34 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-05-31 12:29:34 +0200
commit8ce982432a9a73ec628c8c6cff73f152bee1b57a (patch)
treee9399418e243848b7f464486d3dafefb5755ad65 /connectivity
parent1bf36db7af7064942f939ef3c35783e81a073899 (diff)
fix compile with Bison 2.5
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/connectivity/sqlparse.hxx2
-rwxr-xr-xconnectivity/source/parse/sqlbison.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/sqlparse.hxx b/connectivity/inc/connectivity/sqlparse.hxx
index e7420d6c48c3..a99cd369677c 100644
--- a/connectivity/inc/connectivity/sqlparse.hxx
+++ b/connectivity/inc/connectivity/sqlparse.hxx
@@ -232,7 +232,7 @@ namespace connectivity
// returns the type for a parameter in a given function name
static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos);
- void error(sal_Char *fmt);
+ void error(const sal_Char *fmt);
int SQLlex();
#ifdef YYBISON
void setParseTree(OSQLParseNode * pNewParseTree);
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 7abcacd6f736..1f2c577b8da0 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -4781,7 +4781,7 @@ void OSQLParser::reduceLiteral(OSQLParseNode*& pLiteral, sal_Bool bAppendBlank)
}
// -------------------------------------------------------------------------
-void OSQLParser::error(sal_Char *fmt)
+void OSQLParser::error(const sal_Char *fmt)
{
if(!m_sErrorMessage.getLength())
{