diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-10-24 10:45:38 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-10-24 12:53:12 +0200 |
commit | a41911499409f492442982ea0941807230ba9b14 (patch) | |
tree | 04e50a3806755a99929fb91778e060154171b2a9 | |
parent | 9b5ea9a58200bf7a2075b47930e3f8c0f7c854c8 (diff) |
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@collabora.com>
(cherry picked from commit 79e707cbfc877d206a8e49bf7647a9be80b5404e)
Reviewed-on: https://gerrit.libreoffice.org/81439
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbunocontroller.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 977e3146dafe..5427a40f60e3 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -930,6 +930,7 @@ boost::property_tree::ptree SvxStyleBox_Impl::DumpAsPropertyTree() aTree.put("selectedCount", GetSelectedEntryCount()); aTree.add_child("selectedEntries", aSelected); + aTree.put("command", ".uno:StyleApply"); return aTree; } @@ -1320,6 +1321,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 917d87b462ca..c71e36ffe6c1 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -289,6 +289,8 @@ boost::property_tree::ptree SvxFontSizeBox_Impl::DumpAsPropertyTree() aTree.put("selectedCount", GetSelectedEntryCount()); aTree.add_child("selectedEntries", aSelected); + aTree.put("command", ".uno:FontHeight"); + return aTree; } |