From 4bf8384d970cf382d928925e6c3052f148c65904 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jul 2015 13:54:57 +0200 Subject: loplugin:simplifybool Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1 --- shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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))); } }} -- cgit v1.2.3