dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 8 ++++---- dbaccess/source/core/inc/SingleSelectQueryComposer.hxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit ad6f52055fb2428bd5bc9a1e926b7f564efb1542 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sun Aug 25 17:50:37 2019 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Aug 25 21:01:08 2019 +0200 Fix typo in code "sOrignal" It passed "make check" on Linux Change-Id: I2c88bb2e9425b27b6fe8ae975c9e0c5b640984c6 Reviewed-on: https://gerrit.libreoffice.org/78086 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index 319b95b982b3..46e6adc2c303 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -233,7 +233,7 @@ OSingleSelectQueryComposer::OSingleSelectQueryComposer(const Reference< XNameAcc if ( !m_aContext.is() || !m_xConnection.is() || !m_xConnectionTables.is() ) throw IllegalArgumentException(); - registerProperty(PROPERTY_ORIGINAL,PROPERTY_ID_ORIGINAL,PropertyAttribute::BOUND|PropertyAttribute::READONLY,&m_sOrignal,cppu::UnoType<decltype(m_sOrignal)>::get()); + registerProperty(PROPERTY_ORIGINAL,PROPERTY_ID_ORIGINAL,PropertyAttribute::BOUND|PropertyAttribute::READONLY,&m_sOriginal,cppu::UnoType<decltype(m_sOriginal)>::get()); m_aCurrentColumns.resize(4); @@ -311,10 +311,10 @@ void SAL_CALL OSingleSelectQueryComposer::setQuery( const OUString& command ) clearCurrentCollections(); // now set the new one setQuery_Impl(command); - m_sOrignal = command; + m_sOriginal = command; // reset the additive iterator to the same statement - parseAndCheck_throwError( m_aSqlParser, m_sOrignal, m_aAdditiveIterator, *this ); + parseAndCheck_throwError( m_aSqlParser, m_sOriginal, m_aAdditiveIterator, *this ); // we have no "elementary" parts anymore (means filter/groupby/having/order clauses) for ( SQLPart eLoopParts = Where; eLoopParts != SQLPartCount; incSQLPart( eLoopParts ) ) @@ -386,7 +386,7 @@ void SAL_CALL OSingleSelectQueryComposer::setCommand( const OUString& Command,sa // now set the new one OUString sCommand = sSQL.makeStringAndClear(); setElementaryQuery(sCommand); - m_sOrignal = sCommand; + m_sOriginal = sCommand; } void OSingleSelectQueryComposer::setQuery_Impl( const OUString& command ) diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx index c349708ceded..77d0a178e99a 100644 --- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx +++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx @@ -106,7 +106,7 @@ namespace dbaccess sal_Int32 m_nCommandType; // <properties> - OUString m_sOrignal; + OUString m_sOriginal; // </properties> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits