summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index b46ec7d8af77..758c292b417f 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2477,8 +2477,7 @@ void SwWW8ImplReader::StopApo()
Color aBg(0xFE, 0xFF, 0xFF, 0xFF); //Transparent by default
SwTxtNode* pNd = aPref.GetNode().GetTxtNode();
- if (pNd && &pPaM->GetPoint()->nNode.GetNode()
- != &pSFlyPara->pMainTextPos->nNode.GetNode())
+ if (pNd && pSFlyPara->pFlyFmt)
{
/*
#i582#