diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:25:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:21 +0200 |
commit | 537921fd65a4e736269eb52986469c05268aae07 (patch) | |
tree | a72dc796dee4a3e2e89c192fb3495e8ef9a2af23 /extensions/source/plugin | |
parent | bfa4494560884635a03c4db89588a118f9a2be0b (diff) |
loplugin:simplifybool
Change-Id: Ia53741b8ebf9d8c673c455bd785e0d6a380271df
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r-- | extensions/source/plugin/inc/plugin/impl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/inc/plugin/impl.hxx b/extensions/source/plugin/inc/plugin/impl.hxx index b79159c8b9bf..80c45a7a6f8c 100644 --- a/extensions/source/plugin/inc/plugin/impl.hxx +++ b/extensions/source/plugin/inc/plugin/impl.hxx @@ -202,7 +202,7 @@ public: void enterPluginCallback() { m_nCalledFromPlugin++; } void leavePluginCallback() { m_nCalledFromPlugin--; } - bool isDisposable() { return m_nCalledFromPlugin < 1 ? true : false; } + bool isDisposable() { return m_nCalledFromPlugin < 1; } DECL_LINK( secondLevelDispose, XPlugin_Impl* ); void addPluginEventListener( PluginEventListener* pListener ) |