diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-08-26 13:23:07 +0200 |
---|---|---|
committer | László Németh <laszlo.nemeth@collabora.com> | 2015-08-26 13:28:06 +0200 |
commit | cf4839cfd18bb3c478ee7f039a705e46877e442c (patch) | |
tree | 292871b759a1a6629952f1ce72d028f35efa2952 /i18npool | |
parent | 18a2a642c4a8848e2a2cb0df29c6463db8428ef9 (diff) |
remove unused calculation for hyphenation
Introduced by the commit 968f4d72a23bb28d097a7694d66f0b866b3b33f0,
problem found by Stephan Bergmann.
Change-Id: If735185c34a0ba69a5cd753ef76032b1b6a4a0cf
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_unicode.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index 262f06ac04ac..53c19164f28d 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -393,7 +393,6 @@ LineBreakResults SAL_CALL BreakIterator_Unicode::getLineBreak( if (hOptions.hyphenIndex - wBoundary.startPos < nStartPosWordEnd) nStartPosWordEnd = hOptions.hyphenIndex - wBoundary.startPos; #define SPACE 0x0020 while (boundary_with_punctuation > wBoundary.endPos && Text[--boundary_with_punctuation] == SPACE); - if (boundary_with_punctuation != 0) boundary_with_punctuation += 1 - wBoundary.endPos; uno::Reference< linguistic2::XHyphenatedWord > aHyphenatedWord; aHyphenatedWord = hOptions.rHyphenator->hyphenate(Text.copy(wBoundary.startPos, wBoundary.endPos - wBoundary.startPos), rLocale, |