summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbcbase/OStatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/odbcbase/OStatement.cxx')
-rw-r--r--connectivity/source/drivers/odbcbase/OStatement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/odbcbase/OStatement.cxx b/connectivity/source/drivers/odbcbase/OStatement.cxx
index f2973b8ac41d..ce92dee3fc0f 100644
--- a/connectivity/source/drivers/odbcbase/OStatement.cxx
+++ b/connectivity/source/drivers/odbcbase/OStatement.cxx
@@ -269,7 +269,7 @@ sal_Bool OStatement_Base::lockIfNecessary (const ::rtl::OUString& sql) throw( SQ
// Now, look for the FOR UPDATE keywords. If there is any extra white
// space between the FOR and UPDATE, this will fail.
- sal_Int32 index = sqlStatement.indexOf(::rtl::OUString(" FOR UPDATE"));
+ sal_Int32 index = sqlStatement.indexOf(" FOR UPDATE");
// We found it. Change our concurrency level to ensure that the
// row can be updated.