diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-21 15:45:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-22 07:44:16 +0100 |
commit | 640e03da110d76b2c7d5ed5b8b8ba3b4367865ba (patch) | |
tree | 79856af3daab1e809c388ac27aa2f3284842235c /sw/source | |
parent | a0ebba3d8855fee0bcec04a10137ae3a4f9f0e77 (diff) |
loplugin:simplifybool re-activate the !! warning
Change-Id: Iac7d82a1c228734177be536e9a6c41803c03637b
Reviewed-on: https://gerrit.libreoffice.org/45035
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 7a90231b0eef..4e024c731b33 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -448,7 +448,7 @@ void SwPostItMgr::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { case SfxHintId::ModeChanged: { - if ( mbReadOnly != !!(mpView->GetDocShell()->IsReadOnly()) ) + if ( mbReadOnly != mpView->GetDocShell()->IsReadOnly() ) { mbReadOnly = !mbReadOnly; SetReadOnlyState(); |