Kaydet (Commit) 51d004b1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Re-use aRect

Change-Id: Ic63daa16e6931dd7842faae0d3c83ae0fdeb132f
üst 5d17e1ec
...@@ -432,7 +432,7 @@ bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) ...@@ -432,7 +432,7 @@ bool SvxOle2Shape::createObject( const SvGlobalName &aClassName )
else else
{ {
awt::Size aSz; awt::Size aSz;
Size aSize = pOle2Obj->GetLogicRect().GetSize(); Size aSize = aRect.GetSize();
aSz.Width = aSize.Width(); aSz.Width = aSize.Width();
aSz.Height = aSize.Height(); aSz.Height = aSize.Height();
xObj->setVisualAreaSize( pOle2Obj->GetAspect(), aSz ); xObj->setVisualAreaSize( pOle2Obj->GetAspect(), aSz );
......
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