summaryrefslogtreecommitdiffstats
path: root/sw/source/core/draw/dcontact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/draw/dcontact.cxx')
-rw-r--r--sw/source/core/draw/dcontact.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 5c2147ed91..aac8f2393c 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -493,7 +493,7 @@ sal_uInt32 SwFlyDrawContact::GetOrdNumForNewRef(const SwFlyFrame* pFly,
{
for (SwAnchoredObject const*const pAnchoredObj : *pObjs)
{
- if (&pAnchoredObj->GetFrameFormat() == pDrawFormat)
+ if (pAnchoredObj->GetFrameFormat() == pDrawFormat)
{
return pAnchoredObj->GetDrawObj()->GetOrdNum() + 1;
}
@@ -1235,7 +1235,7 @@ void SwDrawContact::Changed_( const SdrObject& rObj,
// #i31698# - determine layout direction
// via draw frame format.
SwFrameFormat::tLayoutDir eLayoutDir =
- pAnchoredDrawObj->GetFrameFormat().GetLayoutDir();
+ pAnchoredDrawObj->GetFrameFormat()->GetLayoutDir();
// use geometry of drawing object
tools::Rectangle aObjRect( rObj.GetSnapRect() );
// If drawing object is a member of a group, the adjustment
@@ -1967,7 +1967,7 @@ void SwDrawContact::ConnectToLayout( const SwFormatAnchor* pAnch )
{
for (const SwAnchoredObject* pAnchoredObj : *pObjs)
{
- if (&pAnchoredObj->GetFrameFormat() == pFlyFormat)
+ if (pAnchoredObj->GetFrameFormat() == pFlyFormat)
{
SdrPage* pDrawPage = pAnchoredObj->GetDrawObj()->getSdrPageFromSdrObject();
if (pDrawPage)
@@ -2359,7 +2359,7 @@ void SwDrawVirtObj::AddToDrawingPage(SwFrame const& rAnchorFrame)
{
for (SwAnchoredObject const*const pAnchoredObj : *pObjs)
{
- if (&pAnchoredObj->GetFrameFormat() == pFlyFormat)
+ if (pAnchoredObj->GetFrameFormat() == pFlyFormat)
{
assert(dynamic_cast<SwFlyFrame const*>(pAnchoredObj));