diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/view/sdview3.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 2134e355aaaa..a0e09ed8b55d 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -849,8 +849,8 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider* pBuProv, sal_Int1 if (auto aSize = o3tl::tryAccess<css::awt::Size>(pPropValue[i].Value)) { // don't cast awt::Size to Size as on 64-bits they are not the same. - aBuGraSize.A() = aSize->Width; - aBuGraSize.B() = aSize->Height; + aBuGraSize.Width() = aSize->Width; + aBuGraSize.Height() = aSize->Height; } } else if ( aPropName == "StartWith" ) diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index 6490032b32c9..c095f87f28f8 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -543,8 +543,8 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper, { const SdrGluePoint& rGluePoint = (*pGlueList)[nInd]; Point aPosition = rGluePoint.GetAbsolutePos(*pConnObj); - aPosition.X() += aVector.A(); - aPosition.Y() += aVector.B(); + aPosition.X() += aVector.Width(); + aPosition.Y() += aVector.Height(); pCloneEdge->SetTailPoint(false, aPosition); } } @@ -575,8 +575,8 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper, { const SdrGluePoint& rGluePoint = (*pGlueList)[nInd]; Point aPosition = rGluePoint.GetAbsolutePos(*pConnObj); - aPosition.X() += aVector.A(); - aPosition.Y() += aVector.B(); + aPosition.X() += aVector.Width(); + aPosition.Y() += aVector.Height(); pCloneEdge->SetTailPoint(true, aPosition); } } |