diff options
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh1.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index bf2ca8b88e3d..1e2ec7522411 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -337,13 +337,13 @@ void SwWrtShell::Insert( const OUString &rPath, const OUString &rFilter, if( aGrfSize.Width() > aBound.Width() ) { aGrfSize.setWidth( aBound.Width() ); - aGrfSize.setHeight( BigInt(aBound.Width()) * aTempHeight / aTempWidth ); + aGrfSize.setHeight( sal_Int32(BigInt(aBound.Width()) * aTempHeight / aTempWidth) ); } // Fit height if necessary, scale down the width proportional thereafter. if( aGrfSize.Height() > aBound.Height() ) { aGrfSize.setHeight( aBound.Height() ); - aGrfSize.setWidth( BigInt(aBound.Height()) * aTempWidth / aTempHeight ); + aGrfSize.setWidth( sal_Int32(BigInt(aBound.Height()) * aTempWidth / aTempHeight) ); } pFrameMgr->SetSize( aGrfSize ); pFrameMgr->UpdateFlyFrame(); |