summaryrefslogtreecommitdiff
path: root/include/basegfx/utils
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 /include/basegfx/utils
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 'include/basegfx/utils')
-rw-r--r--include/basegfx/utils/rectcliptools.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/basegfx/utils/rectcliptools.hxx b/include/basegfx/utils/rectcliptools.hxx
index 5ad90cb6ed81..9df75ef91bca 100644
--- a/include/basegfx/utils/rectcliptools.hxx
+++ b/include/basegfx/utils/rectcliptools.hxx
@@ -30,10 +30,10 @@ namespace basegfx
{
namespace RectClipFlags
{
- static const sal_uInt32 LEFT = (sal_Int32)0x01;
- static const sal_uInt32 RIGHT = (sal_Int32)0x02;
- static const sal_uInt32 TOP = (sal_Int32)0x04;
- static const sal_uInt32 BOTTOM = (sal_Int32)0x08;
+ static const sal_uInt32 LEFT = sal_Int32(0x01);
+ static const sal_uInt32 RIGHT = sal_Int32(0x02);
+ static const sal_uInt32 TOP = sal_Int32(0x04);
+ static const sal_uInt32 BOTTOM = sal_Int32(0x08);
}
/** Calc clip mask for Cohen-Sutherland rectangle clip