diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:31:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:31:35 +0200 |
commit | d373d996e163df68935b5ac3e09a931c32047bc0 (patch) | |
tree | 581b4bf452e945011ee60d68b3a548f4c55195ca /sdext | |
parent | 18d87f5be8e8a20ff21fbf74e11af277dfcfe49b (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: sdext
Change-Id: Ib9d4c9ee077ffe7e3625818d2468658ee00b9c77
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/impoptimizer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx index 54580c2f52ac..41d5250370c8 100644 --- a/sdext/source/minimizer/impoptimizer.cxx +++ b/sdext/source/minimizer/impoptimizer.cxx @@ -385,7 +385,7 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont { i++; sal_Int32 nProgress = static_cast< sal_Int32 >( 40.0 * ( i / static_cast< double >( rGraphicList.size() ) ) ) + 50; - rOptimizer.SetStatusValue( TK_Progress, Any( static_cast< sal_Int32 >( nProgress ) ) ); + rOptimizer.SetStatusValue( TK_Progress, Any( nProgress ) ); rOptimizer.DispatchStatus(); if ( aGraphicIter->maUser.size() ) |