vcl/source/treelist/iconview.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 5b6fd1bcdb417e73307885f92c31464fe326ec9e
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Aug 20 19:17:07 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Aug 20 19:33:44 2022 +0200

    jsdialog: dump IconView separator entries
    
    Change-Id: I1db0a6bf9348db79e9f8c25f5468ebd1398f285a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138593
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/vcl/source/treelist/iconview.cxx b/vcl/source/treelist/iconview.cxx
index 570b9e5dbd66..b198355a5afb 100644
--- a/vcl/source/treelist/iconview.cxx
+++ b/vcl/source/treelist/iconview.cxx
@@ -300,6 +300,9 @@ static void lcl_DumpEntryAndSiblings(tools::JsonWriter& 
rJsonWriter, SvTreeListE
         if (pTabListBox->IsSelected(pEntry))
             rJsonWriter.put("selected", "true");
 
+        if (pEntry->GetFlags() & SvTLEntryFlags::IS_SEPARATOR)
+            rJsonWriter.put("separator", "true");
+
         rJsonWriter.put("row",
                         
OString::number(pTabListBox->GetModel()->GetAbsPos(pEntry)).getStr());
 

Reply via email to