[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source
Caolán McNamara
caolanm at redhat.com
Wed Aug 26 08:20:40 PDT 2015
sw/source/filter/ww8/ww8par.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 49629e96a432b6137ff82e446b18e12bcb4db417
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Aug 25 16:36:08 2015 +0100
behave like the native format filter for non-insert mode
just shove the unneeded pam into dead space
Change-Id: Id0a3d550cd9d54394888e6b2d62e21eaded24a7c
(cherry picked from commit d9edac5d58aa3c4f15cf4022a1faf776d3003e78)
Reviewed-on: https://gerrit.libreoffice.org/17998
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 464db40..84b65d5 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -6115,6 +6115,10 @@ sal_uLong WW8Reader::Read(SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, co
{
// Remove Frame and offsets from Frame Template
Reader::ResetFrameFormats( rDoc );
+
+ rPaM.GetBound().nContent.Assign(0, 0);
+ rPaM.GetBound(false).nContent.Assign(0, 0);
+
}
try
{
More information about the Libreoffice-commits
mailing list