summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-24Resolves fdo#76160 Calc invalid image position on zoomingDamien Chambe
Change-Id: Idd268a3378a902c173dc4d75d879714c2e919b2d Reviewed-on: https://gerrit.libreoffice.org/9792 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-23fdo#76203 - use consistent titlecase for UI title labelsJoren De Cuyper
Change-Id: Icae67c083ca867c89cff7f9d5d44dbbe4aadcba9 Reviewed-on: https://gerrit.libreoffice.org/9858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-23Translate German comments, fix some wsPhilipp Weissenbacher
There were a lot of spurious \t's in the code. I replaced them with a space. Change-Id: I12b3207f0e4d217fb5d4e406e7b16a0d29f3bcaf Reviewed-on: https://gerrit.libreoffice.org/9831 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-23remove commentsMarkus Mohrhard
Change-Id: I674e1443ce4e856206eeec7ea62083fcf0422f51
2014-06-23accept also one cell chart ranges for external data provider, fdo#79772Markus Mohrhard
Change-Id: I2078205b0aecdea13e342c4a625b82a70df0fb4f
2014-06-20fdo#71076: Write test for this.Kohei Yoshida
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 Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19rhbz#1111216 allow to export an empty sheet to PDFDavid Tardon
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 McNamara
Change-Id: I76d1764c6bdce565705e87ae88e3eccc1c3a617e
2014-06-19coverity#983728 Uncaught exceptionCaolán McNamara
Change-Id: Ifa6f0bf05e9a71aa3db6c63291f99dc0665e57bf
2014-06-18loplugin:saloverrideMatúš Kukan
Change-Id: Ic2799c029c26dcd18a482b51f53248ef1c4b569a
2014-06-17fdo#40067: Fix for importing white space in strings (XLSX).Robin Kumar
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 McNamara
also coverity#736888 coverity#736889 coverity#736890 Change-Id: I3e0d11d12c7da17297ba827f8125b9d99680121b
2014-06-17coverity#706049 Unintended sign extensionCaolán McNamara
Change-Id: Idb9c4aa6475fcd9edd0d76c06509df182bd2111c
2014-06-17coverity#706047 Unintended sign extensionCaolán McNamara
also coverity#706048 Change-Id: I93caf413db4582c8b2cdfbcf2358027c03ed113a
2014-06-17coverity#706041 Unintended sign extensionCaolán McNamara
also coverity#706042 coverity#706045 coverity#706046 Change-Id: I173603a638ef3e2d9ca358a4d4ba111910fac05f
2014-06-17coverity#706038 Unintended sign extensionCaolán McNamara
Change-Id: I363c90a71225744bacd0bedccf6938da63e0428f
2014-06-17coverity#1223091 Uncaught exceptionCaolán McNamara
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17GPU Calc:Support nested formulae expansion for simple nestedhaochen
Change-Id: If1ae42a5481cf76942ff1ac5e0ee31a94159badd
2014-06-17document must be set modified when range name is defined, fdo#79451Markus Mohrhard
Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18
2014-06-16Cache table entry may be null. Let's not assume it's always non-null.Kohei Yoshida
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 Rathke
Change-Id: Ie57d1104785bd2c4f090c9872d93d4f82dc6b2d1
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
2014-06-13resolved fdo#79978 propagate error through DoubleArray of matrixEike Rathke
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 Rathke
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 McNamara
Change-Id: I1da5edfdfd15ec8205de6467bd6c88dc5596426f
2014-06-13coverity#707016 Uncaught exceptionCaolán McNamara
Change-Id: Ie2299485b8017232b6cfcb855b6f2dbff2c5db6e
2014-06-12put the add/modify/delete line below the rangeCaolán McNamara
and left align them Change-Id: I9a8caeeea828a22efe83bd50ee073b1931510cf0
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida
Not beautiful, but doable. Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201
2014-06-12left align add/remove buttonsCaolán McNamara
Change-Id: Id25bebc12a38cfba0b55fc45e3635f2ee8217586
2014-06-12Put conditional add/remove buttons above the range selector...Caolán McNamara
and left align them instead of centering. Change-Id: I3cbe25d8ba1c5a96ac12b4afd34b7db42837718f
2014-06-12false warning C4701: potentially uninitialized local variableStephan Bergmann
Change-Id: Idd127d949837a4b327a77217abe70f50e3633d78
2014-06-12GPU Calc:Add more judge for NAN in SingleVector parameterhaochen
Change-Id: I01f2576e9d8f6a2e677d1fb08097bc81f15bfbe0
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann
...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 Bergmann
...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 Bergmann
Change-Id: Ib585af0755bdc6f7aeebc89d5d109d3bb6084e22
2014-06-10loplugin:bodynotinblockStephan Bergmann
Change-Id: Ia403e6c6c6747479adfc5d77b1306d9383b3e706
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann
...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 Bergmann
Change-Id: Ibf0abf45f0522c7e887f9ce4567aca647325b9ce
2014-06-10coverity#704261 Logically dead codeCaolán McNamara
Change-Id: I382750af7a3570ac8c9b53179db8ede873bf82af
2014-06-10coverity#1187709 Uncaught exceptionCaolán McNamara
Change-Id: I9ec74a4bd2daf1444531377ca7a8d684c56aca93
2014-06-10fix assertMarkus Mohrhard
Change-Id: I55627efdf50bea4c1371b6c54df67cc71d5fce2f
2014-06-10GPU Calc:Support default 2nd parameter in ROUNDhaochen
Change-Id: I003ba9c945dbc3c6417d0502902610c0eaff2bda
2014-06-10GPU Calc:Support 3rd parameter in FLOORhaochen
Change-Id: Ie3a265f34a5f589d41e802b63df4be6a64989b05
2014-06-10GPU Calc:Support IF formula in GPUInterprethaochen
Change-Id: I9b2cebb99812d28e25c961129f73585d60690846
2014-06-10GPU Calc:Support string arguments in VLookuphaochen
Change-Id: Ic2400a13c07c5b08beccaeffef4899c8f8b43af8
2014-06-10fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida
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