sw/source/filter/docx/swdocxreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 168394e5ec5e0b6763f07cac9d915ac462b9c245 Author: Szymon KÅos <[email protected]> Date: Wed May 3 13:51:47 2017 +0200 AutoText: don't add empty paragraph at the end Change-Id: Idf255ea87982a2c95c129ac34864779700861e69 diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx index 8a20cf0d2a8a..7558b4dfba10 100644 --- a/sw/source/filter/docx/swdocxreader.cxx +++ b/sw/source/filter/docx/swdocxreader.cxx @@ -139,7 +139,7 @@ bool SwDOCXReader::MakeEntries( SwDoc *pD, SwTextBlocks &rBlocks ) aPam.SetMark(); { SwNodeIndex& rIdx = aPam.GetPoint()->nNode; - rIdx = aStart.GetNode().EndOfSectionIndex() - 1; + rIdx = aStart.GetNode().EndOfSectionIndex() - 2; if( ( nullptr == ( pCNd = rIdx.GetNode().GetContentNode() ) ) ) { ++rIdx;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
