summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2015-08-20tweak config-less sysconfig pathCaolán McNamara
Change-Id: I9b93b740aab2e6e2a19612d8ec41e699c1032e9e
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
2015-08-19Consolidate isFileUrl checksStephan Bergmann
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-08-18Remove newly unused ucbhelper/fileidentifierconverter.hxxStephan Bergmann
Change-Id: I7c272383ecb115e19699ed96bf5622d979403a01
2015-08-18Simplify isLocalFile_Impl checkStephan Bergmann
(vnd.sun.star.wfs is long gone) Change-Id: I5e6659302d9ff3cd4e2ae4bb09066b73f842f17f
2015-08-18Content of theIndexTable is known staticallyStephan Bergmann
...and initializing it on-demand in SvNumberFormatter::ImpGenerateFormats wasn't even thread safe (despite theIndexTable.maMtx): While one thread was cleaning and then filling it in ImpGenerateFormats, another thread could also enter ImpGenerateFormats and clean it again (and only later fill it), and the first thread might use the half-filled table after it left ImpGenerateFormats but before the second thread re-filled it. Change-Id: Iba4e9d57519d2b288718b9cb2e6f7546ba2bd5df
2015-08-18nNewExtended++ values are all known staticallyStephan Bergmann
Change-Id: I4134029257248c8eaea03354d043db2bb4cdba0e
2015-08-17make Link<> typedNoel Grandin
Change-Id: If16adfa3310df94c79d1a4fe9a9bb4f4f56365f0
2015-08-14fix windows build, 'unreferenced formal parameter'Noel Grandin
Change-Id: I0761b3c2220b3fa0c40836b1cd984a8d012bf8d6
2015-08-14fix windows build, partial revert of my commitNoel Grandin
adbc556c91ea4afaf3e952aa0a8329e004add63e "make Link<> instances typed" Change-Id: Ia8dd0d755e1c1ccf15938fc9f29bc83759d724a5
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
2015-08-14make Link<> instances typedNoel Grandin
and remove some unused code Change-Id: I934824401b5c528b07ad76f753f78440c4492885 Reviewed-on: https://gerrit.libreoffice.org/17703 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-12cppcheck: noCopyConstructorCaolán McNamara
Change-Id: I62da241f237b17fc192dd586bcd35b5bd6ea284a
2015-08-12move date/time guess work to SvNumberFormatter::GuessDateTimeFormat()Eike Rathke
Change-Id: I26f7c47f5b3cf4a3c4274832448d9c8076981af0
2015-08-11cppcheck: noCopyConstructorCaolán McNamara
Change-Id: I20dabf3106d8f74fac5cc59f93a006875b9e1f91
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: I1d88744207f7fa7c8230f8b29d9cc123f488dfaa
2015-08-06unit test for short name ambiguity, tdf#93080Eike Rathke
Change-Id: I97f33c8db59d2fc084b5e4eb389bff3d8254d4f0
2015-08-06Resolves: tdf#93080 short day name and month name may interfereEike Rathke
Change-Id: I088633e4cff278e1add8eeea8828f9ba9c9fb140
2015-08-04svx,starmath: inline some use-once typedefsNoel Grandin
Change-Id: I5a7405d326b7258cbed476c30f88e57559b4cc8e
2015-08-03tdf#93071 Remove trailing zeroes of scientific in General formatLaurent Balland-Poirier
Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c Reviewed-on: https://gerrit.libreoffice.org/17466 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-31comphelper: replace boost::function with std::functionMichael Stahl
Change-Id: I042c97d8472c3afceffba36808687f382571e6c2
2015-07-27inline a bunch of use-once macrosNoel Grandin
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-27remove some unused definesNoel Grandin
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-20loplugin:unusedmethods svlNoel Grandin
Change-Id: If86cc43fda4d138cf7f678d81fa2b35f68f3c03b Reviewed-on: https://gerrit.libreoffice.org/17162 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17svl: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: Ie1174d57b696f49c05010ece1b721185b0904fd6
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-15Revert "tools: replace boost::ptr_vector with std::unordered_map"Norbert Thiebaud
This reverts commit 218be53fe00aebed43df0b041de609b30f99ce95. MacOSX breaker
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-15cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Id438b987f72ae57bd4fa882e01fba17d3fa5b95b
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-11write trailing text subformat also to Excel .xls and .xlsx, tdf#92457Eike Rathke
... without generating 0;;;@ from 0;@ that has different semantics. Introduce css::util::NumberFormat::EMPTY to properly flag empty subformats and distinguish from UNDEFINED, everything else would be an ugly hack. SvNumberformat::GetMappedFormatstring() now correctly supports the trailing text subformat, so exports using it should get that automatically. Change-Id: If9a1bcc5ec5dfcf46688035e2b1428ab4747a68d
2015-07-11fix string access out of boundsEike Rathke
Could happen with a malformed subformat string like "[<0-0". Change-Id: I8eaab2bcb469d91432a41dc349060c273a6575a4
2015-07-10the main text format is not a trailing text format, tdf#92457 follow-upEike Rathke
Change-Id: I91d5a2ff9fb59b68b28dec0ed8b2802782e28727
2015-07-10Resolves: tdf#92457 handle trailing text subformat if others omittedEike Rathke
Change-Id: I597a5019540cef4700355df4d170c103e973797e
2015-07-07Replace GetAppData(SHL_SVDDE) with a static pointer varStephan Bergmann
Change-Id: I63d35dc3dbfb1185d5795316d2c1d77745d85451
2015-07-07SHL_SHL2 is unusedStephan Bergmann
Change-Id: I8e76b7e0f58143c883fa94a44d9681c6c3b9ac5a
2015-07-06loplugin:unusedmethods svlNoel Grandin
Change-Id: Ic136cce6abef44291b7236a6d709f0eee391f311 Reviewed-on: https://gerrit.libreoffice.org/16784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06a malformed string here can force an out of bounds indexOfCaolán McNamara
Change-Id: Ic4d922bd27b7f119a7f8b95bbb4d4ed9e89fe51d
2015-07-04Fix typosAndrea Gelmini
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-02coverity#1309053 Uncaught exceptionCaolán McNamara
Change-Id: Id251a32c5c46ae4bc759df506b6603880dfb47c6
2015-07-02coverity#1309052 Uncaught exceptionCaolán McNamara
Change-Id: Ic2d43c7f173d3cfbf20741261211468cbc1a11e4
2015-07-02coverity#1309051 Uncaught exceptionCaolán McNamara
Change-Id: Ia1ae16d9560c1eac294e29445e71dcee49ed16ce
2015-07-02loplugin:unusedmethods toolsNoel Grandin
Change-Id: I45f5489233879126d4f9ee3d01db504d950bb597 Reviewed-on: https://gerrit.libreoffice.org/16656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-30Fix typosAndrea Gelmini
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-29tdf#68016 Write fixture for current behaviour of SfxListenerTobias Lippert
Also: Make destructor of SfxListener more robust, so that it can be used in tests. Change-Id: I02b273ca8e527705c2d3ea3295ed0dec1c4f83ae Reviewed-on: https://gerrit.libreoffice.org/16483 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-06-27coverity#1308438 Uncaught exceptionCaolán McNamara
Change-Id: Ifa00f7776f796fef3bff4e78bedd2fdc47f52025
2015-06-27coverity#1308437 Uncaught exceptionCaolán McNamara
Change-Id: I9e445111091ce34d8f8c519279ab3d0447a0e271
2015-06-24Simplify uses of comphelper::string::equals with constant argumentStephan Bergmann
Change-Id: I7b12dd04f6811f71b776ee9168703434217b59c8
2015-06-24Get rid of comphelper::string::is*Ascii functionsStephan Bergmann
Change-Id: I99912112e5b009d7a143f9816d757cdf6ebb1783
2015-06-22Fix typosAndrea Gelmini
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>