[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Oct 31 15:10:27 UTC 2017
sw/source/core/layout/wsfrm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 933ee1db1b8e136c931df0f7e32bd20f0d87d5be
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Oct 31 16:08:58 2017 +0100
sw: fix loplugin:redundantcast warning
Change-Id: Ibf4c817b97083b838fb81c2eb8deff3b9167589f
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;
}
More information about the Libreoffice-commits
mailing list