summaryrefslogtreecommitdiff
path: root/starmath/source/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/utility.cxx')
-rw-r--r--starmath/source/utility.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 62e0b0294afd..7012004bea94 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -208,7 +208,7 @@ void SmFace::SetSize(const Size& rSize)
}
-long SmFace::GetBorderWidth() const
+tools::Long SmFace::GetBorderWidth() const
{
if (nBorderWidth < 0)
return GetDefaultBorderWidth();
@@ -230,8 +230,8 @@ SmFace & operator *= (SmFace &rFace, const Fraction &rFrac)
// It's main use is to make scaling fonts look easier.
{ const Size &rFaceSize = rFace.GetFontSize();
- rFace.SetSize(Size(long(rFaceSize.Width() * rFrac),
- long(rFaceSize.Height() * rFrac)));
+ rFace.SetSize(Size(tools::Long(rFaceSize.Width() * rFrac),
+ tools::Long(rFaceSize.Height() * rFrac)));
return rFace;
}