summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-24 16:20:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-24 16:20:51 +0100
commit7ec6baba68aba6a66d161e545f0f7808f57ff011 (patch)
tree6caecf3f483c0457073ba83a644b72939133450d /vcl/generic
parent91b8728108193706e142c25903c0dcd4ea8b0b21 (diff)
Resolves: fdo#66042 get the bounds of the current grapheme
Change-Id: I5b1808d74f0a1dd0d8b6ea22136e574c0a6e8e2a
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/glyphs/gcach_layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index 4826936c59fd..0f69e597b848 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -111,7 +111,7 @@ void ServerFontLayout::setNeedFallback(ImplLayoutArgs& rArgs, sal_Int32 nCharPos
OUString aRun(rArgs.mpStr);
sal_Int32 nDone;
sal_Int32 nGraphemeStartPos =
- mxBreak->previousCharacters(aRun, nCharPos, aLocale,
+ mxBreak->previousCharacters(aRun, nCharPos+1, aLocale,
i18n::CharacterIteratorMode::SKIPCELL, 1, nDone);
sal_Int32 nGraphemeEndPos =
mxBreak->nextCharacters(aRun, nCharPos, aLocale,