/[gentoo-x86]/app-office/libreoffice/files/libreoffice-3.5.4-libexttextcat.patch
Gentoo

Contents of /app-office/libreoffice/files/libreoffice-3.5.4-libexttextcat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 1 10:56:54 2013 UTC (3 years, 11 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Use python-r1 eclass. Drop 3.5 series as 3.6 seem fine wrt regressions for now.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

1 From 25a605f36544582bd454d4bc0e71e684749a0b80 Mon Sep 17 00:00:00 2001
2 From: Caolán McNamara <caolanm@redhat.com>
3 Date: Fri, 25 May 2012 14:51:04 +0000
4 Subject: this is supposed to just be the number of bytes
5
6 Change-Id: Iecd376aba13f94c5c62fab2f3278c5f3efda20b4
7 ---
8 diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
9 index 383ab3e..3346ef2 100644
10 --- a/lingucomponent/source/languageguessing/simpleguesser.cxx
11 +++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
12 @@ -117,8 +117,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(const char* text)
13 if (!h)
14 return guesses;
15
16 - //calculate le number of unicode charcters (symbols)
17 - int len = utfstrlen(text);
18 + int len = strlen(text);
19
20 if (len > MAX_STRING_LENGTH_TO_ANALYSE)
21 len = MAX_STRING_LENGTH_TO_ANALYSE;
22 --
23 cgit v0.9.0.2-2-gbebe

  ViewVC Help
Powered by ViewVC 1.1.20