[PATCH 1/2] n#695479: Remove properties when removing empty fly frame
Cédric Bosdonnat
cedric.bosdonnat.ooo at free.fr
Mon Jun 27 07:46:16 PDT 2011
---
sw/source/filter/rtf/rtffly.cxx | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx
index 3e02399..eb35f2a 100644
--- a/sw/source/filter/rtf/rtffly.cxx
+++ b/sw/source/filter/rtf/rtffly.cxx
@@ -1098,6 +1098,8 @@ void SwRTFParser::ReadFly( int nToken, SfxItemSet* pSet )
// dann zerstoere den FlySave wieder.
aFlyArr.DeleteAndDestroy( --nFlyArrCnt );
+ // Remove the properties that have been parsed before in the paragraph
+ GetAttrStack().pop_back();
}
else
{
--
1.7.3.4
--=-GTvCLtjCvFvUoQYDhUcW
Content-Disposition: attachment;
filename="0002-n-695479-basic-handling-of-lines-in-RTF-import.patch"
Content-Type: text/x-patch;
name="0002-n-695479-basic-handling-of-lines-in-RTF-import.patch";
charset="UTF-8"
Content-Transfer-Encoding: 7bit
More information about the LibreOffice
mailing list