From 933ee1db1b8e136c931df0f7e32bd20f0d87d5be Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 31 Oct 2017 16:08:58 +0100 Subject: sw: fix loplugin:redundantcast warning Change-Id: Ibf4c817b97083b838fb81c2eb8deff3b9167589f --- sw/source/core/layout/wsfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source') 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; } -- cgit