summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index d3928a599662..a86a74383ee6 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -1281,7 +1281,7 @@ RTLFUNC(Mid)
OUString aResultStr;
if (nStartPos > aArgStr.getLength())
{
- aResultStr = "";
+ // do nothing
}
else if(nArgCount == 2)
{