summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:33:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:27 +0200
commitef5f02d94a88d4e6f18e4010dbbef47506e28a34 (patch)
tree7aaa87ac1d1e27e611c70a91a404451354fb32a3 /sfx2/source/inc
parentf88a1b8d55923c8edee5bc175fd805db779ef166 (diff)
loplugin:simplifybool
Change-Id: I0a2a7d1af979b24f6d3db9783984e85e1992643d
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/statcach.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/inc/statcach.hxx b/sfx2/source/inc/statcach.hxx
index a08023149483..88867861a3ba 100644
--- a/sfx2/source/inc/statcach.hxx
+++ b/sfx2/source/inc/statcach.hxx
@@ -91,7 +91,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > GetDispatch() const;
void Dispatch( const SfxItemSet* pSet, bool bForceSynchron = false );
bool IsControllerDirty() const
- { return bCtrlDirty ? true : false; }
+ { return bCtrlDirty; }
SfxPoolItem* GetItem() const { return pLastItem; }
void ClearCache();