summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-12-19 15:15:12 +0000
committerNoel Power <noel.power@suse.com>2012-12-20 19:26:57 +0000
commitd9695409d8ef0b328963c68da79c3039d5ec307b (patch)
treeba258d886fb0fa17dc8371ef2a29069c7280eb6a
parent86a6acaa60b514a07948ecc8063f5e674dda8f34 (diff)
fix crash for fdo#58306 by avoiding literal assign
OUStringBuffer doesn't handler append ( if it had been previously assigned to "" literal ) Change-Id: Ief4379490a4873fbee4117db5833111943b86334
-rw-r--r--basic/source/runtime/step0.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx
index 412847356af8..5e41425b1748 100644
--- a/basic/source/runtime/step0.cxx
+++ b/basic/source/runtime/step0.cxx
@@ -1171,7 +1171,7 @@ void SbiRuntime::StepARGV()
// is removed afterwards.
void SbiRuntime::StepINPUT()
{
- OUStringBuffer sin = "";
+ OUStringBuffer sin;
OUString s;
char ch = 0;
SbError err;