summaryrefslogtreecommitdiffstats
path: root/l10ntools/source
Commit message (Collapse)AuthorAgeFilesLines
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-021-0/+1
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* fdo#87754: duplicated strings in an ItemList are not translatedZolnai Tamás2014-12-281-8/+11
| | | | Change-Id: I72c6e234ff999a6dbed48cc62fe7d39aeb798f35
* fdo#39440 reduce scope of local variablesMichael Weghorn2014-12-182-20/+11
| | | | | | | | | This addresses some cppcheck warnings. Change-Id: Ib16e4ecc0e0c43b2c1fb527eb0668a960ae9756e Reviewed-on: https://gerrit.libreoffice.org/13513 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#38835 strip out OString globalsNoel Grandin2014-12-053-4/+4
| | | | Change-Id: Id2eb27132fd6c1734e50c02617ce1bbb75e294a0
* Fold URE: Linux ure/lib/* -> program/Stephan Bergmann2014-11-281-1/+1
| | | | | | | The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
* fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2014-11-141-2/+2
| | | | | | | Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "use the new OUString::fromUtf8 method"Stephan Bergmann2014-11-065-10/+13
| | | | | | | | This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
* use the new OUString::fromUtf8 methodNoel Grandin2014-11-065-13/+10
| | | | Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
* markup with event type not checker typeCaolán McNamara2014-11-052-0/+2
| | | | Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
* remove checks of __GCC_MINOR__ that are always true in GCC 4.6 or laterMichael Stahl2014-10-023-6/+0
| | | | Change-Id: I4412a0c1e4dee94cd717f24b8df5e257d895f721
* remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl2014-10-023-3/+3
| | | | | | This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
* l10ntools: std::auto_ptr -> std::unique_ptrStephan Bergmann2014-09-301-1/+1
| | | | Change-Id: I595506b8c6d127abaa8d86bd0ed263edba210bb5
* l10ntools/source/export.cxx: be more std::Douglas Mencken2014-09-191-7/+8
| | | | | Change-Id: Ia5f96f7d2bf366a6156d198e73e7987a471f28da Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* fdo#80650 src transl. merge must be case sensitiveDavid Tardon2014-09-141-4/+4
| | | | | | | | | | | | | | | | | This makes the desired changes in workdir/SrsPartMergeTarget/starmath/source/symbol.src. The only other merged file that is changed is workdir/SrsPartMergeTarget/sw/source/ui/misc/numberingtypelistbox.src, with changes like < "1, 2, 3, ..." ; 4/*SVX_NUM_ARABIC - < "a, b, c, ..." ; 0/*SVX_NUM_CHARS_UPPER_LETTER */; > ; + < "A, B, C, ..." ; 0/*SVX_NUM_CHARS_UPPER_LETTER */; > ; < "a, b, c, ..." ; 1/*SVX_NUM_CHARS_LOWER_LETTER */; > ; This looks okay to me too :-) Change-Id: I729075209027ed1f3fec311c05b631c0f681708b
* l10ntools/source/export.cxx: add sanity check to aOutput.mSimpleDouglas Mencken2014-09-091-0/+5
| | | | | | | Change-Id: I05074760f189dfc00ce14ec33002609a56797a6d Reviewed-on: https://gerrit.libreoffice.org/11321 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* l10ntools/source/export.cxx: improve style of codeDouglas Mencken2014-09-081-11/+6
| | | | | | | Change-Id: Ieef44da0ab8f2d33faaf8c32970bb9d33df6750b Reviewed-on: https://gerrit.libreoffice.org/11318 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* l10ntools-transex3: make pParseQueue field privateDouglas Mencken2014-09-081-3/+3
| | | | | | | Change-Id: Ieefed6e939e12b668a635eb8d7e70def2d52a85d Reviewed-on: https://gerrit.libreoffice.org/11315 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* create clang plugin to warn about C-style castsNoel Grandin2014-09-071-6/+6
| | | | | | | | | | We don't like C-style casts in our nice C++ code Change-Id: I94e7ec90de9275cd6e20c4146d4f3a74bed93c9d Reviewed-on: https://gerrit.libreoffice.org/10367 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove AutoControls_tmpl from localizeThomas Arnhold2014-08-151-2/+0
| | | | Change-Id: I81b77599590410da2bd93fe538b143f934917e8e
* l10ntools: suppress warning C4245 from boost/crc.hppMichael Stahl2014-08-131-0/+8
| | | | Change-Id: I2ed53b4f902ae694fc064375e8a9cfeba32f9d1c
* coverity#1224977 integer overflowNorbert Thiebaud2014-07-101-1/+1
| | | | Change-Id: Ic212489319ef06486323877227bc8f43cc9190cc
* coverity#1224978 integer overflowNorbert Thiebaud2014-07-101-1/+1
| | | | Change-Id: Ie7dd90e6e395fb84802758e7d90ffac010dcced0
* New loplugin:stringconcatStephan Bergmann2014-07-018-49/+66
| | | | Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
* fdo#80324 fix path of redline_tmpl.hrcAndras Timar2014-06-221-1/+1
| | | | Change-Id: Ie1684fe456ea6f9cd4b93481aa73f5b51a20ba1b
* coverity#1019333 Explicit null dereferencedCaolán McNamara2014-06-191-1/+1
| | | | Change-Id: I3ac21f8613558cb0413f405287cdd394f3facf02
* update usage instructions of pocheck toolAndras Timar2014-06-161-1/+1
| | | | Change-Id: Ibc1c5051a601a83a6616e6a22c45b05394c54e88
* loplugin:staticcallStephan Bergmann2014-06-132-2/+2
| | | | Change-Id: I6f18ab4dc082e30e51b4c0020dff4ff098275b60
* Fix XMLFile::SearchL10NElements signatureStephan Bergmann2014-06-111-3/+3
| | | | Change-Id: I34134f75ac5571a635256d349bf5a2f67ef8ef06
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-4/+0
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* Remove unnecessary semicolonsPeter Senna Tschudin2014-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fix memory leak in xrmex toolStephan Bergmann2014-05-222-9/+4
| | | | Change-Id: I102566a95b5b34daf60730ffef290913caf28eb2
* simplify ternary conditions "xxx ? yyy : false"Noel Grandin2014-05-051-1/+1
| | | | | | | | | Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
* some more hrc cleanupThomas Arnhold2014-04-231-5/+0
| | | | | | | Change-Id: Ic1a99ef971168093835207dd084e50a4f02b5e5f Reviewed-on: https://gerrit.libreoffice.org/9141 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-04-211-4/+4
| | | | Change-Id: I4b2b439615db0ff4598f405d1e339eebbff7ae91
* l10ntools: helpex: don't crash if the file can't be parsed; return errorMichael Stahl2014-04-161-0/+5
| | | | Change-Id: I637f8486b0774b399ed5e250868d756c944e50f6
* Memory released through xmlFreeDoc should be acquired with xmlMallocStephan Bergmann2014-04-111-1/+1
| | | | Change-Id: I70db57257fa8226d9f18b7d970d85cc1769252ad
* Remove extra newlineStephan Bergmann2014-04-081-1/+1
| | | | Change-Id: I192542c209a1b937672650d370d3f8e93d0bc9f5
* Clean up function declarationsStephan Bergmann2014-04-082-15/+4
| | | | Change-Id: Ie1360857dc4ed3102c709c1ef5b5929e5d5d5d7b
* Clean up unreferenced functionsStephan Bergmann2014-04-044-12/+9
| | | | Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
* move remaining padmin dialogs into vclCaolán McNamara2014-03-211-1/+0
| | | | | | and so padmin is no more Change-Id: I554cefa8b38581daad8a78bafa167448b0a0ef61
* coverity#984098 Uninitialized pointer fieldCaolán McNamara2014-03-191-1/+3
| | | | Change-Id: I671f7c98bdcfa828e7252ec13fd1b6b998ff7a87
* Find places where OUString and OString are passed by value.Noel Grandin2014-03-182-5/+5
| | | | | | | | | | 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
* fix commentsCaolán McNamara2014-02-261-4/+4
| | | | | | | Change-Id: Iee6557755e4976e023d1c04bde24e3aa1d0fd062 Reviewed-on: https://gerrit.libreoffice.org/8369 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove visual noise from l10ntoolsAlexander Wilms2014-02-269-54/+54
| | | | | | | Change-Id: Ia10056ae9e1b9adfe74f299afac5c3c84fa8cea7 Reviewed-on: https://gerrit.libreoffice.org/8278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* cid#707946 Uninitialized pointer fieldNoel Grandin2014-02-211-3/+3
| | | | | | | this field was actually only used to swap values between other values, so convert it to local variables Change-Id: I274e8978651f905c0bd2391ac4baaf5c23388425
* cid#1038312 Dereference before null checkNoel Grandin2014-02-201-1/+1
| | | | Change-Id: I280d9382a47c0a934f5b1cd79eead59f9a50e52e
* ulfex: remove unneeded bULF, it is always trueZolnai Tamás2014-02-182-5/+3
| | | | Change-Id: I1401fddfdd42eba96253f4dd19cf60bba8de6802
* l10ntools: sal_Bool -> boolStephan Bergmann2014-02-176-104/+104
| | | | Change-Id: Ifffdc0942b83b5761cbbbfc5db7d241be60815cb
* moved impress remote clients to a separate repositoryNorbert Thiebaud2014-01-301-1/+0
| | | | | Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
* coverity#1158098 Explicit null dereferencedCaolán McNamara2014-01-291-0/+3
| | | | Change-Id: Id21a206df7d9c221fabf8503d959bfe314217214