summaryrefslogtreecommitdiff
path: root/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/sessioninstall/SyncDbusSessionHelper.cxx')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index acd6ecacd8eb..6e35a069f588 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -177,7 +177,7 @@ void SAL_CALL SyncDbusSessionHelper::IsInstalled( const OUString& sPackagename,
-1, /* timeout */
nullptr, /* cancellable */
&error.getRef()),GVariantDeleter());
- if(result.get())
+ if(result)
o_isInstalled = bool(g_variant_get_boolean(g_variant_get_child_value(result.get(),0)));
}