summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FStringFunctions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FStringFunctions.cxx')
-rw-r--r--connectivity/source/drivers/file/FStringFunctions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FStringFunctions.cxx b/connectivity/source/drivers/file/FStringFunctions.cxx
index acac9ac82a93..a5cf7ce486ce 100644
--- a/connectivity/source/drivers/file/FStringFunctions.cxx
+++ b/connectivity/source/drivers/file/FStringFunctions.cxx
@@ -160,7 +160,7 @@ ORowSetValue OOp_RTrim::operate(const ORowSetValue& lhs) const
OUString sRet = lhs;
OUString sNew = sRet.trim();
- return sRet.copy(0,sRet.lastIndexOf(sNew.getStr()[sNew.getLength()-1])+1);
+ return sRet.copy(0,sRet.lastIndexOf(sNew[sNew.getLength()-1])+1);
}
//------------------------------------------------------------------
ORowSetValue OOp_Space::operate(const ORowSetValue& lhs) const