[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - include/vcl vcl/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 2 09:04:58 UTC 2020


 include/vcl/vclmedit.hxx     |    2 ++
 vcl/source/edit/vclmedit.cxx |    9 +++++++++
 2 files changed, 11 insertions(+)

New commits:
commit 3bff52cae392cf7e45729a3469333b0e76b3d874
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Mar 17 15:17:14 2020 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Jul 2 11:04:24 2020 +0200

    jsdialog: export cursor visibility for text areas
    
    Change-Id: I404e496a6f68f5cc2e2e628b51c759be49c7fecd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97729
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx
index 61367af5893e..00b798a0ff32 100644
--- a/include/vcl/vclmedit.hxx
+++ b/include/vcl/vclmedit.hxx
@@ -171,6 +171,8 @@ public:
     virtual FactoryFunction GetUITestFactory() const override;
 
     virtual bool set_property(const OString &rKey, const OUString &rValue) override;
+
+    virtual boost::property_tree::ptree DumpAsPropertyTree() override;
 };
 
 #endif // INCLUDED_VCL_VCLMEDIT_HXX
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 49b63e9ae3e9..823370e59c86 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -1535,4 +1535,13 @@ bool VclMultiLineEdit::set_property(const OString &rKey, const OUString &rValue)
     return true;
 }
 
+boost::property_tree::ptree VclMultiLineEdit::DumpAsPropertyTree()
+{
+    boost::property_tree::ptree aTree = Edit::DumpAsPropertyTree();
+
+    aTree.put("cursor", pImpVclMEdit->GetTextWindow()->GetTextView()->IsCursorEnabled());
+
+    return aTree;
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list