Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1516

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/16/1516/1

fdo#57950: One more chained append in basic

Change-Id: I179b5bfd1d85152a53bb821ab9eeb78efb8a6083
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
M basic/source/classes/sbunoobj.cxx
1 file changed, 2 insertions(+), 4 deletions(-)



diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 30f5c9f..e5ec362 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -954,10 +954,8 @@
                     }
                 }
 
-                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 )

-- 
To view, visit https://gerrit.libreoffice.org/1516
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I179b5bfd1d85152a53bb821ab9eeb78efb8a6083
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza <marcos.souza.org@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.