diff options
Diffstat (limited to 'connectivity/source/commontools/AutoRetrievingBase.cxx')
-rw-r--r-- | connectivity/source/commontools/AutoRetrievingBase.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/commontools/AutoRetrievingBase.cxx b/connectivity/source/commontools/AutoRetrievingBase.cxx index ffbb348dcd60..78b5f729761e 100644 --- a/connectivity/source/commontools/AutoRetrievingBase.cxx +++ b/connectivity/source/commontools/AutoRetrievingBase.cxx @@ -21,16 +21,16 @@ namespace connectivity { - ::rtl::OUString OAutoRetrievingBase::getTransformedGeneratedStatement(const ::rtl::OUString& _sInsertStatement) const + OUString OAutoRetrievingBase::getTransformedGeneratedStatement(const OUString& _sInsertStatement) const { OSL_ENSURE( m_bAutoRetrievingEnabled,"Illegal call here. isAutoRetrievingEnabled is false!"); - ::rtl::OUString sStmt = _sInsertStatement.toAsciiUpperCase(); - ::rtl::OUString sStatement; + OUString sStmt = _sInsertStatement.toAsciiUpperCase(); + OUString sStatement; if ( sStmt.startsWith("INSERT") ) { sStatement = m_sGeneratedValueStatement; - static const ::rtl::OUString sColumn("$column"); - static const ::rtl::OUString sTable("$table"); + static const OUString sColumn("$column"); + static const OUString sTable("$table"); sal_Int32 nIndex = 0; nIndex = sStatement.indexOf(sColumn,nIndex); if ( -1 != nIndex ) @@ -50,7 +50,7 @@ namespace connectivity while (sStmt.indexOf(' ') == 0 ); nIntoIndex = 0; - ::rtl::OUString sTableName = sStmt.getToken(0,' ',nIntoIndex); + OUString sTableName = sStmt.getToken(0,' ',nIntoIndex); sStatement = sStatement.replaceAt(nIndex,sTable.getLength(),sTableName); } } |