summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-12-08Convert some test cases to using insertRangeData().Kohei Yoshida
To make sure they use range-based area listeners (when applicable) and make sure that they still pass. Change-Id: I75b73b6feb34057268277212733476ddede2b757
2014-12-08coverity#735379 annotate to dismiss Copy-paste errorCaolán McNamara
on the basis that it doesn't look obviously wrong to the original author after a once-over Change-Id: If333a17a2a9954d33ebefc6846e40e0e1e29c857
2014-12-08coverity#1257114 Result is not floating-pointCaolán McNamara
Change-Id: I420fa77d52ca72a4c4609b4610572b8735911b4b
2014-12-08Test also Calc export / import of images with special IDZolnai Tamás
Change-Id: I6c47c4b78a1dcd76287cdca16265d3170d2794f5
2014-12-08coverity#1257111 Uninitialized pointer fieldCaolán McNamara
Change-Id: I82c771f0ca7d2593a6f34dd84689cf055f9cf3f3
2014-12-08Don't treat clew as part of an "external" clcc moduleTor Lillqvist
There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-12-08add test for fdo#85304Markus Mohrhard
Change-Id: I35692a4a4ccfd1aa5938078bdf32a3eaff082453
2014-12-08don't update range name if ref not in update range, fdo#85304Markus Mohrhard
Change-Id: I1ccfacd98bd10f6ae1d4eaf7a705fe8863045697
2014-12-08we need the SdrPage for deleting the notes, fdo#86166Markus Mohrhard
The SdrPage that contains the shapes for the note captions is deleted before the notes. Prevent that case by deleting the notes before deleting the SdrPage. Change-Id: I13727cea7df0b033fb386a6a8e20dcadec743335
2014-12-08Revert "No need to have OpenCL optional at configure-time"David Tardon
As long as this requires bundling clcc, not allowing to disable it is unacceptable. This reverts commit 3b0b76462aa54f60bc9823d9c6ef64e5e35c1208. Conflicts: configure.ac Change-Id: I12b3d5e3325bbd03cd98e1fb5139705d694493c2
2014-12-07umm.. row is row and col is colEike Rathke
Change-Id: I26c62fa1fc97aa0dd4eda1102422e5f012a126eb
2014-12-07add ReorderParam.mbHasHeaders to include in Undo range markEike Rathke
Undo Sort did not select/mark the original range if it included header row/column. Change-Id: Ie4c800e7a44fd910c871731673093400c6400e4a
2014-12-07Test for linked graphic export / import of CalcZolnai Tamás
To avoid regression fixed by: 02b17c1bbdd19a978b9de646c0dacdad179c60de Change-Id: Iaf2dea0cf221cb0e53debe4c1c611aab86dc29ff
2014-12-07coverity#707985 Uninitialized scalar fieldCaolán McNamara
Change-Id: I1847b2900b513cc9b7b47767a15fb7e11d0abf26
2014-12-07Revert "coverity#1242942 Use of untrusted scalar value"Caolán McNamara
This reverts commit 093b3d30f257a01122042eb4d116ee54fbdb7033. it didn't help one bit to get coverity to see the bounds check Change-Id: Ibf01c7dea2b220290511871c2a650051295d389d
2014-12-07Introduce ParaspaceIncrease/Decrease commands in Writer and CalcMaxim Monastirsky
Change-Id: Ia8933697fd7bd827bb69c0976f13112eb2131888
2014-12-07add test case for fdo#86754Markus Mohrhard
Change-Id: I0f57c1124e62d8946b68c614e3ff09d26b569e77
2014-12-07handle all fill cases correctly, fdo#86754Markus Mohrhard
That special case only works if the whole source range contains formula cells. For now we just limit it to the special case of a single source cell. Change-Id: I71ccfde06edd97e5a9c78da22053583d05aac411
2014-12-07improve formattingMarkus Mohrhard
Change-Id: Id652ff18023965cb2bcc7c10520f95a51e8ac15d
2014-12-07add test for fdo#85856Markus Mohrhard
Change-Id: I4b3f8a0a0ebd089862ccffc452a2852b5868a51d
2014-12-07we need the original context that contains the data, fdo#85856Markus Mohrhard
Change-Id: I107201ab736b548f010d813540e0a9cec7402e79
2014-12-07put that attribute into an extension namespaceMarkus Mohrhard
Change-Id: I32f332bff332dd3e496e5d75c5660c2126a0905b
2014-12-07correct order of xml elements, related fdo#45266Markus Mohrhard
Change-Id: I03ea0e5bb064222e50dc08a682091ec3e23bf11d
2014-12-07remove invalid attribute that is not read anywayMarkus Mohrhard
Change-Id: Id7770ffda49ba7bc0ebc780c67c56b81152213f7
2014-12-07use correct xml element name, related fdo#45266Markus Mohrhard
Below data-pilot-groups the correct element name is data-pilot-group-member and not data-pilot-member. Change-Id: I41aecb7f85a881d13b3eaaa7be8de737b47ea312
2014-12-06that just looks wrong, related fdo#51935Markus Mohrhard
And many more documents. Detected by the new asserts in the document export code. Change-Id: I207ab433b096c3cbaecf1b993595eb36e6553a5e
2014-12-05Fix incorrect adjustment of range references during sort.Kohei Yoshida
... as a result of the introduction of range-based area listeners. With this change, the insertRangeData() function for ucalc no longer needs the additional bGroupListening flag. All tests pass with group listening enabled at all times. Change-Id: I9b9fb9443c727ff62badbd60ec9cd94094eb5a45
2014-12-05Ctrl+A and Data Sort took ages to broadcast ALL cellsEike Rathke
... now that also empty cells are to be broadcasted. Set dirty and broadcast only the effective data range as determined by Sort. This is more a workaround, a cleaner solution would be to refactor the SetDirty() algorithm to iterate only through broadcasters and use AreaBroadcast() to notify area listeners. However, this can also be easily backported to 4-3. Change-Id: I6d68ca0088cec6a8328a3e93364ac928ef69babe
2014-12-05trim also empty leading column ranges, fdo#81501 follow-upEike Rathke
Change-Id: Ieaeea85149e4b6d263b112205bb17c155e2d12be
2014-12-05actually use identical code for both byRow and byCol, fdo#81501 follow-upEike Rathke
Change-Id: I982e03a12dd80be0787f22dce4495065775e7de0
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: Ib256ed35a9ecb59a07ed31edec9bd8abb31a4610
2014-12-05Fix high memory usage when sorting cells in Calc. (fdo#81501)Supreme Aryal
Empty columns were being unnecessarily included in the sorting range which caused extra allocation. This happens when you select the entire sheet to sort. There was already code to skip empty trailing cells in rows but not to skip empty columns. Change-Id: Ieac22647bb13165cbf66cb1a93f567e5169fff6a Reviewed-on: https://gerrit.libreoffice.org/13294 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-12-05loplugin:unusedvariablecheckStephan Bergmann
Change-Id: I48c2421598152b64d40237eb0e917a680a27b643
2014-12-05-Werror,-WshadowStephan Bergmann
Change-Id: Ia03dc71a3d4e4380258e7f8d2ebc3c9f32d83493
2014-12-05Create 2 variants of SortReorderByRow.Kohei Yoshida
One for IsUpdateRefs() true, the other for IsUpdateRefs() false. Change-Id: I2b18e2b8a9770fd9499dd9fc0d26397e67c1e8ae
2014-12-05Refactor + minor bugfix in conditional formattingRenato Ferreira
Use lookup table to translate between listbox positions and condition modes in the condformat dialog. Use function to get the number of necessary edit fields instead of hard-coded if/switch statements. Fixed minor bug where conditions with no parameter, after created, would cause one edit field to appear when opening the dialog, even though it is not used, and would correctly disappear after selecting the option in the listbox again. Change-Id: I7310674162acc33825233866aac3196905dfe8ab Reviewed-on: https://gerrit.libreoffice.org/13300 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-12-05Extract this code block into an own function.Kohei Yoshida
This code block is sufficiently self-contained. Change-Id: I0eb2d3ee8175af60394ff4c408a9c245f77044d8
2014-12-05I got the terms 'union' and 'intersection' mixed up.Kohei Yoshida
When I said 'Union' originally, I meant 'Intersection'. Let's fix that. Change-Id: Iaef5035bb1dbb676c63bd17b3650266605104181
2014-12-05fdo#38835 strip out OUString globalsNoel Grandin
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
2014-12-05fdo85897 Make 'Function List' only accessible in sidebarSamuel Mehrbrodt
Change-Id: I875d1dd75c02f617814a934b34b5099f9c2279cc
2014-12-04be more explicitDavid Tardon
Change-Id: I33b639b3505d5db2ea8b708d80e68e576ec53308
2014-12-04impl. Clone for all subclasses of SdrPageDavid Tardon
Change-Id: Ie370161e51ff83cb605bc57d317ff945404e5611
2014-12-04ooo#93212 avoid slicing during construction of SdrPageDavid Tardon
Also hide copy ctor and assignment operator of all derived classes, to ensure that Clone() is the only method to make copies of them. Change-Id: Icb3b50c63b086abe8c9add32e3041fe19692d20b
2014-12-04Revert "introduce bool bBroadcast parameter for ScTable::SetDirty()"Eike Rathke
This reverts commit b8a7c39cf26f6d417efc34acdf6f4c2a6762052d. Bah, this was a leftover of an idea I didn't follow..
2014-12-03do not construct an ScAddress on each iterationEike Rathke
Change-Id: I3c89e649c289cd50035929d4025d0c18968b36f9
2014-12-03slightly speed-up things by using ScTable accessEike Rathke
Change-Id: I378cd0e1eaa0f41799e4e18d1daae813540da77d
2014-12-03introduce bool bBroadcast parameter for ScTable::SetDirty()Eike Rathke
Change-Id: I62c3714c8036fe8d4b70ee188546c7d69ece1ea5
2014-12-03Lotus 1-2-3: fix import of mathematical functionsAndras Timar
@EVEN, @ODD, @CSC, &CSCH, @LARGE, @SMALL, @MODULO, @ROUNDUP, @ROUNDDOWN, @SEC, @SECH Change-Id: I5b53bf662664a1a9adc56cb8da08b8d7a3916711
2014-12-03Lotus 1-2-3: fix import of database functionsAndras Timar
@DCOUNT, @DPURECOUNT, @DSTD, @DSTDS, @DVAR, @DVARS, @COUNTIF, @SUMIF Change-Id: I0aafaee6e402d9e842a44327e0dd33ffdd27e2c1
2014-12-03Lotus 1-2-3: fix import of @AVG, @PUREAVG, @COUNT, @PURECOUNTAndras Timar
Change-Id: I6cb1925778cd841c9cad406877f64cd0228f6ddb