summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-connectivity
blob: b54ace581f7439623830ab67e66ac12d4f45ca95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- connectivity/source/parse/sqlbison.y.orig	2011-01-18 05:32:30.000000000 -0800
+++ connectivity/source/parse/sqlbison.y	2012-02-13 14:03:12.000000000 -0800
@@ -4334,7 +4334,7 @@
 }
 
 // -------------------------------------------------------------------------
-void OSQLParser::error(sal_Char *fmt)
+void OSQLParser::error(const sal_Char *fmt)
 {
 	if(!m_sErrorMessage.getLength())
 	{
--- connectivity/inc/connectivity/sqlparse.hxx.orig	2011-01-18 05:32:29.000000000 -0800
+++ connectivity/inc/connectivity/sqlparse.hxx	2012-02-13 17:06:06.000000000 -0800
@@ -232,7 +232,7 @@
         // 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);