sw/source/filter/ww8/ww8par.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 49629e96a432b6137ff82e446b18e12bcb4db417
Author: Caolán McNamara <caol...@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 <dtar...@redhat.com>
    Tested-by: David Tardon <dtar...@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
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to