summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index bbe74fc426eb..a9b4d304d10c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -263,7 +263,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);