summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-13 18:36:04 +0100
committerMichael Stahl <mstahl@redhat.com>2014-01-13 19:39:58 +0100
commit8c59c30153b8a67d9455d70a66b4a42c35120f97 (patch)
tree8c37f1781061aa6071640c9479aa730d8397efdd
parent4bdaa70ffba4c782859bddc5c32d897c84d08b8a (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
-rw-r--r--sw/source/core/txtnode/txtedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index c2c660289750..9abddfa470b3 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();