diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 12:34:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 12:44:34 +0200 |
commit | c04f7de3d2b9fb490ce6ef425d147037cb1b5d8d (patch) | |
tree | 3035486e0fa985738a4aa4dd69ca19faee5bf535 /drawinglayer | |
parent | fd2ffceefc942c7f28f2a0146df09e4ff6ad7d09 (diff) |
remove unused Sentence from BreakupUnit
Change-Id: I324d344a9e9154345b8bd7c8653415cfcbfc26cc
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/textbreakuphelper.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drawinglayer/source/primitive2d/textbreakuphelper.cxx b/drawinglayer/source/primitive2d/textbreakuphelper.cxx index 91cde4f9c346..fa6b213cc0c1 100644 --- a/drawinglayer/source/primitive2d/textbreakuphelper.cxx +++ b/drawinglayer/source/primitive2d/textbreakuphelper.cxx @@ -260,24 +260,6 @@ namespace drawinglayer } break; } - case BreakupUnit::Sentence: - { - sal_Int32 nNextSentenceBreak(xBreakIterator->endOfSentence(rTxt, nTextPosition, rLocale)); - sal_Int32 a(nTextPosition); - - for(; a < nTextPosition + nTextLength; a++) - { - if(a == nNextSentenceBreak) - { - breakupPortion(aTempResult, nCurrent, a - nCurrent, false); - nCurrent = a; - nNextSentenceBreak = xBreakIterator->endOfSentence(rTxt, a + 1, rLocale); - } - } - - breakupPortion(aTempResult, nCurrent, a - nCurrent, false); - break; - } } mxResult = aTempResult; |