diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-09 16:19:21 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2014-04-09 17:35:59 +0200 |
commit | 0d6fb4ed39323634312ec27abb6e8290ad91008f (patch) | |
tree | 569775b775e6965d335883692c7d4ed20af22c66 /vcl | |
parent | bffdb3eefe6ae5a6a758c5401d3558724fbaaa05 (diff) |
WaE: -Werror=sign-compare
Change-Id: I160a760a13c8e5140d6df295a9dffd05cf5e7b81
Diffstat (limited to 'vcl')
-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 90146699a875..230583b191af 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -599,7 +599,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) |