From 01e37e3e5626551b6e8d261e357afcea1ba7c758 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Jun 2020 16:45:03 +0200 Subject: use tools::JsonWriter for dumping property tree Change-Id: I8f55af19ba10b71bd621e69b27000ab7cb565309 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96677 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/qa/cppunit/test_json_writer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qa/cppunit') diff --git a/tools/qa/cppunit/test_json_writer.cxx b/tools/qa/cppunit/test_json_writer.cxx index 6d473e605497..d5c037801067 100644 --- a/tools/qa/cppunit/test_json_writer.cxx +++ b/tools/qa/cppunit/test_json_writer.cxx @@ -48,7 +48,7 @@ void JsonWriterTest::test1() aJson.put("oustring", OUString("val1")); aJson.put("ostring", OString("val2")); aJson.put("charptr", "val3"); - aJson.put("int", 12); + aJson.put("int", static_cast(12)); } std::unique_ptr result(aJson.extractData()); -- cgit