summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2019-06-27Fix name clash problemEike Rathke1-4/+3
Reportedly there can be confusion between names css::lang::Locale and icu::Locale if explicit namespaces are omitted due to (the bad habit of using) the using directive, since commit 942de6a01ba990e5f3bc55ce4ab3737a03f67f39 CommitDate: Thu Jun 20 01:57:20 2019 +0200 Resolves: tdf#92503 introduce TimeZone to calendar loading and default to UTC Rightly, because that via inclusion of calendar_gregorian.hxx pulls in unicode/calendar.h which in turn ... Didn't happen in TDF builds so far. Change-Id: Ie7fb7fce0ab5cd4b93fbbfd3abe04d7d18a8a081 Reviewed-on: https://gerrit.libreoffice.org/74795 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 71674ab6a7472132ca2eee1381e3273bd6b35a7b) Reviewed-on: https://gerrit.libreoffice.org/74805
2019-06-20Resolves: tdf#92503 introduce TimeZone to calendar loading and default to UTCEike Rathke4-8/+58
Without that, the system's time zone was used which on DST transition dates leads to non-existent times when switching to/from DST. As the calendar use and number parser/formatter nor conversions or calculations are time zone aware, using not DST afflicted UTC is the better choice. Change-Id: I3303c6620d8c4b9d081555c8293954fb1bd67895 Reviewed-on: https://gerrit.libreoffice.org/74386 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 942de6a01ba990e5f3bc55ce4ab3737a03f67f39) Reviewed-on: https://gerrit.libreoffice.org/74399
2019-06-09tdf#125620 add Korean Hangul Jamo codepoint rangesDaeHyun Sung1-1/+3
In LibreOffice's Korean Hangul part, It check Korean code points only 3 part ranges. (such as, U+AC00 - U+D7AF - Hangul Syllables U+3130 - U+318F - Hangul Compatibility Jamo U+1100 - U+11FF - Hangul Jamo ) So, add Korean Hangul jamo code point ranges. such as, U+A960 - U+A97F: Hangul Jamo Extended-A U+D7B0 - U+D7FF: Hangul Jamo Extended-B Below is Korean Hangul Jamo and Syllables code point ranges on Unicode Consortium Hangul Jamo (Range: U+1100 - U+11FF) http://www.unicode.org/charts/PDF/U1100.pdf Hangul Jamo Extended-A (Range: U+A960 - U+A97F) http://www.unicode.org/charts/PDF/UA960.pdf Hangul Jamo Extended-B (Range: U+D7B0 - U+D7FF) http://www.unicode.org/charts/PDF/UD7B0.pdf Hangul Compatibility Jamo (Range: U+3130 - U+318F) http://www.unicode.org/charts/PDF/U3130.pdf Hangul Syllables (Range: U+AC00 - U+D7AF) http://www.unicode.org/charts/PDF/UAC00.pdf Change-Id: I65da4d9c6c43e01eb61f2e420faf1ad6cd986d86 Reviewed-on: https://gerrit.libreoffice.org/73309 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d9a31b8e164ad39e8b2f49b8e136cd9108ccac36) Reviewed-on: https://gerrit.libreoffice.org/73733 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-06-03Resolves: tdf#96711 RUB currency symbol is ₽ U+20BD RUBLE SIGNEike Rathke5-21/+56
Change-Id: Ie9781713f04076174cdbbc34bf802df45c169727 Reviewed-on: https://gerrit.libreoffice.org/73389 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit d83e831747c1e7a57296c7f1d64a5d51a97cef91) Reviewed-on: https://gerrit.libreoffice.org/73410 Tested-by: Eike Rathke <erack@redhat.com>
2019-06-01add Dangi calendar locale data for tdf#125446DaeHyun Sung1-0/+117
For Support Korean Calendar Dangi(단기/檀紀), add Dangi calendar locale data <Calendar unoid="dangi" default="false"> Change-Id: Ifd04be3dbbf3daa1d7f3b1e238e743b697701b6e Reviewed-on: https://gerrit.libreoffice.org/72944 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit e9395f87619af7c9b755ee8ff34ecfaae7df9c98) Reviewed-on: https://gerrit.libreoffice.org/73298 Tested-by: Eike Rathke <erack@redhat.com>
2019-06-01Support to Korean Dangi Calendar for tdf#125446DaeHyun Sung4-0/+30
Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar The era name, Dangi(단기,檀紀) originating from the foundation of Gojoseon[고조선/古朝鮮] is also widely used in Korea as an indication of long civilization of Korea. Full name: `Dangun-giwon (단군기원, 檀君紀元 "First Age of Lord Dangun")` Abbreviation Name: `Dangi(단기,檀紀)` The Dangi Calendar measures years from the ancient founding of Korea in 2333 B.C. Reference. ICU Library ICU library support Dangi Calendar. ICU4C 50 http://bugs.icu-project.org/trac/ticket/9255 ICU4J 51 http://bugs.icu-project.org/trac/ticket/9616 Change-Id: I490b8b288c68f498eb29d4fcc73251cbef3ac6d4 Reviewed-on: https://gerrit.libreoffice.org/72943 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5e67aa92a8f08fe488c9344851c2f819d4eaa542) Reviewed-on: https://gerrit.libreoffice.org/73297 Tested-by: Eike Rathke <erack@redhat.com>
2019-06-01Resolves: tdf#125590 add Silesian [szl-PL] locale dataEike Rathke3-0/+246
Change-Id: I2e4af60cea41bc4ae0ba5ce87a830ae0ede96727 Co-authored-by: Grzegorz Kulik <gregorykkulik@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/73286 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 73751b825daf8245381553d495dc0819fef933ab) Reviewed-on: https://gerrit.libreoffice.org/73292 Tested-by: Eike Rathke <erack@redhat.com>
2019-06-01Related: tdf#125590 prepare to derive from pl-PLEike Rathke1-6/+6
... by using replaceFrom="[CURRENCY]" in LC_FORMAT. Change-Id: I9072e278e33de0a935a08bd9deb61109d220043d Reviewed-on: https://gerrit.libreoffice.org/73281 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 00df03966e0030412d6ad234045fd80d2d265af2) Reviewed-on: https://gerrit.libreoffice.org/73291 Tested-by: Eike Rathke <erack@redhat.com>
2019-05-31Use hasElements to check Sequence emptiness in [e-i]*Arkadiy Illarionov4-9/+9
Similar to clang-tidy readability-container-size-empty Change-Id: I79e31919db8f4132216f09a7868d18835eeb154b Reviewed-on: https://gerrit.libreoffice.org/71795 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-05-28i18npool: remove versioned ICU forward declarationsMichael Stahl3-3/+7
(regression from c6b7f5555d5df13eae7aa72dbd3307ad8c9893dc)
2019-05-28tdf#42949 Fix IWYU warnings in i18npool/Gabor Kelemen82-174/+238
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic331c845f0a8f06c4a8f8f79b6f87e26ca7c3a7d Reviewed-on: https://gerrit.libreoffice.org/72972 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-05-22New loplugin:dataStephan Bergmann1-2/+2
...following up on 1453c2c8f13bac64ecd1981af7cebf1c421808ac "prefer vector::data to &vector[0]" Change-Id: I7c113747d92d144a521d49b89384dd8bf1215c01 Reviewed-on: https://gerrit.libreoffice.org/72765 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-05-20Fix typosAndrea Gelmini1-1/+1
Change-Id: I4922f95ebc38e80e471139880ed894eda89402a8 Reviewed-on: https://gerrit.libreoffice.org/72142 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2019-05-18modified Line Breaking rule in KoreanDaeHyun Sung1-2/+2
Modified Line Break Rule (Korean: 금칙 처리, 漢字hanja: 禁飭處理) I modifed Forbidden Characters(Korean: 금칙 문자, 漢字hanja: 禁飭文字) on LibreOffice Korean locale data xml. Reference1: HWP Guide - 금칙문자(Forbidden Characters) http://help.hancom.com/hoffice/webhelp/9.0/ko_kr/hshow/tool/forbid.htm Reference2: OOXML ISO/IEC 29500–1:2016(E) Korean * Cannot start a line: !%),.:;?]}¢°'"′″℃〉》」』】〕!%),.:;?]}¢ (Unicode character values: U+0021, U+0025, U+0029, U+002C, U+002E, U+003A, U+003B, U+003F, U+005D, U+007D, U+00A2, U+00B0, U+2019, U+201D, U+2032, U+2033, U+2103, U+3009, U+300B, U+300D, U+300F, U+3011, U+3015, U+FF01, U+FF05, U+FF09, U+FF0C, U+FF0E, U+FF1A, U+FF1B, U+FF1F, U+FF3D, U+FF5D and U+FFE0, respectively) * Cannot end a line: $([\{£¥'"〈《「『【〔$([{£¥₩ (Unicode character values: U+0024, U+0028, U+005B, U+005C, U+007B, U+00A3, U+00A5, U+2018, U+201C, U+3008, U+300A, U+300C, U+300E, U+3010, U+3014, U+FF04, U+FF08, U+FF3B, U+FF5B, U+FFE1, U+FFE5, and U+FFE6, respectively) Change-Id: I32077b241f930cc912d0c365fc46c1cd046c59a6 Reviewed-on: https://gerrit.libreoffice.org/72492 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
2019-05-04Related: tdf#123948 add English (Zambia) [en-ZM] locale dataEike Rathke3-0/+52
Inherits en-GB Change-Id: I11febf18959380f9dcc73cb94aa9532ccb1200e7 Reviewed-on: https://gerrit.libreoffice.org/71769 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2019-04-15improve loplugin simplifyconstructNoel Grandin1-1/+1
to find stuff like OUString s = OUString("xxx") Change-Id: Ie7ed074c1ae012734c67a2a89c564c1900a4ab04 Reviewed-on: https://gerrit.libreoffice.org/70697 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-04-13loplugin:sequentialassign in embeddedobj..l10ntoolsNoel Grandin3-8/+3
Change-Id: I69377e2f96a376a7a5ccaec268c4f92c00a250f7 Reviewed-on: https://gerrit.libreoffice.org/70705 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-04-02Introduce next Japanese gengou era 'Reiwa'Takeshi Abe2-6/+4
starting from 2019-05-01, which has been announced officially. This fills the provisional slot acknowledged at cacbb0faef77ae8462de9ff5c7307a6a2e28b2bb. Change-Id: Ifb12e6afaad4c66d455f664b46ec946e80324e87 Reviewed-on: https://gerrit.libreoffice.org/70028 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2019-03-26Assign [kmr-Latn-TR] TRY|₺ currency, TRY|YTL and TRL|TL are legacyOnlyEike Rathke1-3/+10
This was done long ago for the tr-TR locale as well. Change-Id: I5bf8595f6d49adb7fd76b3c4924c4d72b3b8ea5e Reviewed-on: https://gerrit.libreoffice.org/69717 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2019-03-21tdf#123204 hu_HU collation: don't ignore special charactersLászló Németh1-1/+5
to show/handle them in Calc AutoFilter. Partial revert of "tdf#116666 fix Hungarian sorting" (commit 7b1eb6313c0d2621c364df1724c69d28f8267841). Change-Id: Ib135f1eac77780e901fb4c427c3f1bb8a5e090b9 Reviewed-on: https://gerrit.libreoffice.org/68014 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-03-08new loplugin constvarsNoel Grandin1-1/+1
detect static variables that can be made const. Thanks to mike kaganski for suggesting this. Here I introduce a new plugin feature - using markers in nearby comments to disable the plugin for specific vars. Some of this stuff was old debugging code. I removed the stuff that was older than 5 years. Change-Id: I6ec7742a7fdadf28fd128b592fcdf6da8257585c Reviewed-on: https://gerrit.libreoffice.org/68807 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-03-06remove some unnecessary typedef struct... sugarNoel Grandin3-6/+6
Change-Id: I1576282b0a0a3af8ae14c04725d9c4900073f2c4 Reviewed-on: https://gerrit.libreoffice.org/68758 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-20Resolves: tdf#123575 treat Katakana middle dots as midletterEike Rathke1-2/+6
Treat U+30FB KATAKANA MIDDLE DOT U+FF65 HALFWIDTH KATAKANA MIDDLE DOT like U+00B7 MIDDLE DOT and other U_WB_MIDLETTER. Change-Id: Iea18e7582f29edf5d8c5bad047f97ed4088edf7c Reviewed-on: https://gerrit.libreoffice.org/68032 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2019-02-18Simplify containers iterations in [f-l]*Arkadiy Illarionov2-6/+6
Use range-based loop or replace with STL functions Change-Id: Ib3fab47318d1bfbb4df8f886a8cd9596525a420f Reviewed-on: https://gerrit.libreoffice.org/67914 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-11tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski1-1/+2
Change-Id: I67462369d93e9d9ff3c056800947c4b75f71ba5f Reviewed-on: https://gerrit.libreoffice.org/67486 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-02-09loplugin:indentation in helpcompiler..ioNoel Grandin4-19/+19
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620 Reviewed-on: https://gerrit.libreoffice.org/67558 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-01-22Use std::string instead of fixed-size array to hold stringStephan Bergmann3-22/+19
Change-Id: I8477271f4de4d24cf1019c381ab3b56db2016be9 Reviewed-on: https://gerrit.libreoffice.org/66749 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-01-22o3tl::make_unique -> std::make_unique in i18npool...reportdesignGabor Kelemen2-7/+5
Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I8bee1344f7df82536f31bc5e4ec4fd379cac1d04 Reviewed-on: https://gerrit.libreoffice.org/66704 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-01-11Replace OUStringBuffer::appendCopy with append(std::u16string_view)Stephan Bergmann2-8/+10
...which is more general Change-Id: I94f28f8eda887120cf5f143b4549e0339b60e6a7 Reviewed-on: https://gerrit.libreoffice.org/66155 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-12-24tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski1-2/+2
Change-Id: I5ca32214bab4b26208aecaa98eecc2a6297d9093 Reviewed-on: https://gerrit.libreoffice.org/65592 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-12-20Fix typo in codeAndrea Gelmini1-1/+1
It passed "make check" on Linux Change-Id: I577f6ff01e8216ed85556ce4b3365fd924f75608 Reviewed-on: https://gerrit.libreoffice.org/65468 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-12-13loplugin:useuniqueptr in i18npoolNoel Grandin2-18/+16
Change-Id: I57c6ce2a8c48bc87404e596b8843efd67ea0872d Reviewed-on: https://gerrit.libreoffice.org/65033 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-12-08Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann8-14/+14
...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b "HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now" Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937 Reviewed-on: https://gerrit.libreoffice.org/64800 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-12-07loplugin:singlevalfields extend to all static varsNoel Grandin1-3/+3
Change-Id: Ic238bb5291539fd1b7e98cb4afc9b25f37e7d528 Reviewed-on: https://gerrit.libreoffice.org/64710 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-12-04NNNN already includes LongDateDayOfWeekSeparator, do not duplicateEike Rathke13-25/+25
Seems these were always wrong in some locales. Change-Id: I5dfc89a607d57c19034d6fac07a07bf3c5395ed8 Reviewed-on: https://gerrit.libreoffice.org/64541 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2018-12-04Fix af_NA wrong separator inheritance, use en_NA instead of af_ZA (en_ZA)Eike Rathke1-1/+1
It didn't matter originally, but en_ZA separators changed with commit 5c10c448b299faf43d9df28bdb9dc4fbb00540aa CommitDate: Mon Sep 3 13:38:13 2018 +0200 tdf#119613 [*-ZA] decimal separator is comma, group separator is space and commit 464154aa26ae77883dd59fcbaab9e084aa035c9d CommitDate: Mon Sep 3 13:38:23 2018 +0200 Related: tdf#119613 inherit af_ZA separators from identical en_ZA so the separators didn't match the formats inherited from en_NA anymore. Change-Id: Iccf951b27b5575706e0f6bae12b5df4b53e335ac
2018-12-04Some date format corrections, tdf#116868 follow-upEike Rathke1-7/+7
Order is 'D, MMM YYYY' instead of 'MMM, D YYYY' 'NNNN, ' displays separator twice. Change-Id: Id84af3e1bb94dad0e8405c680e63f48f38415fba
2018-12-03Resolves: tdf#116868 add Hausa (Nigeria) [ha-Latn-NG] locale dataEike Rathke3-1/+338
Derived from ha_Latn_GH.xml with changes according to CLDR and https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=ha_NG Change-Id: Id7325ab9a2e17d0d5fdad45ce675987695a90ef0 Reviewed-on: https://gerrit.libreoffice.org/64454 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2018-12-01A leading or trailing group separator character is not a group separatorEike Rathke1-2/+12
Also a group separator character followed by a non-digit is not. Change-Id: Id57e43fe7692706c5532fb05ad394224265c2750 Reviewed-on: https://gerrit.libreoffice.org/64358 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-30[API CHANGE] Resolves: tdf#42518 new KParseTokens::GROUP_SEPARATOR_IN_NUMBEREike Rathke1-2/+11
Default unset bit now does not accept/skip group separators in numbers. See .idl description comment for why this is incompatible and how. This actually uncovered a "bug" (or at least unexpected) in the Math parser that parsed "0," as one entity instead of "0" followed by ",". As obtaining the text form appends a blank after each entity the sw/qa/extras/rtfexport/rtfexport.cxx testMathEqarray() testcase had to be adapted. Change-Id: I2b605742ab3d8a9bb81ad6880faf050535dc80fa Reviewed-on: https://gerrit.libreoffice.org/64270 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-25tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski1-1/+1
Change-Id: I2ae298f49ceba8059cd7236431db9a4d9a46b125 Reviewed-on: https://gerrit.libreoffice.org/63992 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-19loplugin:singlevalfieldsNoel Grandin2-4/+4
Change-Id: If21bdaa8431a4d40bbf70a6e9a119d77a3596012 Reviewed-on: https://gerrit.libreoffice.org/63487 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-16loplugin:buriedassign in dbaccess..ooxNoel Grandin2-18/+23
Change-Id: Ic0ca695a1d9d05418213475a68e233953136cc8e Reviewed-on: https://gerrit.libreoffice.org/63468 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-12tdf#120703 PVS: V560 Properly compare current to cDecimalSepAltMike Kaganski1-1/+1
V560 A part of conditional expression is always false: current == cDecimalSep. Assuming a copypaste error in commit 21052ba2edeef9e16bf90fea62f007b1131c73c0. Compare to a similar case below (line 817). Change-Id: Iebd84aa8df3e37b9a5e4fdc7ce7a25a0704a260f Reviewed-on: https://gerrit.libreoffice.org/63269 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-12fix missing "else" in transliterateBulletNoel Grandin1-1/+1
ever since commit f1830339193643466c1dd76dc37594c21ab3ac4f Date: Tue Apr 8 15:07:08 2003 +0000 INTEGRATION: CWS calc06 (1.2.44); FILE MERGED not it will make much difference to the logic found by experimental loplugin:indentation Change-Id: I2d724ababa1664a87f2822ed8b59f3e3cd50e5e4 Reviewed-on: https://gerrit.libreoffice.org/63287 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-10clang-tidy: (WIP) bugprone-too-small-loop-variable findings 2Tamás Zolnai1-1/+1
Change-Id: I1ddf3fe0e5fad265ae14712a23469b684253079d Reviewed-on: https://gerrit.libreoffice.org/63241 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-11-10tdf#120703 PVS: V547 Expression is always true/falseMike Kaganski1-2/+1
Change-Id: I0b3c407331bfa1fa0c5003250d327d4f26de3643 Reviewed-on: https://gerrit.libreoffice.org/63235 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-07loplugin:collapseif in sdext..svxNoel Grandin1-7/+5
Change-Id: I188d9e9b53e00acfbae3c7acd54de28f084c4b3f Reviewed-on: https://gerrit.libreoffice.org/62985 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-06convert some macros to local functionsNoel Grandin1-2/+4
Change-Id: If2c89f0f53615f6200b6cd1fb6267cc9b47df927 Reviewed-on: https://gerrit.libreoffice.org/62884 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl3-3/+3
This gets rid of the horrible hack in gbuild.mk to accomodate the case-incorrect iOS platform makefiles that cannot be renamed without upsetting git on file systems that sadly lack the case sensitivity feature. Keep the macro defined to IOS though. Change-Id: I1022bfef4900da00e75fc1ccce786b20f8673234 Reviewed-on: https://gerrit.libreoffice.org/62705 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>