diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-01-13 18:36:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-16 15:27:48 +0000 |
commit | b8c6514b483edfcedb3ce546cdea726b83d418a5 (patch) | |
tree | cd850bf9b2394c76e9ba127adbf7858494e5ceb5 | |
parent | 00fc621899ccca1e316e956796d978210d324c5f (diff) |
fdo#72788: sw: fix infinite loop in SwTxtAttr::RstTxtAttr
The increment was erroneously moved into the else branch in commit
c1c5feaff453cfbb23c43f2b423201b883ff048d.
Change-Id: If71cb58967e215548aed5679da86af20de17a0f1
(cherry picked from commit 8c59c30153b8a67d9455d70a66b4a42c35120f97)
Reviewed-on: https://gerrit.libreoffice.org/7414
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/txtnode/txtedt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index e1eb5c3378e9..ecd75e85decd 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -613,8 +613,8 @@ void SwTxtNode::RstTxtAttr( } } } - ++i; } + ++i; } TryDeleteSwpHints(); |