summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-10-24 10:45:38 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2019-10-24 12:16:19 +0200
commit79e707cbfc877d206a8e49bf7647a9be80b5404e (patch)
tree66a0bc9accb3955a61eefa983705a6f23a56ef56 /svx/source
parent22f17bf4a904743efc11798d60608b5077382af0 (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>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx2
2 files changed, 4 insertions, 0 deletions
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;
}