diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-16 00:54:48 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-18 00:59:21 +0100 |
commit | 2de31d18e80270e2d4fea3363855d1b878659903 (patch) | |
tree | 771a803356072672b314432cd1dd939cc2c86eee /libreofficekit | |
parent | 5feb8be8e3a7f42b7a1482f90fe8ff5d35706767 (diff) |
gtktiledviewer: Different UNO command for calc
Change-Id: I229451bac7cf4c223efd3fa18c177d650d3f9954
Reviewed-on: https://gerrit.libreoffice.org/34327
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
(cherry picked from commit 748361ada42ffef774a7cb68f704de0e9edb5639)
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index 4876302a6907..17caee84b0fe 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -346,7 +346,7 @@ static void deleteCommentButtonClicked(GtkWidget* pWidget, gpointer userdata) boost::property_tree::write_json(aStream, aTree); std::string aArguments = aStream.str(); - lok_doc_view_post_command(LOK_DOC_VIEW(rWindow.m_pDocView), ".uno:DeleteComment", aArguments.c_str(), false); + lok_doc_view_post_command(LOK_DOC_VIEW(rWindow.m_pDocView), rWindow.m_aToolItemCommandNames[rWindow.m_pDeleteComment].c_str(), aArguments.c_str(), false); } GtkWidget* CommentsSidebar::createCommentBox(const boost::property_tree::ptree& aComment) |