summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-25 16:36:08 +0100
committerDavid Tardon <dtardon@redhat.com>2015-08-26 15:43:31 +0000
commitaf3b581d2678622f992433cc37c16db0f4549489 (patch)
tree63e01a3ba19a87152c0841c7a27d7301470151a6 /sw
parentf77ae2fb07ad1fc832f71c3056a351322e743a02 (diff)
behave like the native format filter for non-insert mode
just shove the unneeded pam into dead space (cherry picked from commit d9edac5d58aa3c4f15cf4022a1faf776d3003e78) Change-Id: Id0a3d550cd9d54394888e6b2d62e21eaded24a7c Reviewed-on: https://gerrit.libreoffice.org/18019 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index de84a15402d9..2b0170b0921b 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -6105,6 +6105,9 @@ sal_uLong WW8Reader::Read(SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, co
{
// Remove Frame and offsets from Frame Template
Reader::ResetFrmFmts( rDoc );
+
+ rPaM.GetBound().nContent.Assign(0, 0);
+ rPaM.GetBound(false).nContent.Assign(0, 0);
}
try
{