[Libreoffice-commits] core.git: sw/source

Justin Luth justin_luth at sil.org
Tue Nov 11 08:40:57 PST 2014


 sw/source/core/access/accpara.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 817da76529aa39f641d76805d429b09681348811
Author: Justin Luth <justin_luth at sil.org>
Date:   Sat Nov 8 19:37:22 2014 +0300

    fdo#85912 Delete surrounding text failing for input method calls regression.
    
    When Apache OpenOffice code was merged in, a few lines were removed for
    no apparent reason.  This just adds the code back in, and resolves the bug.
    
    See the comments in fdo#85912 for details about this bug.  It is hard for
    majority language users to reproduce since they don't use ibus/kmfl to
    type their language's letters.
    
    Change-Id: I3963ea0f0eeeab8c8006408a7e229beab1ccf9f6
    Reviewed-on: https://gerrit.libreoffice.org/12311
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 892447a..5d6b7e3 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -556,6 +556,9 @@ SwAccessibleParagraph::SwAccessibleParagraph(
     //Get the real heading level, Heading1 ~ Heading10
     nHeadingLevel = GetRealHeadingLevel();
     SetName( OUString() ); // set an empty accessibility name for paragraphs
+
+    // If this object has the focus, then it is remembered by the map itself.
+    nOldCaretPos = GetCaretPos();
 }
 
 SwAccessibleParagraph::~SwAccessibleParagraph()


More information about the Libreoffice-commits mailing list