Kaydet (Commit) e22f9ae0 authored tarafından Miklos Vajna's avatar Miklos Vajna Kaydeden (comit) David Tardon

tdf#96250 desktop: empty str is the same as 0 str in jsonToPropertyValues()

Change-Id: I77306dc998afc53bb1d5710a8d1ae68717f945d1
(cherry picked from commit 5cc574fe)
üst f3790300
......@@ -264,7 +264,7 @@ static OUString getAbsoluteURL(const char* pURL)
static void jsonToPropertyValues(const char* pJSON, uno::Sequence<beans::PropertyValue>& rPropertyValues)
{
std::vector<beans::PropertyValue> aArguments;
if (pJSON)
if (pJSON && pJSON[0] != '\0')
{
boost::property_tree::ptree aTree;
std::stringstream aStream(pJSON);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment