diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 13:54:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 14:00:20 +0200 |
commit | 4bf8384d970cf382d928925e6c3052f148c65904 (patch) | |
tree | 103ceb3f37bb580bd3672458a0b44bec7baf6561 | |
parent | e7d7a1edb4a867d434a9b33c991a5ae9cded7a8e (diff) |
loplugin:simplifybool
Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
-rw-r--r-- | shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx index 8f0a865a5b00..9ffb88079686 100644 --- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx +++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx @@ -177,7 +177,7 @@ void SyncDbusSessionHelper::InstallPrinterDrivers( NULL, /* cancellable */ &error.getRef()),GVariantDeleter()); if(result.get()) - o_isInstalled = g_variant_get_boolean(g_variant_get_child_value(result.get(),0)) ? sal_True : sal_False; + o_isInstalled = bool(g_variant_get_boolean(g_variant_get_child_value(result.get(),0))); } }} |