[Libreoffice-commits] core.git: connectivity/source

Lionel Elie Mamane lionel at mamane.lu
Tue Mar 12 08:28:41 PDT 2013


 connectivity/source/commontools/AutoRetrievingBase.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6ea685090806a2a2f39b8d5ec6a749eaf9b1856e
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Mar 12 16:26:15 2013 +0100

    janitorial: readability
    
    Change-Id: Iaab09826d79b0fbcd3104d33d1f159767a09921a

diff --git a/connectivity/source/commontools/AutoRetrievingBase.cxx b/connectivity/source/commontools/AutoRetrievingBase.cxx
index 6e39c85..c3a1366 100644
--- a/connectivity/source/commontools/AutoRetrievingBase.cxx
+++ b/connectivity/source/commontools/AutoRetrievingBase.cxx
@@ -23,9 +23,8 @@ namespace connectivity
 {
     ::rtl::OUString OAutoRetrievingBase::getTransformedGeneratedStatement(const ::rtl::OUString& _sInsertStatement) const
     {
-        ::rtl::OUString sStmt = _sInsertStatement;
         OSL_ENSURE( m_bAutoRetrievingEnabled,"Illegal call here. isAutoRetrievingEnabled is false!");
-        sStmt = sStmt.toAsciiUpperCase();
+        ::rtl::OUString sStmt = _sInsertStatement.toAsciiUpperCase();
         ::rtl::OUString sStatement;
         if ( sStmt.startsWith("INSERT") )
         {


More information about the Libreoffice-commits mailing list