summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:15 +0100
commit72e3c234104a17566c0354beacc6d182234f1e5f (patch)
tree676e0c1a21ac6b107938d486cbe0b4201b5d4f1c /vcl/qa
parent0ffaf416ba6ec1d5955008467a5bf46a40ac6640 (diff)
More loplugin:cstylecast: vcl
Change-Id: I74d1555b461fd8ea316380423fcde2d167714170
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/graphicfilter/filters-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/graphicfilter/filters-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
index f4381df1d115..bdfa85a403b0 100644
--- a/vcl/qa/cppunit/graphicfilter/filters-test.cxx
+++ b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
@@ -87,7 +87,7 @@ bool VclFiltersTest::load(const OUString &,
void VclFiltersTest::testScaling()
{
- for (BmpScaleFlag i = BmpScaleFlag::Default; i <= BmpScaleFlag::BiLinear; i = (BmpScaleFlag)((int)i + 1))
+ for (BmpScaleFlag i = BmpScaleFlag::Default; i <= BmpScaleFlag::BiLinear; i = static_cast<BmpScaleFlag>(static_cast<int>(i) + 1))
{
Bitmap aBitmap( Size( 413, 409 ), 24 );
BitmapEx aBitmapEx( aBitmap );