diff options
Diffstat (limited to 'sw/source/core/layout/fly.cxx')
-rw-r--r-- | sw/source/core/layout/fly.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 376a29e1d459..d0b8975ebda4 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -875,8 +875,8 @@ void SwFlyFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew, if ( rOld.GetWidth() && rOld.GetHeight() ) { - boost::rational<sal_Int64> aScaleX( rOld.GetWidth(), rNew.GetWidth() ); - boost::rational<sal_Int64> aScaleY( rOld.GetHeight(), rOld.GetHeight() ); + boost::rational<long> aScaleX( rOld.GetWidth(), rNew.GetWidth() ); + boost::rational<long> aScaleY( rOld.GetHeight(), rOld.GetHeight() ); aURL.GetMap()->Scale( aScaleX, aScaleY ); SwFrmFmt *pFmt = GetFmt(); pFmt->LockModify(); @@ -1002,8 +1002,8 @@ void SwFlyFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew, rSz.GetWidth() != Frm().Width() ) { SwFmtURL aURL( GetFmt()->GetURL() ); - boost::rational<sal_Int64> aScaleX( Frm().Width(), rSz.GetWidth() ); - boost::rational<sal_Int64> aScaleY( Frm().Height(), rSz.GetHeight() ); + boost::rational<long> aScaleX( Frm().Width(), rSz.GetWidth() ); + boost::rational<long> aScaleY( Frm().Height(), rSz.GetHeight() ); aURL.GetMap()->Scale( aScaleX, aScaleY ); SwFrmFmt *pFmt = GetFmt(); pFmt->LockModify(); |