diff options
Diffstat (limited to 'svtools/source/control/tabbar.cxx')
-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 ) |