summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppIconControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/app/AppIconControl.cxx')
-rw-r--r--dbaccess/source/ui/app/AppIconControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx
index 2a89362ec91e..21f830cc3c62 100644
--- a/dbaccess/source/ui/app/AppIconControl.cxx
+++ b/dbaccess/source/ui/app/AppIconControl.cxx
@@ -91,7 +91,7 @@ void OApplicationIconControl::Fill()
m_nMaxWidth = std::max(m_nMaxWidth, rSize.Width());
m_nMaxHeight = std::max(m_nMaxHeight, rSize.Height());
xItem->maTitle = DBA_RES(aCategorie.pLabelResId);
- m_nMaxWidth = std::max<long>(m_nMaxWidth, GetTextWidth(xItem->maTitle));
+ m_nMaxWidth = std::max<tools::Long>(m_nMaxWidth, GetTextWidth(xItem->maTitle));
AppendItem(std::move(xItem));
}