diff options
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 3ab740b5dfab..e23b5a97f84a 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -156,7 +156,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic, if( aSizePix.Width() && aSizePix.Height() && ( aSizePix.Width() > 512 || aSizePix.Height() > 512 ) ) { - double fWH = (double) aSizePix.Width() / aSizePix.Height(); + double fWH = static_cast<double>(aSizePix.Width()) / aSizePix.Height(); if( fWH <= 1.0 ) aSizePix.Width() = FRound( ( aSizePix.Height() = 512 ) * fWH ); |