summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxdr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdotxdr.cxx')
-rw-r--r--svx/source/svdraw/svdotxdr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx
index 334aaaef1568..05bdb03c860a 100644
--- a/svx/source/svdraw/svdotxdr.cxx
+++ b/svx/source/svdraw/svdotxdr.cxx
@@ -104,8 +104,8 @@ Rectangle SdrTextObj::ImpDragCalcRect(const SdrDragStat& rDrag) const
nYMul=std::abs(nYMul);
nXDiv=std::abs(nXDiv);
nYDiv=std::abs(nYDiv);
- boost::rational<long> aXFact(nXMul,nXDiv); // fractions for canceling
- boost::rational<long> aYFact(nYMul,nYDiv); // and for comparing
+ boost::rational<sal_Int64> aXFact(nXMul,nXDiv); // fractions for canceling
+ boost::rational<sal_Int64> aYFact(nYMul,nYDiv); // and for comparing
nXMul=aXFact.numerator();
nYMul=aYFact.numerator();
nXDiv=aXFact.denominator();