summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-08 10:04:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-08 12:04:15 +0100
commit51d004b1d761193aa092a7532748935970e82ec8 (patch)
treed38e2a0b4c65dc64bba761b93f6e279c1276e25b
parent5d17e1ec8540d966092d459f53fd2074b6a3a3f4 (diff)
Re-use aRect
Change-Id: Ic63daa16e6931dd7842faae0d3c83ae0fdeb132f
-rw-r--r--svx/source/unodraw/unoshap4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 111883e94c48..0054afcc3189 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -432,7 +432,7 @@ bool SvxOle2Shape::createObject( const SvGlobalName &aClassName )
else
{
awt::Size aSz;
- Size aSize = pOle2Obj->GetLogicRect().GetSize();
+ Size aSize = aRect.GetSize();
aSz.Width = aSize.Width();
aSz.Height = aSize.Height();
xObj->setVisualAreaSize( pOle2Obj->GetAspect(), aSz );