summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2014-06-20fdo#71076: Write test for this.Kohei Yoshida3-2/+28
This was actually just one element of all that contributed to this bug. Unfortunately it's a bit hard to test the others. Change-Id: I7a0d88c0b829e7b7859aecfc20df87f6837ecb4a
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida19-49/+115
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19rhbz#1111216 allow to export an empty sheet to PDFDavid Tardon1-1/+1
This is to consolidate Calc's behaviour with the other applications, which always present at least one page for printing / PDF export. Change-Id: Iedf438618020c1e6d8ded5ac950c8ca2b12ad439
2014-06-19coverity#988426 Explicit null dereferencedCaolán McNamara1-7/+2
Change-Id: I76d1764c6bdce565705e87ae88e3eccc1c3a617e
2014-06-19coverity#983728 Uncaught exceptionCaolán McNamara1-4/+14
Change-Id: Ifa6f0bf05e9a71aa3db6c63291f99dc0665e57bf
2014-06-18loplugin:saloverrideMatúš Kukan1-1/+1
Change-Id: Ic2799c029c26dcd18a482b51f53248ef1c4b569a
2014-06-17fdo#40067: Fix for importing white space in strings (XLSX).Robin Kumar1-0/+1
Change-Id: I2590bd8b0d0c1d853caead60cf3af1b865d7fed7 Reviewed-on: https://gerrit.libreoffice.org/9805 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2014-06-17coverity#736887 Unintended sign extensionCaolán McNamara2-10/+12
also coverity#736888 coverity#736889 coverity#736890 Change-Id: I3e0d11d12c7da17297ba827f8125b9d99680121b
2014-06-17coverity#706049 Unintended sign extensionCaolán McNamara1-1/+1
Change-Id: Idb9c4aa6475fcd9edd0d76c06509df182bd2111c
2014-06-17coverity#706047 Unintended sign extensionCaolán McNamara1-1/+1
also coverity#706048 Change-Id: I93caf413db4582c8b2cdfbcf2358027c03ed113a
2014-06-17coverity#706041 Unintended sign extensionCaolán McNamara2-9/+11
also coverity#706042 coverity#706045 coverity#706046 Change-Id: I173603a638ef3e2d9ca358a4d4ba111910fac05f
2014-06-17coverity#706038 Unintended sign extensionCaolán McNamara1-2/+2
Change-Id: I363c90a71225744bacd0bedccf6938da63e0428f
2014-06-17coverity#1223091 Uncaught exceptionCaolán McNamara2-3/+5
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin114-509/+120
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17GPU Calc:Support nested formulae expansion for simple nestedhaochen4-75/+142
Change-Id: If1ae42a5481cf76942ff1ac5e0ee31a94159badd
2014-06-17document must be set modified when range name is defined, fdo#79451Markus Mohrhard1-0/+1
Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18
2014-06-16Cache table entry may be null. Let's not assume it's always non-null.Kohei Yoshida1-5/+11
This is done intentionally because we do need correct table index when resolving external reference. This requires we do need to allocate array with the same sheet size as the remote document. But we don't allocate Table instances for remote sheets that we don't reference, to save memory. Change-Id: I27fb6228f0e4558327aa4a04a6bccce8d2f1085f
2014-06-13unit test for ForcedArray matrix error propagation, fdo#79978Eike Rathke1-0/+5
Change-Id: Ie57d1104785bd2c4f090c9872d93d4f82dc6b2d1
2014-06-13loplugin:staticcallStephan Bergmann25-37/+37
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
2014-06-13resolved fdo#79978 propagate error through DoubleArray of matrixEike Rathke3-8/+20
Regression introduced with 83f77ab0661df992f241e5f9ecb1aa8f8eaeafec. Interpreter errors are transported using NaN coded doubles, using simple setNan()/isNan() to flag and ignore non-numeric values skips all error values. Change-Id: I0d3cb30262bc5ba7ee77e53a2bc45e56569fbc4b
2014-06-13resolved fdo#79957 propagate ForceArray through jump tokensEike Rathke1-1/+1
ForceArray parameters weren't propagated and enforced to array arguments on svJump tokens (FormulaJumpToken), namely IF, CHOOSE, IFERROR and IFNA. Change-Id: Icf9074f11b826655a52858d778d9a0122d207aa4
2014-06-13coverity#706945 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: I1da5edfdfd15ec8205de6467bd6c88dc5596426f
2014-06-13coverity#707016 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ie2299485b8017232b6cfcb855b6f2dbff2c5db6e
2014-06-12put the add/modify/delete line below the rangeCaolán McNamara1-57/+57
and left align them Change-Id: I9a8caeeea828a22efe83bd50ee073b1931510cf0
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida2-1/+15
Not beautiful, but doable. Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201
2014-06-12left align add/remove buttonsCaolán McNamara1-16/+12
Change-Id: Id25bebc12a38cfba0b55fc45e3635f2ee8217586
2014-06-12Put conditional add/remove buttons above the range selector...Caolán McNamara1-19/+19
and left align them instead of centering. Change-Id: I3cbe25d8ba1c5a96ac12b4afd34b7db42837718f
2014-06-12false warning C4701: potentially uninitialized local variableStephan Bergmann1-1/+1
Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78
2014-06-12GPU Calc:Add more judge for NAN in SingleVector parameterhaochen1-4/+4
Change-Id: I01f2576e9d8f6a2e677d1fb08097bc81f15bfbe0
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann35-116/+116
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11Change SfxTabPage::Reset param from ref to pointerStephan Bergmann32-101/+101
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-10Dead codeStephan Bergmann1-59/+0
Change-Id: Ib585af0755bdc6f7aeebc89d5d109d3bb6084e22
2014-06-10loplugin:bodynotinblockStephan Bergmann1-3/+3
Change-Id: Ia403e6c6c6747479adfc5d77b1306d9383b3e706
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann32-117/+117
...there were a number of call sites that passed undefined "null pointer references" (apparently in cases where the passed argument was actually unused) Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10-Werror,-Wtautological-undefined-compareStephan Bergmann1-11/+0
Change-Id: Ibf0abf45f0522c7e887f9ce4567aca647325b9ce
2014-06-10coverity#704261 Logically dead codeCaolán McNamara1-0/+3
Change-Id: I382750af7a3570ac8c9b53179db8ede873bf82af
2014-06-10coverity#1187709 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I9ec74a4bd2daf1444531377ca7a8d684c56aca93
2014-06-10fix assertMarkus Mohrhard1-1/+4
Change-Id: I55627efdf50bea4c1371b6c54df67cc71d5fce2f
2014-06-10GPU Calc:Support default 2nd parameter in ROUNDhaochen2-5/+13
Change-Id: I003ba9c945dbc3c6417d0502902610c0eaff2bda
2014-06-10GPU Calc:Support 3rd parameter in FLOORhaochen3-94/+79
Change-Id: Ie3a265f34a5f589d41e802b63df4be6a64989b05
2014-06-10GPU Calc:Support IF formula in GPUInterprethaochen3-0/+63
Change-Id: I9b2cebb99812d28e25c961129f73585d60690846
2014-06-10GPU Calc:Support string arguments in VLookuphaochen5-35/+124
Change-Id: Ic2400a13c07c5b08beccaeffef4899c8f8b43af8
2014-06-10fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida1-0/+5
When creating an embedded chart object during import, we don't want to create a default chart which would only mess up the chart data. With this change, ChartModel::initNew() is a no-op. Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
2014-06-10coverity#1187810 Uncaught exceptionCaolán McNamara2-3/+4
Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
2014-06-10fdo#76324: Make pasting a lot of cell notes faster by disabling broadcasting.Matúš Kukan1-0/+12
Change-Id: If76e80af8dcecf70e4ea624a7f538023c48a5108
2014-06-10Do not use GetSdrUndoFactory() in sc.Matúš Kukan2-4/+4
Change-Id: Ib1753203a8ca99d9a62b765bbe6e39f567064033
2014-06-10coverity#706877 Uncaught exceptionCaolán McNamara2-5/+6
Change-Id: I7364afe103f9912b31bde7f4e84baf16633b05f8
2014-06-10fix invalid memory access related to temporary objectMarkus Mohrhard1-1/+2
e.g. export of ooo116460-2.xlsx Change-Id: Id1ca2249e7b1f197a2df0d122c57dd97c4c4d785
2014-06-10don't use temporary objectMarkus Mohrhard2-2/+2
This avoids invalid memory access with fdo45268-1.xlsx Change-Id: If141df14d7d747023c944c83c2d8957abe8b95ad
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin119-679/+150
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b