summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 50bfccd1af11..184b01283c03 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2544,7 +2544,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
}
// norm distance from which the following two are calcutated
- const int nNormDist = 3 * GetFont().GetSize().Height();
+ const long nNormDist = 3 * GetFont().GetSize().Height();
// define horizontal and vertical minimal distances that separate
// the elements