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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 446bb6a47942..47cecc3112ea 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -330,9 +330,8 @@ ImplTabSizer::ImplTabSizer( TabBar* pParent, WinBits nWinStyle ) : Window( pParent, nWinStyle & WB_3DLOOK ) , mnStartWidth(0) { - sal_Int32 nScaleFactor = GetDPIScaleFactor(); SetPointer(Pointer(PointerStyle::HSizeBar)); - SetSizePixel(Size(7 * nScaleFactor, 0)); + SetSizePixel(Size(7 * GetDPIScaleFactor(), 0)); } void ImplTabSizer::ImplTrack( const Point& rScreenPos ) |