diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:15:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:15:48 +0100 |
commit | 16fd3dd3e0976c16b31eeb88ca61f83301626cdf (patch) | |
tree | 683db6472aedcce8ce8eb37ad5d03baee3bb2353 /slideshow/source/engine/slideshowimpl.cxx | |
parent | 5632c830e944c18c3b3c88e1bd19906d537c820b (diff) |
More loplugin:cstylecast: slideshow
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: Ic7cd4389d4965fb53f44e34082c92a7a2ce247fc
Diffstat (limited to 'slideshow/source/engine/slideshowimpl.cxx')
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 0bc180ca589b..b90ccc19c485 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -1491,7 +1491,7 @@ void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMult //LineWidth double fLineWidth; fLineWidth = pPolyPoly->getStrokeWidth(); - aXPropSet->setPropertyValue("LineWidth", uno::Any((sal_Int32)fLineWidth) ); + aXPropSet->setPropertyValue("LineWidth", uno::Any(static_cast<sal_Int32>(fLineWidth)) ); // make polygons special xLayerManager->attachShapeToLayer(rPolyShape, xDrawnInSlideshow); |