summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-01-30fix buildCaolán McNamara
Change-Id: Ib2ab6140c45b858acbe0b97870d2d64c7189d875
2015-01-30tdf#88810 cleanup (append() for number to string conv.)László Németh
Change-Id: I800c8c4a2cb55a8d9f46a5c5cf1f79dd44051dfe
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-29parse with locale decimal separator, tdf#88740 relatedEike Rathke
And use a proper string to double conversion and early bail out conditions. Change-Id: I6c89dd850405ad74ebd175800131cdcac19a8c86
2015-01-29tdf#88810 XLSX export: more cleanupLászló Németh
Change-Id: I2a4ddb2e3a3ff629243dba46880b8c986dfde2dc
2015-01-28Disable the 'Test OpenCL' button once pressedTor Lillqvist
Change-Id: I6678502472f646ae770be4d17d85f2a02fba8f4b
2015-01-28Make the OpenCL test document construction and calculation a bit fasterTor Lillqvist
Turn off AutoCalc while constructing it and then calculate it when ready. Use a smaller number for the minimum formula group size required for OpenCL to be used while calculating it. Use less hardcoded magic numbers in the code. Change-Id: I6f2c3b1035947a542776d6087bd229cb9c2892fb
2015-01-28Make SetGlobalConfig() publicTor Lillqvist
Change-Id: Ia4ac90c369a8e33ddefc6a87f877b98491efcede
2015-01-28Make GetAutoCalc() and SetAutoCalc() publicTor Lillqvist
Change-Id: I25d681b4b1e35af49b6631b2c3de2ccc296b9b42
2015-01-28Add NORMDIST testTor Lillqvist
Change-Id: I9c3d5b94d22566d63f49d9dcd73a97df97e9802e
2015-01-28Make phi() and integralPhi() static and publicTor Lillqvist
Needed for the NORMDIST() OpenCL implementation test doc. Change-Id: I40f0d5d7ccf5963fa47d6648873ab23f8adf7aea
2015-01-28Use minimum necessary value for nRowsTor Lillqvist
Just temporary (haha, let's see...), the Right Thing would be to turn the mnOpenCLMinimumFormulaGroupSize down to some small value for the duration of the test document's construction and calculation, and then return it to its prevous value once the document has been dismissed. Change-Id: I52e9813af1ceb2410ef74723fadee21b89cffe47
2015-01-28Make ScInterpreter::GetGlobalConfig() SC_DLLPUBLICTor Lillqvist
Change-Id: Idd27688055a08ffe9a6970c28cd7da6f6e1a7f66
2015-01-28Add ROUND testTor Lillqvist
Change-Id: Ifa0c2bc6767d9d2e9b27c5a6b30929463b20407c
2015-01-28Add NORMSINV testTor Lillqvist
Change-Id: I0acdc5012a89d90cab6b30fe26b321d956982586
2015-01-28Make gaussinv() static and publicTor Lillqvist
It does not access any member so can be static. It is needed in the OpenCL test spreadsheet to verify the results from the OpenCL implenentation of NORMSINV. Change-Id: I72c1f6e6c0c04c0e25f4779ab334158b8d4e371d
2015-01-28let have FormulaGroupAreaListener a virtual dtorEike Rathke
Change-Id: I1f5e246d68971124ef21e9c2d0db80499928998b
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-27Resolves: #i85241# store settings about value highlighting in documentTsutomu Uchino
(cherry picked from commit d3fb83cbaea17418def1ace6e868d8892d64d85d) Change-Id: I34b4ee12e4af8300a51d72f0dd36e27c79832eb5
2015-01-27tdf#88810 XSLT address export: cleanup and more optimizationLászló Németh
Change-Id: I5994bf129960863a081b0e263241b62848ad153c
2015-01-27add unit test for tdf#88786Eike Rathke
Change-Id: I0cb533399a1e3ce83875f2966cb59354e92f05b5
2015-01-27Resolves: tdf#88786 correct matrix sub operationEike Rathke
Change-Id: Ib5ce2ffe17cc34e0b3f04ebc06ea392707b7b9e6
2015-01-27tdf#88810 avoid unnecessary massive O(U)String allocations in XLSX exportLászló Németh
Using OStringBuffer instead of fixed size character arrays. Change-Id: I06b705e2159a1ef5990f9eb0ffedd20fe277c616
2015-01-26operate on UTF-8 encoded string, tdf#76870 follow-upEike Rathke
Change-Id: I00088a34a41f8adc4204f490fedee434c96bac67
2015-01-26fdo#76870 Add support for Excel2013 function ENCODEURLWinfried Donkers
Change-Id: I369bcd58055364757b6a098fc3aa0c0065c79b67 Reviewed-on: https://gerrit.libreoffice.org/13478 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-26Revert "fdo#88810 avoid unnecessary massive O(U)String allocations in XLSX ↵László Németh
export" Build problem on Android-ARM platform... This reverts commit 0d2ce71afe0cb2657a6919e641e54c8fc9ba288c.
2015-01-26fdo#88810 avoid unnecessary massive O(U)String allocations in XLSX exportLászló Németh
Change-Id: Ie6a024463e7ee9b0f4492b2431533708a578faf0
2015-01-26Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26coverity#1266480 silence Pointer to local outside scopeCaolán McNamara
Change-Id: I2b4b0704afbf750aae0ef59f058c6000a06dc185
2015-01-26coverity#1266519 Use after freeCaolán McNamara
Change-Id: Ib6b3b33f4b45e3bb0ff35d9e82db46bf59c60916
2015-01-26coverity#1266451 Explicit null dereferencedCaolán McNamara
Change-Id: I66beecf2e1bb721f6bd2b563cc04c02570a0a306
2015-01-26coverity#1266448 Explicit null dereferencedCaolán McNamara
Change-Id: If16ef982e7d9ae85ee73fa21ef97b328714bf9b8
2015-01-26coverity#704680 Dereference after null checkCaolán McNamara
Change-Id: I50a6067b828cb5277f91aba697b419b8d0167efe
2015-01-26coverity#1266459 Improper use of negative valueCaolán McNamara
Change-Id: I9b924f7a6e5f216e1429259239ac598a10d1d5dd
2015-01-26coverity#1266452 Explicit null dereferencedCaolán McNamara
Change-Id: I2cc0edfdc432f35233edef4d8fb2a60c34e1fc7f
2015-01-26coverity#1266450 Explicit null dereferencedCaolán McNamara
Change-Id: Ia9a2ef623eeeed1d31bf62a18086b540dc394810
2015-01-26coverity#703982 Unchecked return valueCaolán McNamara
Change-Id: Ibcea87db4fcb9d8cd9d1370ea314ffbc7a8acc64
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-26convert to use std random instead of boostTomaž Vajngerl
Change-Id: I7746b17a41a6f8807d8ef441ad44a005d04775af
2015-01-25coverity#1266474 Dereference null return valueCaolán McNamara
Change-Id: I240be73629a26a7067bfde5d2b662315a3259d1f
2015-01-25Revert "Globally disable threading for these for now."Michael Meeks
This effctively reverts commit d677bf455f08264096edd13e3306c55f74f7ee1d. It appears that the memory corruption was an out-of-memory condition on 32bit Windows, so restore XclExpRow threading for now. Change-Id: I85e61e5850bd8ff3288dac39de7699cd05dd4de8
2015-01-25coverity#1266498 Uninitialized scalar variableCaolán McNamara
Change-Id: I203b9ff32cca1ca8d03911567290e534e082ee52
2015-01-25coverity#1266509 Useless callCaolán McNamara
Change-Id: Ie2b17f067e5f9a7bacc5e6488e142d0171741106
2015-01-24Resolves: rhbz#1179642 crash in GetFocus with empty mpPreviouslyFocusedListBoxCaolán McNamara
Change-Id: I7559067c00617482d34e7cbdd177202868cbfc76
2015-01-24Resolves: tdf#81124 crash on setting autofilter on column with no contentCaolán McNamara
Change-Id: Id53e589789144d892427a8a4ec1af1926aa97b52
2015-01-24cppcheck: fix redundantPointerOp reportsJulien Nabet
Change-Id: Ida4bf3bf03d49856eb16329c4f88b9507f330c6f Reviewed-on: https://gerrit.libreoffice.org/14150 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-24coverity#1265796 Dereference null return valueCaolán McNamara
Change-Id: I779dacdb7fb18ba8148e932b4dc684d08f824cbe
2015-01-24coverity#1265804 Dereference null return valueCaolán McNamara
Change-Id: Ie5622275aa5534714001ad04cf0ae4af365b3a9c
2015-01-24coverity#1265807 Dereference null return valueCaolán McNamara
Change-Id: I545a4ecee209d4198caebbcf394eccfe113a32a4