diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/PanelLayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/PanelLayout.cxx b/sfx2/source/sidebar/PanelLayout.cxx index 5508d1a5e70d..c419403bdf79 100644 --- a/sfx2/source/sidebar/PanelLayout.cxx +++ b/sfx2/source/sidebar/PanelLayout.cxx @@ -58,7 +58,7 @@ Size PanelLayout::GetOptimalSize() const SidebarController* pController = SidebarController::GetSidebarControllerForFrame(mxFrame); if (pController) - aSize.setWidth(std::min<long>( + aSize.setWidth(std::min<tools::Long>( aSize.Width(), (pController->getMaximumWidth() - TabBar::GetDefaultWidth()) * GetDPIScaleFactor())); } |