summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-26 14:17:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-28 07:21:59 +0100
commit6436302f40252bc6619e304e2051115fee902e20 (patch)
treea32659b4fecc9fbf8fad3e379ddd8645a2a52e0b /sfx2
parent35f16614ee7ddf518d4c01de6b1d800f5ff1ba7e (diff)
convert some more long -> tools::Long
grepping for stuff in template params this time Change-Id: Ia37bfd85480b3a72c3c465489581d56ad8dde851 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104855 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/PanelLayout.cxx2
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()));
}