diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2016-10-28 23:55:53 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-10-29 21:48:30 +0000 |
commit | b7c2764145be2c3fc50397f241dbdb0c53f9befd (patch) | |
tree | f861b28305b99047f430d0c067447eb615c6641b /svx/source/table/tablehandles.cxx | |
parent | a0cf18f58fd060dd3ef4f60ad7b17c8f8dc662dd (diff) |
convert usages of DPIScalingFactor from int to float
Change-Id: I049b3d2cde4dcb8c8c0690d75a015a43cb71b0c0
Reviewed-on: https://gerrit.libreoffice.org/30381
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/table/tablehandles.cxx')
-rw-r--r-- | svx/source/table/tablehandles.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index cae87f76ad05..53647e987910 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -290,8 +290,8 @@ void TableBorderHdl::CreateB2dIAObject() const bool bAnimate = getAnimate(); OutputDevice& rOutDev = rPageWindow.GetPaintWindow().GetOutputDevice(); - sal_Int32 nScaleFactor = rOutDev.GetDPIScaleFactor(); - double fWidth = nScaleFactor * 6.0; + float fScaleFactor = rOutDev.GetDPIScaleFactor(); + double fWidth = fScaleFactor * 6.0; sdr::overlay::OverlayObject* pOverlayObject = new sdr::overlay::OverlayRectangle(aRange.getMinimum(), aRange.getMaximum(), |