diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-16 00:54:48 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2017-02-16 06:01:33 +0000 |
commit | 748361ada42ffef774a7cb68f704de0e9edb5639 (patch) | |
tree | 6c50a53142509d18a3caffd4d810b44660611230 /libreofficekit/qa | |
parent | 57056e5d6032ff1ce0a91c078ebaa1deeaa9dc6f (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>
Diffstat (limited to 'libreofficekit/qa')
-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 28a1f6b5c9b3..3115fd43a1cd 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -347,7 +347,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) |