summaryrefslogtreecommitdiff
path: root/dbaccess/source/core
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-25 17:50:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-25 21:01:08 +0200
commitad6f52055fb2428bd5bc9a1e926b7f564efb1542 (patch)
tree3858d93a53d9ba6d5012be3f8580c52b4ea89211 /dbaccess/source/core
parentb5f149b1602091064f1886f0f27c0a2728cc8a3c (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source/core')
-rw-r--r--dbaccess/source/core/api/SingleSelectQueryComposer.cxx8
-rw-r--r--dbaccess/source/core/inc/SingleSelectQueryComposer.hxx2
2 files changed, 5 insertions, 5 deletions
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>