incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1179542 - in /incubator/ooo/trunk/main/connectivity: inc/connectivity/sqlparse.hxx source/parse/sqlbison.y
Date Thu, 06 Oct 2011 09:03:31 GMT
Author: hdu
Date: Thu Oct  6 09:03:31 2011
New Revision: 1179542

URL: http://svn.apache.org/viewvc?rev=1179542&view=rev
Log:
fix WaE in connectivity OpenSql parser

Modified:
    incubator/ooo/trunk/main/connectivity/inc/connectivity/sqlparse.hxx
    incubator/ooo/trunk/main/connectivity/source/parse/sqlbison.y

Modified: incubator/ooo/trunk/main/connectivity/inc/connectivity/sqlparse.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/connectivity/inc/connectivity/sqlparse.hxx?rev=1179542&r1=1179541&r2=1179542&view=diff
==============================================================================
--- incubator/ooo/trunk/main/connectivity/inc/connectivity/sqlparse.hxx (original)
+++ incubator/ooo/trunk/main/connectivity/inc/connectivity/sqlparse.hxx Thu Oct  6 09:03:31
2011
@@ -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* pFormat);
 		int SQLlex();
 #ifdef YYBISON
 		void setParseTree(OSQLParseNode * pNewParseTree);

Modified: incubator/ooo/trunk/main/connectivity/source/parse/sqlbison.y
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/connectivity/source/parse/sqlbison.y?rev=1179542&r1=1179541&r2=1179542&view=diff
==============================================================================
--- incubator/ooo/trunk/main/connectivity/source/parse/sqlbison.y (original)
+++ incubator/ooo/trunk/main/connectivity/source/parse/sqlbison.y Thu Oct  6 09:03:31 2011
@@ -4782,7 +4782,7 @@ void OSQLParser::reduceLiteral(OSQLParse
 }
 
 // -------------------------------------------------------------------------
-void OSQLParser::error(sal_Char *fmt)
+void OSQLParser::error( const sal_Char* fmt)
 {
 	if(!m_sErrorMessage.getLength())
 	{



Mime
View raw message