summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2015-10-17ignore "current document" values at module level, tdf#92256 follow-upEike Rathke1-1/+13
Change-Id: I3540ccce9bee652f838efc86dc9abc6fc2416819
2015-10-16tdf#92256, c#19: Implement "current doc only" switchKatarina Behrens9-21/+108
that'll save calculation settings into current document only, not into global user profile Change-Id: I50ab31b679f712ff512f85a2cd58319d356462ea Reviewed-on: https://gerrit.libreoffice.org/19318 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh9.cxxAlbert Thuswaldner1-1/+1
Change-Id: Iaab7081df2f15e7228f7f99184a048abd26decc7 Reviewed-on: https://gerrit.libreoffice.org/19307 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh3.cxxAlbert Thuswaldner1-39/+39
Change-Id: I483c1aafe68da805ce194968153f1e6506327c51 Reviewed-on: https://gerrit.libreoffice.org/19300 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh8.cxxAlbert Thuswaldner1-7/+7
Change-Id: Iae5d5138e8a030bb6beb0ec646949892b96e2a63 Reviewed-on: https://gerrit.libreoffice.org/19301 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16use rtl::toAsciiUpperCase() instead of home baked lcl_toupper()Eike Rathke1-13/+4
Change-Id: I73dcf0d9f7741409c4dbf1c75f2d7f43649889bb
2015-10-16don not use libc toupper() because it might yield unexpected resultsEike Rathke1-4/+13
Change-Id: I6202d14b78d153e74b973f1f9fa523ad92f507a7
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky7-14/+14
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky13-24/+24
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky13-24/+24
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky7-14/+14
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16convert Link<> to typedNoel Grandin67-312/+254
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-16unit tests for formula error propagation, tdf#94869 relatedEike Rathke2-0/+77
Change-Id: Ia80de96f40d0abe391a530f74ef2b17a1dc2baae
2015-10-16Resolves: tdf#94869 propagate error from scalar double to matrixEike Rathke1-1/+8
Minimal invasive fix for the problem, further work on error propagation in array/matrix cases may be needed. Change-Id: Ia6a7fe8138b98b78ffbe89572eb51ab8e9c0fdca
2015-10-15add test for tdf#88179Markus Mohrhard2-0/+33
Change-Id: I8407a05e89129b533f62439d3ffedecd3248ec87
2015-10-15store external range names in the cache, td#88179Markus Mohrhard2-2/+26
Change-Id: I00b41f9b1fc2aec6f66c613cc02328b2968dca8d
2015-10-15WaE: variable set but not used, in NDEBUG buildTor Lillqvist1-0/+3
Change-Id: I9c88c1a43228a98a355d8ba17b0a06de0c5418c4
2015-10-15tdf#94924: Fix thinko from bdef079b39d273d2985d360a52597672c96b43fcTor Lillqvist1-7/+0
Change-Id: Iadeb311c364324d26acab8a856358e0a5c5673dc
2015-10-15tdf#94924: Add a more systematic OpenCL unit testTor Lillqvist2-0/+94
Avoid the horrible convention of hard-coding in a C++ unit test code addresses of data in the spreadsheet document being tested. Instead, mark the expected (= as calculated by Excel) and calculated (by LibreOffice) formula results, rectangular blocks of data, so that the C++ code can easily find it, and then compare. This is much more flexible. No need to edit hardoded row and column numbers in the C++ code when adding more test data. The systematic.xls file has documentation on how to maintain it. Change-Id: I4fb088fe21831dd3b3213d21916460a708aa0842
2015-10-15tdf#94924: Return correct result 0 from OpenCL MIN and MAX when all args emptyTor Lillqvist1-5/+24
Used the same style as existing code, added a new virtual isMinOrMax() and add some special casing in Reduction::GenSlidingWindowFunction(), and fsim_count() and fmax_count() functions that count how many non-NaN numbers we actually see. As such, I am not sure at all that this is an ideal way to do this, but will have to do for now. Change-Id: I846a8d24f4563f8fae1a45971a4ce202ed918487
2015-10-15tdf#94924: Return correct #DIV/0! error from AVERAGE in the OpenCL caseTor Lillqvist1-1/+5
Change-Id: If7326fd1242d90ff92e62d141714960476198605
2015-10-15tdf#94924: Fix handling of empty cells in OpenCL divisionTor Lillqvist1-8/+4
Not sure why the code from f5e7207053b857b6903a0ab9c161bed9ad7bcee9 did not produce correct results any longer. Anyway, now OpenCL division works right in case of empty or zero cells. Clearly I need to add unit tests to make sure this stuff keeps working. In later commits. Change-Id: I93b787ad5da453af1601768308fb614a332ed142
2015-10-15tdf#94924: Fix handling of empty cells in OpenCL subtractionTor Lillqvist1-7/+2
We get correct result by simplifying the code;) No need to have the outer "if (gid0 < X)" test around the calculation code generated by Reduction::GenSlidingWindowFunction(). The lhs and rhs check the gid0 range themselves and that leads to the desired result for subtraction. While fixing this I noticed that the handling of empty cells in division is also wrong. Will fix in another commit. Change-Id: Ia45bd81e692a17b0453cc79cd4673a00e119562a
2015-10-15tdf#93044 - fix silly calc copy/paste lifecycle issue.Michael Meeks1-1/+1
Change-Id: Ic3d26f45251ff27bacd572f0cb7a7aadf091e808
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin4-8/+4
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15convert Link<> to typedNoel Grandin6-9/+19
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14tdf#93318 reintroduce first/last button in Calc tab barTomaž Vajngerl1-2/+2
Seems that first/last button are still useful when there are a lot of tabs. Using ctrl+click is not discoverable enough for the users so for now bring the buttons back. Also turn on enabling/disabling buttons when they have some effect (this was turned off for Calc for unknown reasons). Change-Id: I6bbb04d44066ebc6b89fe3d941ecafdbb378284a
2015-10-14Improve performance by using the ScCalcOptions for OpenCL.Michael Meeks8-14/+38
Use the new configurationlistener to track the relevant setting. Change-Id: I9decea55df25f7eb34cd2fef94743d1907360d16 Reviewed-on: https://gerrit.libreoffice.org/19377 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-14java:remove unused importsNoel Grandin1-3/+0
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#1326130 Logically dead codeCaolán McNamara1-4/+1
Change-Id: I77453452183c0f3cb9b3a03c37142264d49a7d3a
2015-10-14LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payloadMiklos Vajna1-1/+2
Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c
2015-10-14unit test for tdf#94514Eike Rathke1-0/+4
Change-Id: I36f3eb19c096b838969ddd5ff10470f2c2e2f18f
2015-10-14Assume util.ValueComparer.equalValue is precise enough hereStephan Bergmann1-9/+3
...in this poorly understood legacy qadevOOo code Change-Id: Ic1322ecd4092c4be37a8ffe338b7b5a98397ee1f
2015-10-14tdf#95041 Fix sidebar node namesSamuel Mehrbrodt1-1/+1
Change-Id: I3435de44e04268dc557faedba944c2c33385b89c
2015-10-14These places apparently want to unbox a value boxed as an AnyStephan Bergmann1-36/+9
...but what the original code would have done is try to unbox as an Any again, which would throw IllegalArgumentException. As the unboxed value would only be used for printing to System.out (and Any.toString result is just fine), just don't bother to unbox at all. (In the second place, the oldValue result would further be used in a util.ValueComparer.equalValue call, but that internally takes care of correctly unboxing its arguments, anyway.) Change-Id: I6802d1acd787f19346f66b418372be1701f69139
2015-10-14casting before calling getClass() is a waste of timeNoel Grandin1-5/+2
Change-Id: Id88aa9e43b736e6fdeaf098a952dae5421468f83
2015-10-14convert Link<> to typedNoel Grandin5-9/+7
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13Resolves: tdf#94514 more restrictive check on end of column specifierEike Rathke1-1/+1
... needed since we accept A:A entire column notation without the need of a row number being specified. Change-Id: I84f6a39e213a4b554e0188e73b4acb34c7a98460
2015-10-13remove some useless commentsNoel Grandin1-1/+1
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-13cppcheck:variableScopeNoel Grandin3-7/+5
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af Reviewed-on: https://gerrit.libreoffice.org/19329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Related tdf#93688: save CalcA1|ExcelA1 also as a global optionKatarina Behrens1-0/+4
without this patch, it's only possible to save it on per-document base Change-Id: I13359b751ef766c7de53e9e21c299aadbbc0fbf4 Reviewed-on: https://gerrit.libreoffice.org/19248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-12Replace "SAL_FINAL" with "final" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-1/+1
Change-Id: Ifa5ba21308e32df44571fa2941370f2f11179580
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann559-7861/+7861
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann37-83/+83
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12tdf#39468 translated german comments in tabvwsh2.cxxAlbert Thuswaldner1-18/+18
Change-Id: I14879cdebe95926ce24a8c3e821488aeb1f98bc0 Reviewed-on: https://gerrit.libreoffice.org/19306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-12tdf#39468 additional comments translated in dbfunc3.cxx and grindwin.cxxAlbert Thuswaldner2-3/+3
Change-Id: I0d610a49adc0e87ff1a4e98244cb14f585239586 Reviewed-on: https://gerrit.libreoffice.org/19291 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-12Related tdf#93688: better place this into import finalize phaseKatarina Behrens3-10/+18
Change-Id: I08066248973f4560f8f5d149e9f84c4c2302f12c
2015-10-12convert Link<> to typedNoel Grandin64-303/+238
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12loplugin:mergeclassesNoel Grandin2-18/+8
Change-Id: I935c6144a7731091e7fdb0a818b54f30d3304f2e
2015-10-12convert Link<> to typedNoel Grandin2-3/+2
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>