diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-12 20:02:29 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-01-24 16:54:34 +0100 |
commit | d09ff964173ae4349d668092af21302ee5bf5b1b (patch) | |
tree | 7674a85e20300f652fdb5d9901ac132099d3fae3 /sw | |
parent | 44de463e14f9e8958b13119576ae9825cec8d7ec (diff) |
sw: fdo#88005: fix check in SwWW8ImplReader::StopApo()
404f16e97f1c2fcd8f9a1297bdfa46cba970467e is embarrassing crap; the real
problem there is that the paragraph that should be removed is _inside_
the frame, but in sf_68e4f217c107f6eada21adfe6e3c9c57-82055-minimized.doc
the MoveInsideFly() is not called so a non-empty body paragraph was removed.
Change-Id: I5d4443804c52a5fa30ddb51609ccbbee07abc5aa
(cherry picked from commit e71668c4e642cc497206bfbe7191f64bddf31db0)
Reviewed-on: https://gerrit.libreoffice.org/13885
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 45b05f117a1c..139602fb4352 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -2476,8 +2476,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# |