Hello,
The bug is in the Writer (Windows7 64bit).
1. After the English input, I was a Japanese input.
2. I have run several times Undo.
3. Then, Writer was hung up.
I was confirmed to work correctly when applying the following patch.
diff --git a/sw/source/core/bastyp/breakit.cxx
b/sw/source/core/bastyp/breakit.cxx
index bf468b9..55f3dec 100644
--- a/sw/source/core/bastyp/breakit.cxx
+++ b/sw/source/core/bastyp/breakit.cxx
@@ -191,8 +191,11 @@ sal_Int32 SwBreakIt::getGraphemeCount(const
OUString& rText,
else
{
sal_Int32 nCount2 = 1;
+ sal_Int32 nPosOld = nCurPos;
nCurPos = xBreak->nextCharacters(rText, nCurPos,
lang::Locale(),
i18n::CharacterIteratorMode::SKIPCELL, nCount2, nCount2);
+ if (nPosOld == nCurPos)
+ break;
}
++nGraphemeCount;
}
Best regards,
TANAKA Hidemune
Context
- Writer : Undo problem(Japanese IME) · TANAKA H&Y
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.