summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-12-30 14:00:42 -0200
committerLuboš Luňák <l.lunak@suse.cz>2013-01-03 17:08:55 +0000
commitd905daa0d05010ffe938790c513e25df3301b310 (patch)
treeb3b3e4830d7390d8efda994bc16e97c7c7194ac4 /basic
parent695f4a18e6e538f8d6080f486695e4f58f8bd574 (diff)
fdo#57950: One more chained append in basic
Change-Id: I179b5bfd1d85152a53bb821ab9eeb78efb8a6083 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1516 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbunoobj.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 30f5c9fcec4a..e5ec362a66a9 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -954,10 +954,8 @@ Type getUnoTypeForSbxValue( SbxValue* pVal )
}
}
- OUStringBuffer aSeqTypeName;
- aSeqTypeName.appendAscii(aSeqLevelStr)
- .append(aElementType.getTypeName());
- aRetType = Type( TypeClass_SEQUENCE, aSeqTypeName.makeStringAndClear() );
+ OUString aSeqTypeName = aSeqLevelStr + aElementType.getTypeName();
+ aRetType = Type( TypeClass_SEQUENCE, aSeqTypeName );
}
// #i33795 Map also multi dimensional arrays to corresponding sequences
else if( nDims > 1 )