[Libreoffice-commits] core.git: mysqlc/source vcl/opengl

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Aug 13 19:48:57 UTC 2018


 mysqlc/source/mysqlc_general.cxx   |    2 +-
 mysqlc/source/mysqlc_statement.cxx |    2 +-
 vcl/opengl/win/gdiimpl.cxx         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cb2b52e068717b625b0097a44ecd9e7bbfb8962b
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 13 14:40:32 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 13 21:48:32 2018 +0200

    Fix typos
    
    Change-Id: I0bcdff1d355f374e9922cf3f318a88f01af86f4f
    Reviewed-on: https://gerrit.libreoffice.org/58929
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/mysqlc/source/mysqlc_general.cxx b/mysqlc/source/mysqlc_general.cxx
index 48b68d081ff7..aa6822a6ba49 100644
--- a/mysqlc/source/mysqlc_general.cxx
+++ b/mysqlc/source/mysqlc_general.cxx
@@ -88,7 +88,7 @@ void allocateSqlVar(void** mem, enum_field_types eType, unsigned nSize)
     }
 }
 
-/// Use this intead of mysql_real_escape_string, because that one also escapes
+/// Use this instead of mysql_real_escape_string, because that one also escapes
 /// single quote ('), which should not be escaped
 rtl::OString escapeSql( const rtl::OString& from )
 {
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index cf13fd0a30af..ce91ed894376 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -136,7 +136,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const rtl::OUString& sql)
 
     MYSQL* pMySql = m_xConnection->getMysqlConnection();
 
-    // NOTE: differs from mysql c API, wehere mysql_real_escape_string_quote()
+    // NOTE: differs from MySQL C API, where mysql_real_escape_string_quote()
     // should be used.
     // toExec = mysqlc_sdbc_driver::escapeSql(toExec);
     int failure = mysql_real_query(pMySql, toExec.getStr(), toExec.getLength());
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 70e20367f27f..0c622bb51d85 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -425,7 +425,7 @@ bool tryShaders(const OUString& rVertexShader, const OUString& rFragmentShader,
     if (!nId)
         return false;
 
-    // We're intersted in the error returned by glDeleteProgram().
+    // We're interested in the error returned by glDeleteProgram().
     glGetError();
 
     glDeleteProgram(nId);


More information about the Libreoffice-commits mailing list