diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-20 10:12:07 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-20 13:58:15 +0530 |
commit | c62d2317472e2a02c7ace08a2f8ecc4135a9ba2c (patch) | |
tree | 46687a44b84f9c176300da49f225c363af727668 /libreofficekit | |
parent | 2acb622631453a3e4b74991986618ba161d9e4b8 (diff) |
gtktiledviewer: Id param is string now
It was changed in ce96c5957c38384f8911d6307605c502eca0c644
Change-Id: I4cc1f90d85e31044306ab36eaeac9d4424d965c0
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index 19ae65ca12c8..c8bf3ee41aa2 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -296,7 +296,7 @@ static void editButtonClicked(GtkWidget* pWidget, gpointer userdata) gchar *commentId = static_cast<gchar*>(g_object_get_data(G_OBJECT(userdata), "id")); boost::property_tree::ptree aTree; - aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "long"); + aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "string"); aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "value", nullptr), '/'), std::string(commentId)); aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Text", "/", "type", nullptr), '/'), "string"); @@ -320,7 +320,7 @@ static void replyButtonClicked(GtkWidget* pWidget, gpointer userdata) gchar *commentId = static_cast<gchar*>(g_object_get_data(G_OBJECT(userdata), "id")); boost::property_tree::ptree aTree; - aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "long"); + aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "string"); aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "value", nullptr), '/'), std::string(commentId)); aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Text", "/", "type", nullptr), '/'), "string"); @@ -340,7 +340,7 @@ static void deleteCommentButtonClicked(GtkWidget* pWidget, gpointer userdata) gchar *commentid = static_cast<gchar*>(g_object_get_data(G_OBJECT(userdata), "id")); boost::property_tree::ptree aTree; - aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "long"); + aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "type", nullptr), '/'), "string"); aTree.put(boost::property_tree::ptree::path_type(g_strconcat("Id", "/", "value", nullptr), '/'), std::string(commentid)); std::stringstream aStream; |