diff options
Diffstat (limited to 'sw/source/filter/ww1/w1filter.cxx')
-rw-r--r-- | sw/source/filter/ww1/w1filter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww1/w1filter.cxx b/sw/source/filter/ww1/w1filter.cxx index 937b4b260bc6..1e2e28998d50 100644 --- a/sw/source/filter/ww1/w1filter.cxx +++ b/sw/source/filter/ww1/w1filter.cxx @@ -1878,8 +1878,8 @@ void Ww1Picture::Out(Ww1Shell& rOut, Ww1Manager& /*rMan*/) aWMF.SetPrefMapMode(MapMode(MAP_100TH_MM)); Size aOldSiz(aWMF.GetPrefSize()); Size aNewSiz(pPic->mfp.xExtGet(), pPic->mfp.yExtGet()); - boost::rational<long> aFracX(aNewSiz.Width(), aOldSiz.Width()); - boost::rational<long> aFracY(aNewSiz.Height(), aOldSiz.Height()); + boost::rational<sal_Int64> aFracX(aNewSiz.Width(), aOldSiz.Width()); + boost::rational<sal_Int64> aFracY(aNewSiz.Height(), aOldSiz.Height()); aWMF.Scale(aFracX, aFracY); aWMF.SetPrefSize(aNewSiz); pGraphic = new Graphic(aWMF); |