summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2014-03-28coverity#705185 Missing break in switchCaolán McNamara1-2/+5
Change-Id: I88c2fbea9265b729e21aa2f2d09bea89f91c01cb
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann46-413/+413
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-20Translate names of months and the days of the week in Japanese calendarsTakeshi Abe1-62/+62
This affects a displayed name of months e.g. grouped by in a pivot table. See <http://listarchives.libreoffice.org/ja/discuss/msg02906.html> for the original discussion. Change-Id: I2ff0325f9ef2f2f03019291d4b760582b6dfbad8 Reviewed-on: https://gerrit.libreoffice.org/8678 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-18convert sal_Char* to OUStringNoel Grandin1-15/+4
I can see no reason to store sBulletName as an sal_Char* instead of converting backwards and forwards from OUString Change-Id: Ib16b9f04c5738aa2346c9b5b4f28461fc8b60c4f Reviewed-on: https://gerrit.libreoffice.org/8641 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin2-2/+2
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-11coverity#704236 Logically dead codeCaolán McNamara1-6/+1
the nStartPos > 0 check is inside a nStartPos == 0 block so it can't happen so we'll return immediately, and so there's no point changing numberOfChange in that case either there Change-Id: Id6d7fc31033de5c6f3bb0a9ed03234b58c0d509e
2014-03-08coverity#707923 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: Ie1610a9e3df8e2844f4cc6b529d50db57ef8dc0e
2014-03-08coverity#707922 Uninitialized scalar fieldCaolán McNamara1-1/+3
Change-Id: I48f74be18664f8bf82e7b3f8576fef05b0e95630
2014-02-28remove unused code in i18npool/OFileWriterNoel Grandin2-22/+0
Specifically: OFileWriter::flush() OFileWriter::writeDefaultParameter(char const*, rtl::OUString const&) OFileWriter::writeParameter(char const*, char const*, rtl::OUString const&) Change-Id: Ie359be257b3c7493e31fcf4201818c29c9c3df53
2014-02-27normalize values of ICU_RECLASSIFIED_*Michael Stahl1-4/+4
Change-Id: I1033676fe91062b1d364a458a5964cfb78f323f0
2014-02-26added M-D abbreviated DateAcceptancePattern to [lgr-SB], fdo#72512Eike Rathke1-0/+1
Change-Id: Ia42f4a112a240ed38a9e8e53e4e92b48e9cacc10
2014-02-26added Lengo [lgr-SB] locale data, fdo#72512Eike Rathke3-1/+361
Change-Id: I1aa5e635448e2076f60c749e2640d9689a63f829
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann86-762/+762
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from i18npoolAlexander Wilms33-72/+72
Change-Id: I1cd4254713ce9c1bc7c232414c24e926f1f8a653 Reviewed-on: https://gerrit.libreoffice.org/8269 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms7-55/+37
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18coverity#984096 Uninitialized scalar fieldNorbert Thiebaud1-10/+14
Change-Id: If67e1c48fba43fabcaffef92d96bc1377b4d1dd8
2014-02-17Resolves: fdo#45841 fix autocorrect of single quotes in MalteseCaolán McNamara1-2/+2
Change-Id: Id37ad55b8994b7ed40cdd569a016a68c7386b551
2014-02-12corrected Estonian [et-EE] quote charactersMihkel Tõnnov1-2/+2
Namely: Estonian has several sets of correct quote mark glyphs for double quotes („”, „“, «» are all common), however the Institute of Estonian Language [1] recommends using the first of these, i.e. „” (99 low, 99 high) [2]. As for single quotes, Estonian texts rarely use them, except in a few fields such as linguistics and biology -- and both ‘’ (9-9) and ’’ (6-9) are considered correct [2, 3]. However, apostrophe in the beginning of a word (which is effectively the same as a starting single quote) can also be used to indicate omitted character(s) -- but there, only ’ (9) is correct [3]. [1] Eesti Keele Instituut, the main official body which maintains and studies the usage of Estonian language; http://en.eki.ee/index.php [2] The last page of https://docs.google.com/viewer?url=http://keeleabi.eki.ee/pdf/164.pdf (in Estonian) [3] Handbook of Estonian Language, http://www.eki.ee/books/ekk09/index.php?p=2&p1=11&id=86 (in Estonian) Change-Id: If88e6e03e3e4aa1919a25dbe2fa2ffc8c9a04f4a
2014-02-11i18npool: Ctor feature for com.sun.star.i18n.InputSequenceCheckerMatúš Kukan3-9/+11
Change-Id: I7937b5ba09c00448678e71c1786f775998f0f6fa
2014-02-11coverity#707927 Uninitialized pointer fieldCaolán McNamara4-7/+7
Change-Id: I5011c4dfea02c8fab8ca3ee08bbed7f31396e3ec
2014-02-11coverity#707926 Uninitialized scalar fieldCaolán McNamara1-1/+0
Change-Id: Ib6dc7e409d89e4824b373db2cd7a13449c3c18ed
2014-02-11coverity#707925 Uninitialized pointer fieldCaolán McNamara4-7/+7
Change-Id: I0e1034a2ef064f9a3a05a0b8837efdff767ea715
2014-02-08coverity#705400 Argument cannot be negativeCaolán McNamara1-11/+34
Change-Id: Idfd95810f929d6485263c0a4fb1e24bfa31c48f8
2014-02-07Avoid generation of unused replaceFrom* variablesStephan Bergmann1-2/+12
Change-Id: I2a65485b8dcaa7b6ed4a049f97d460878b8bb17d
2014-02-07No need for virtual functions in OFileWriterStephan Bergmann1-25/+24
Change-Id: Ifd18bf16213a1c4b746eab16e563f0322fbc3690
2014-02-07Remove obsolete workaroundStephan Bergmann1-17/+0
Change-Id: I8c8e99036fe694a2fb0160250c7c0c4fefb98a3e
2014-01-28bool improvementsStephan Bergmann3-6/+6
Change-Id: I64b038ad3b8d423dad6707fb0b2fd2127b2050a3
2014-01-27i18npool: Constructor feature for few more implementations.Matúš Kukan6-25/+46
Change-Id: I018bbe39a30582f51cdd620b3bf3240456b7bd65
2014-01-27i18npool: Ctor feature for css.i18n.CharacterClassification(_Unicode).Matúš Kukan5-25/+24
Change-Id: I5a0498a3871e2b90629af8ed6b725ff22f242fba
2014-01-27i18npool: Ctor feature for another services.Matúš Kukan8-55/+68
Change-Id: Id2346686ac2f6c537825d70cac1a537d09e351d5
2014-01-27i18npool: Ctor feature for few general services.Matúš Kukan6-36/+46
Change-Id: I1d489cacaf4717ab395b22a92e6dd6645cb92b1c
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann1-2/+2
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-10Use boolStephan Bergmann1-1/+1
Change-Id: I5b372ce78268d16fc629a47228875d31a298e189
2014-01-10Use proper bool operationsStephan Bergmann1-3/+3
Change-Id: I674ee59803fa5a1987787cf98f369dee63729adf
2014-01-08fdo#72219: Fix for corruption of symbols in docxRohit Deshmukh2-3/+22
Issue: OUString uses UTF-16, so for a Unicode surrogate character there are 2 values stored, not just 1. So we are getting assert failure in "rtl_uString_iterateCodePoints" method. erAck: Underlying cause was that the dictionary breakiterator misused UTF-16 positions as Unicode code point positions. Change-Id: I923485f56c2d879b63687adaea2b489a3479991c Reviewed-on: https://gerrit.libreoffice.org/6955 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-08Fix LocaleDataImpl::getImplementationNameStephan Bergmann1-4/+2
Change-Id: I36dd015635c30f63e2085c250e159fbd536da611
2014-01-02added EUR as default currency to Latvia [*-LV] locale data, fdo#73239Eike Rathke2-2/+16
Change-Id: Iee8da90c70589b8053c8c5b696afb4968072f47e
2013-12-18fdo#54938: Convert i18npool to use cppu::supportsServiceMarcos Paulo de Souza25-75/+63
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann1-0/+4
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2-4/+4
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-13cclass_Unicode failed to actually implement XServiceInfoStephan Bergmann1-2/+2
Change-Id: I823c112bca495eb8997f2dc098e712cd745759c5
2013-12-12remove unnecessary castsNoel Grandin1-7/+7
It is no longer necessary to cast to sal_Unicode when calling OUStringBuffer::append Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
2013-12-12simplify - use OUString::startsWith where possibleNoel Grandin2-2/+2
Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara4-13/+13
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-11-28Remove UTF-8 comment.Tomofumi Yagi1-1/+1
This breaks windows build with localized versions of MSVC. Change-Id: I23c46830f96ae661eced88352476e7ae61fbcc2a Reviewed-on: https://gerrit.libreoffice.org/6847 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-26encapsulate pRegexMatcher->find() to be able to monitor UErrorCodeEike Rathke1-4/+20
Change-Id: I73359a4e2c36ffeca71210971ba9be670e0a12ae
2013-11-26set a 23 enigma timeout at RegexMatcher, fdo#70627Eike Rathke1-2/+24
Change-Id: I390bfec0d36dcc9529785e97994dad2b0704dc80
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin1-2/+2
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20added D/M DateAcceptancePattern, fdo#71836Eike Rathke1-0/+1
Change-Id: Ic31811c287e2dc2908243a228a340c3005077297
2013-11-20use Puinave_Colombia [pui-CO] locale data, fdo#71836Eike Rathke2-1/+3
Change-Id: I59d553f7b70955de18562046f1d7aa5fae6e9fb1