summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-10-31 16:08:58 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-10-31 16:09:58 +0100
commit933ee1db1b8e136c931df0f7e32bd20f0d87d5be (patch)
tree4b4efb0e95cc8d1857f2b9366edac7fa697286a6
parent37eab9181cdd099935148bc911163f861a2c8d3f (diff)
sw: fix loplugin:redundantcast warning
Change-Id: Ibf4c817b97083b838fb81c2eb8deff3b9167589f
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 8e8a1653bb0b..16cb40082a14 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -80,7 +80,7 @@ void SwFrameAreaDefinition::setFrameAreaSizeValid(bool bNew)
void SwFrameAreaDefinition::setFramePrintAreaValid(bool bNew)
{
- if(static_cast< bool >(mbFramePrintAreaValid) != bNew)
+ if(mbFramePrintAreaValid != bNew)
{
mbFramePrintAreaValid = bNew;
}