summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-03-23loplugin:constantparam in scNoel Grandin
Change-Id: I437367b8c6960db730a69c020ba82792a9170d01
2016-03-22Resolves: tdf#98642 comparing RPN insufficient in shared formula detectionEike Rathke
Change-Id: I78812c2d6fdb3464ccc2ebeee901a76f675effa4
2016-03-22enquote sheet name of other-sheet-local named expressions, tdf#96915 follow-upEike Rathke
Change-Id: I8fde73dc86c29054ec05bbc60e212ae660c78376
2016-03-22use an empty block as empty cell flag, related tdf#88849Markus Mohrhard
This should reduce the memory consumption for matrix objects quite a bit. Change-Id: I7a768f0c45777678000f4f8c25868107b22d62a7 Reviewed-on: https://gerrit.libreoffice.org/23383 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-22tdf#84938 replace #define with scoped typed_flagsJochen Nitschke
'RangeType' becomes 'Type', goes into ScRangeData and is strongly typed now. This revealed a misuse of RangeType in vbanames.cxx where the uno equivalent was expected, but it had no impact because both values were 0. Change-Id: I0b4764d1411c709a1faa243ec70afeb160410990 Reviewed-on: https://gerrit.libreoffice.org/23415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-21unit test for copying cells within named range, tdf#93127Eike Rathke
Change-Id: I7bf6cd1c328e1d6eda5b67f05ec4870efe001b68
2016-03-21drop unused headerDouglas Mencken
Change-Id: Idca6bfe816f9e5fbade92a57b99eba59a17c1394 Reviewed-on: https://gerrit.libreoffice.org/23372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-21Resolves: tdf#93127 copying cells does not modify named expressionsEike Rathke
Change-Id: Ic3d0b0a709ecfeade4b3a9c4be9e0c9cfd766103
2016-03-21UBSan: SfxInt16Item/SfxInt32Item mismatchStephan Bergmann
...presumably a typo in 0bd43b8c782135e5eb3018ee345a3bd409419a1b "sc lok: Extend uno commands: .uno:SelectRow/Column" Change-Id: I725876ab17ffeb5814919f7b418fedb4506ecf91
2016-03-21sc tiled rendering: Fix a corner case with shift modifierPranav Kant
With shift modifier, all rows/cols should get deselected upto the current cursor position from the last cursor position *if* the last cursor position *with* KEY_MOD1 resulted in a deselection of row or column. Added a unit test to support this. Change-Id: I7b338ca52505d59480209802ee65a6d64b0ac67d Reviewed-on: https://gerrit.libreoffice.org/23364 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2016-03-20no need to declare the variable outside of the for loopMarkus Mohrhard
Change-Id: I1289d7e9b5f3459882582b494006a69075a0b860 Reviewed-on: https://gerrit.libreoffice.org/23382 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-20loplugin:stringconstantTor Lillqvist
Change-Id: I94db03d7aa812df584cc13e75c132c09ce4b33aa
2016-03-20-Werror,-Winconsistent-missing-overrideTor Lillqvist
Change-Id: Ic197ab65be361ae3e642da2e20da4aba5cb93a74
2016-03-20tdf#45904 move java based api tests to c++kadertarlan
Change-Id: Ibd9411e844c8e42fe625ffd979e936f827099ee9 Reviewed-on: https://gerrit.libreoffice.org/22604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19simplify new testMarkus Mohrhard
Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1
2016-03-19fix previous commitMarkus Mohrhard
Change-Id: I5f7ec7f48bbcb995609c3d3ef4f64b9e6230b395
2016-03-19tdf#70448, Test for SetFormula functionJaskaran
Change-Id: Ie6899b90f02f8344710515af847170783a5e0d0f
2016-03-19tdf#50916 : Unit tests for the refactored ScMarkData...Dennis Francis
... and for the newly created ScMultiSel class Change-Id: I567d9dfa83da05de05b35e3b3949060358ea7e70
2016-03-19tdf#96099 fix trival typedef, sc/source/core/, std::vector<std::string>Jakub Trzebiatowski
Change-Id: I45c2e397374732b6ad44803863fe271bffbe4ddb Reviewed-on: https://gerrit.libreoffice.org/23013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19tdf#82641 Currency drop-down listMohammed Abdul Azeem
Currency drop-down list has been added. It retains the position of selected entry. Clicking on button toggles between the previously selected currency and number formats. Change-Id: I0dea8fc2773497bfaababa418f119d0a5e76cb03 Reviewed-on: https://gerrit.libreoffice.org/22958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-19simplify code a bitMarkus Mohrhard
Change-Id: Iffc3fa3240750892e40393c147acc6ba32cec117 Reviewed-on: https://gerrit.libreoffice.org/22573 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19sc: replace conversion macrosJochen Nitschke
try harder to fill array at compile time replace C-cast with static_cast for code checks Change-Id: I9043c983e1f86c8fb4e7325129f07689cf928b21 Reviewed-on: https://gerrit.libreoffice.org/23325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-19tdf#84938 replace #defined constant with scoped enum classJochen Nitschke
put 'enum class Type' into ScServiceProvider The mapping of historic stardiv.* service names relied on correct order in array aOldNames and fixed numbers for service types via #define. This mapping is now done the same way as for the other service names. Nice side-effect, we don't need to assign numbers any more. getFieldType moved up in one namespace with the other stuff for ScServiceProvider. Change-Id: I932d1d1475563db82061ec7b5913f2361a6f4362 Reviewed-on: https://gerrit.libreoffice.org/23365 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-19adjust sheet references when copying sheet-local named expressionsEike Rathke
... so references to the local sheet point to the new scope's local sheet and not to the originating sheet. Change-Id: I7f33f4e9b379ec01d6c2587e92ffe851892fc32d
2016-03-18sc tiled rendering: Unit test for extended .uno:SelectRow/ColumnPranav Kant
Change-Id: I0ab89598af28e12bebc271f7bce1e6166cb83b1d
2016-03-18sc lok bccu#1602: Don't crash when the copy functionality is not allowed.Jan Holesovsky
Change-Id: I0fe5871782d5892f9eda201be042648a45b9f9d4
2016-03-18unit test for other-sheet-local names, tdf#96915Eike Rathke
Change-Id: Iee3edb4603830a4912cda5c1f16029560be04857
2016-03-18sc lok bccu#1519: More general solution to detecting cell resizes.Jan Holesovsky
This covers even the row height updates when the text in the cell changes etc. Change-Id: Idb570fa2c3c4d3c6bcdb381f8ce07a0311354083
2016-03-18adjust other-sheet-local relative sheet references, tdf#96915Eike Rathke
... so they still point to the same sheet as if used on the original local sheet. Change-Id: Id40378deaf70c1645bfa52ea28aa39775d16aec5
2016-03-18let FindRangeNamesInUse() collect also sheet-local names, tdf#96915 relatedEike Rathke
... though CopyRangeNamesToClip()/copyUsedNamesToClip() don't handle them yet. Change-Id: I570c13725ed6448688d1a2ce877f8bc1d1ff9916
2016-03-18convert SvButtonState to scoped enumNoel Grandin
Change-Id: I601f9e2fe33e85cf3f7dc52ee20d68202bd2b09d
2016-03-18convert SvLBoxButtonKind to scoped enumNoel Grandin
Change-Id: Ia8e19473132cf95837acc499c5831b5ca8786a68
2016-03-18Resolves: tdf#96915 implement other-sheet-local named expressionsEike Rathke
Change-Id: I0d62536caa6eb455473a755067abc585662cd9a5
2016-03-18drop unused params from SvLBoxItem and all it's subclassesNoel Grandin
looks like this is fallout from commit ac7acb0a "Merged SvTreeListBox and SvLBox." (in year 2012) Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906
2016-03-18Related: tdf#42629 Improve the readability of the status bar functionsDag Wieers
Currently there is no spacing between functions in the status bar. Which makes it hard to read. E.g. Average=4.5;Count=8;Max=8;Sum=36 I think spacing and using colons works out better: Average: 4.5; Count: 8; Max: 8; Sum: 36 Change-Id: I866bd06519bf03bbe146eee47128a476aff06ba1
2016-03-18loplugin:defaultparamsTor Lillqvist
Change-Id: Ice974025968b6b10dc657a1676b2ecf9c07f420c
2016-03-18loplugin:constantfunction in editengNoel Grandin
Change-Id: I8f8414b4867d3248e6d836ed8037de4da41b97f1 Reviewed-on: https://gerrit.libreoffice.org/23331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-18loplugin:constantparam in formulaNoel Grandin
Change-Id: I3adeed435b62ae60b5d0d4b763dceced5675cd85 Reviewed-on: https://gerrit.libreoffice.org/23330 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17sc: Improve documentation, and a cosmetic change.Jan Holesovsky
Change-Id: Id99b963602816710a2c6767795343a9518833b43
2016-03-17sc lok: Extend uno commands: .uno:SelectRow/ColumnPranav Kant
Now also accepts a row/column index with modifier key to do various selection/block selection/negative selection operations Change-Id: Idfb56b94ca2eb4553eb9388b786f5d1e89448ec2 Reviewed-on: https://gerrit.libreoffice.org/23256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-03-17loplugin:constantparam in sfx2Noel Grandin
Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd Reviewed-on: https://gerrit.libreoffice.org/23321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17ensure a correct index is assigned to a duplicated ScRangeData instanceEike Rathke
ScRangeName::insert() assigns an index only if the passed ScRangeData instance's index was 0. Duplicating an ScRangeData object duplicates also the index, so effectively two instances with the same index could be inserted to the named expressions collection, a following ScRangeName::findByIndex() retrieved one of them by chance. Change-Id: Ic141ffb1a683bda5907f4359167da84faf1649e1
2016-03-17loplugin:constantparam in svlNoel Grandin
Change-Id: If23e43beb401047825641817e09d7fdeb904f9d9 Reviewed-on: https://gerrit.libreoffice.org/23317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17loplugin:constantparam in svxNoel Grandin
Change-Id: I50fa7e4c7525d2f8107a11d8203957a47680eb80 Reviewed-on: https://gerrit.libreoffice.org/23303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17sc: remove unused member variableJochen Nitschke
aCmdArr is only set but never used Change-Id: I90b2b954383122696190692890fa1fb6143486f4 Reviewed-on: https://gerrit.libreoffice.org/23306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-16sc lok bccu#1519: Broadcast cell size changes, they affect the document size.Jan Holesovsky
Change-Id: Icd42c0252c28a24ac9c6c535a146a2f3b3beda17
2016-03-16more fixes for "loplugin:constantparam in unotools/"Noel Grandin
Change-Id: I357164f80970958ead86cf9ff691fe6f6f73b0f1
2016-03-16loplugin:constantparam in xmloff/Noel Grandin
Change-Id: I376f1d4ac65de584f9caa6ba8e25e43216374112 Reviewed-on: https://gerrit.libreoffice.org/23295 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-16fixes for "loplugin:constantparam in unotools/"Noel Grandin
which only compiled because bool converts to char in C++, sigh. Change-Id: I710bdd78bd93255635189da8e9751bff741a75a2
2016-03-16loplugin:constantparam in unotools/Noel Grandin
Change-Id: I016cf96af3a93c8f2114657a7e59599f68446ddc Reviewed-on: https://gerrit.libreoffice.org/23296 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>