diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-09 16:19:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-09 16:19:42 +0100 |
commit | 75508e5d4292c506d8c68caae5b23f90284416a0 (patch) | |
tree | 7bf22a98c3659182930d04f6bd116bbb166e82b0 /vcl/source | |
parent | 480157e58fe4fe6694c0459d3f9f009d1c0902bf (diff) |
WaE: -Werror=sign-compare
Change-Id: I160a760a13c8e5140d6df295a9dffd05cf5e7b81
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 26c2ee07069c..c1817c7c585d 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -598,7 +598,7 @@ gr_segment * GraphiteLayout::CreateSegment(ImplLayoutArgs& rArgs) static com::sun::star::uno::Reference< com::sun::star::i18n::XCharacterClassification > xCharClass; if ( !xCharClass.is() ) xCharClass = vcl::unohelper::CreateCharacterClassification(); - int numchars2 = rArgs.mnEndCharPos - mnSegCharOffset; // fdo#52540, fdo#68313, fdo#70666 avoid bad ligature replacement + size_t numchars2 = rArgs.mnEndCharPos - mnSegCharOffset; // fdo#52540, fdo#68313, fdo#70666 avoid bad ligature replacement if (numchars > numchars2 && xCharClass->getType(rArgs.mpStr, numchars2 + 1) == ::com::sun::star::i18n::UnicodeType::LOWERCASE_LETTER) numchars = numchars2; if (mpFeatures) |