diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-03-21 19:15:56 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-03-21 20:51:50 +0100 |
commit | 18e1778fb6408684abe90609703501d37a98bc41 (patch) | |
tree | 594b0013c166e4e797b2748408377936a4881405 /connectivity | |
parent | 23316f2ef210960f22cba225be3d74e29b3182f4 (diff) |
fix typo in code: anylizeSQL->analyzeSQL
Change-Id: Ibee6322c03c6bd03a72bcb66b27077527f5529ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112855
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/file/FStatement.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/inc/file/FStatement.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index 6c9367c83a78..e04e4fbe5d1b 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -302,9 +302,9 @@ Any SAL_CALL OStatement::queryInterface( const Type & rType ) return aRet.hasValue() ? aRet : OStatement_BASE2::queryInterface( rType); } -void OStatement_Base::anylizeSQL() +void OStatement_Base::analyzeSQL() { - OSL_ENSURE(m_pSQLAnalyzer,"OResultSet::anylizeSQL: Analyzer isn't set!"); + OSL_ENSURE(m_pSQLAnalyzer,"OResultSet::analyzeSQL: Analyzer isn't set!"); // start analysing the statement m_pSQLAnalyzer->setOrigColumns(m_xColNames); m_pSQLAnalyzer->start(m_pParseTree); @@ -428,7 +428,7 @@ void OStatement_Base::construct(const OUString& sql) m_pSQLAnalyzer.reset( new OSQLAnalyzer(m_pConnection.get()) ); - anylizeSQL(); + analyzeSQL(); } void OStatement_Base::createColumnMapping() diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index f4b6687dfc02..d793002852bf 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -96,7 +96,7 @@ namespace connectivity::file // initialize the column index map (mapping select columns to table columns) void createColumnMapping(); // searches the statement for sort criteria - void anylizeSQL(); + void analyzeSQL(); void setOrderbyColumn( connectivity::OSQLParseNode const * pColumnRef, connectivity::OSQLParseNode const * pAscendingDescending); |