Kaydet (Commit) fff77c4c authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS sixtyfour05 (1.66.8); FILE MERGED

2006/04/05 09:46:11 kendy 1.66.8.1: #i63862#
Call Fraction() with long, instead of sal_Int32
üst 3ca989ab
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: svdoole2.cxx,v $ * $RCSfile: svdoole2.cxx,v $
* *
* $Revision: 1.66 $ * $Revision: 1.67 $
* *
* last change: $Author: obo $ $Date: 2006-03-24 13:01:09 $ * last change: $Author: hr $ $Date: 2006-04-19 13:52:09 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -1385,8 +1385,8 @@ void SdrOle2Obj::ImpSetVisAreaSize() ...@@ -1385,8 +1385,8 @@ void SdrOle2Obj::ImpSetVisAreaSize()
{} {}
Rectangle aAcceptedVisArea; Rectangle aAcceptedVisArea;
aAcceptedVisArea.SetSize( Size( (long)( Fraction( aSz.Width ) * pClient->GetScaleWidth() ), aAcceptedVisArea.SetSize( Size( (long)( Fraction( long( aSz.Width ) ) * pClient->GetScaleWidth() ),
(long)( Fraction( aSz.Height ) * pClient->GetScaleHeight() ) ) ); (long)( Fraction( long( aSz.Height ) ) * pClient->GetScaleHeight() ) ) );
//Rectangle aAcceptedVisArea(rIPRef->GetVisArea()); //Rectangle aAcceptedVisArea(rIPRef->GetVisArea());
if (aVisSize != aAcceptedVisArea.GetSize()) if (aVisSize != aAcceptedVisArea.GetSize())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment