summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygoncutter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:32 +0100
commita82b177f981f14582d88e819ce8c167f9db0c213 (patch)
treea655f381b94fce2f00bd43ddeb18d57750e099b5 /basegfx/source/polygon/b2dpolypolygoncutter.cxx
parent6070aaa47d6cede11f8cc0b54ed726fc45cb4a74 (diff)
More loplugin:cstylecast: basegfx
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Ifa4a6643b41525c962cd6af5776e1bf10bddb71c
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index b24f7a37e0a4..4fd7bf369d85 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -861,8 +861,8 @@ namespace basegfx
else
{
// poly and hole. They neutralize, so get rid of both. Move securely below zero.
- rHelperA.mnDepth = -((sal_Int32)nCount);
- rHelperB.mnDepth = -((sal_Int32)nCount);
+ rHelperA.mnDepth = - static_cast<sal_Int32>(nCount);
+ rHelperB.mnDepth = - static_cast<sal_Int32>(nCount);
}
}
else