summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-03-12 16:26:15 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-03-12 16:26:41 +0100
commit6ea685090806a2a2f39b8d5ec6a749eaf9b1856e (patch)
tree02a726d736a588cbc4d1e0d6bddaa0b55fb28eca /connectivity
parent230ef3980e88188e9929e36a83362ee7e3a28a7a (diff)
janitorial: readability
Change-Id: Iaab09826d79b0fbcd3104d33d1f159767a09921a
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/AutoRetrievingBase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/AutoRetrievingBase.cxx b/connectivity/source/commontools/AutoRetrievingBase.cxx
index 6e39c85cc8b4..c3a136678020 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") )
{