summaryrefslogtreecommitdiff
path: root/desktop/qa
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-06-18 21:39:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-20 21:25:11 +0200
commitcb95276e6e6bf12a1c06d5c252551e55c788fcb2 (patch)
tree9e54d9ddbd03f02f508af48ce8dce02d5c83a277 /desktop/qa
parent292d9519bd368db69920cf0f8b94e0e51c3d14a1 (diff)
use JsonWriter for the rest of ITiledRenderable
and fix bug in buffer reallacotion where mPos pointing at the beginning of the new buffer instead of at the correct index inside it. Change-Id: Ie1ffaa176f6165e2cec85c93adc945312eff38e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96650 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/qa')
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 8a651ab764da..8e02686f7f57 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -818,11 +818,13 @@ void DesktopLOKTest::testHiddenRowHeaders()
boost::property_tree::ptree aTree;
char* pJSON = pDocument->m_pDocumentClass->getCommandValues(pDocument, aPayload.str().c_str());
+ SAL_WARN("desktop", "xxxxxxx " << pJSON);
std::stringstream aStream(pJSON);
- free(pJSON);
+ SAL_WARN("desktop", aStream.str());
CPPUNIT_ASSERT(!aStream.str().empty());
boost::property_tree::read_json(aStream, aTree);
+ free(pJSON);
sal_Int32 nPrevious = 0;
sal_Int32 nIndex = 0;
for (const boost::property_tree::ptree::value_type& rValue : aTree.get_child("rows"))