[Libreoffice-commits] core.git: sfx2/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 12 20:23:15 UTC 2021


 sfx2/source/devtools/ObjectInspectorTreeHandler.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3ee6dcfacf283af71bce93423be43d1dcbb2c12e
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Fri Mar 12 19:26:43 2021 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Mar 12 21:22:25 2021 +0100

    loplugin:elidestringvar in sfx2/devtools
    
    Change-Id: I328526e78969f475aecbd40ac93a9eb3c6760394
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112402
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
index 58f14e16274a..33f2b5c90e85 100644
--- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
+++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
@@ -468,12 +468,11 @@ public:
     {
         int nLength = mxIdlArray->getLen(maAny);
 
-        OUString aValue = "<Sequence>";
         OUString aType = getAnyType(maAny).replaceAll(u"[]", u"");
         aType += u"[" + OUString::number(nLength) + u"]";
 
         return {
-            { 1, aValue },
+            { 1, "<Sequence>" },
             { 2, aType },
         };
     }


More information about the Libreoffice-commits mailing list