summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index cf9616ad9980..87bf6a6c41be 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1088,8 +1088,8 @@ void SmShowSymbolSet::calccols(const vcl::RenderContext& rRenderContext)
nColumns = aOutputSize.Width() / nLen;
nRows = aOutputSize.Height() / nLen;
- nColumns = std::max<long>(1, nColumns);
- nRows = std::max<long>(1, nRows);
+ nColumns = std::max<tools::Long>(1, nColumns);
+ nRows = std::max<tools::Long>(1, nRows);
nXOffset = (aOutputSize.Width() - (nColumns * nLen)) / 2;
nYOffset = (aOutputSize.Height() - (nRows * nLen)) / 2;