[Libreoffice-commits] core.git: sw/source
Szymon Kłos
szymon.klos at collabora.com
Wed May 3 12:00:17 UTC 2017
sw/source/filter/docx/swdocxreader.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 168394e5ec5e0b6763f07cac9d915ac462b9c245
Author: Szymon Kłos <szymon.klos at collabora.com>
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;
More information about the Libreoffice-commits
mailing list