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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 24 10:17:50 UTC 2019


 svx/source/tbxctrls/tbcontrl.cxx        |    2 ++
 svx/source/tbxctrls/tbunocontroller.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 79e707cbfc877d206a8e49bf7647a9be80b5404e
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Oct 24 10:45:38 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Oct 24 12:16:19 2019 +0200

    jsdialogs: send associated uno commands for comboboxes
    
    Change-Id: I170cad78b8c014e8ceab197b0ded03adc32940b1
    Reviewed-on: https://gerrit.libreoffice.org/81431
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 01ffb0603d93..67933f5b5f0e 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1254,6 +1254,7 @@ boost::property_tree::ptree SvxStyleBox_Impl::DumpAsPropertyTree()
 
     aTree.put("selectedCount", GetSelectedEntryCount());
     aTree.add_child("selectedEntries", aSelected);
+    aTree.put("command", ".uno:StyleApply");
 
     return aTree;
 }
@@ -1645,6 +1646,7 @@ boost::property_tree::ptree SvxFontNameBox_Impl::DumpAsPropertyTree()
 
     aTree.put("selectedCount", GetSelectedEntryCount());
     aTree.add_child("selectedEntries", aSelected);
+    aTree.put("command", ".uno:CharFontName");
 
     return aTree;
 }
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 19b2147c8fad..4a0b158e0079 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -295,6 +295,8 @@ boost::property_tree::ptree SvxFontSizeBox_Impl::DumpAsPropertyTree()
     aTree.put("selectedCount", GetSelectedEntryCount());
     aTree.add_child("selectedEntries", aSelected);
 
+    aTree.put("command", ".uno:FontHeight");
+
     return aTree;
 }
 


More information about the Libreoffice-commits mailing list