summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-01-08add RANK.EQ, RSQ; repair RANK.AVG test caseZdeněk Crhonek
Change-Id: I16aa622a526e52a0b9455cbf1eeea9991dbdd6b6 Reviewed-on: https://gerrit.libreoffice.org/32733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08add SLOPE test caseZdeněk Crhonek
Change-Id: Icc592273d980c62e666a4c3b4e829d2bc35016cc Reviewed-on: https://gerrit.libreoffice.org/32812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08add SKEW test caseZdeněk Crhonek
Change-Id: I072d8879d3af9bd59eb10871e96a67ebf1af76a6 Reviewed-on: https://gerrit.libreoffice.org/32811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08add UPPER and VALUE test caseZdeněk Crhonek
Change-Id: Iaffbc03cd0c39f08d141eeae705568235902a6e4 Reviewed-on: https://gerrit.libreoffice.org/32737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08add AMORLINC testcaseZdeněk Crhonek
Change-Id: Id588afe3c447ce938f91c51e084685493ba83fd5 Reviewed-on: https://gerrit.libreoffice.org/32813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08tdf#90290 use custom asserter in ucalc_sharedformula.cxxkerem
Change-Id: I4a27412167beaddee55cdcae2724030bbc22ec04 Reviewed-on: https://gerrit.libreoffice.org/32800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-08tdf#90290 use custom asserter in ucalc_sort.cxxkerem
Change-Id: Ie6123113e270e75e942716dda0ed4da71b2a2afc Reviewed-on: https://gerrit.libreoffice.org/32824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-07coverity#735796 Explicit null dereferencedCaolán McNamara
Change-Id: I7468fd9637421b8b854217c19969f94e9ab0cab4
2017-01-07Typo: Acess->AccessJulien Nabet
Found thanks to Buovjaga Change-Id: I73e36f50a1fd393859ba775ab084a488047864a3 Reviewed-on: https://gerrit.libreoffice.org/32810 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-01-07add PERCENTRANK, PERCENTRANK.INC, PERCENTRANK.EXC test caseZdeněk Crhonek
Change-Id: Id997b198c830669937be0cf995455ac03f1c4a9b Reviewed-on: https://gerrit.libreoffice.org/32795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-06recognize the broken "Err:xxx" written by 5.2 and earlier, tdf#105024 relatedEike Rathke
... and handle same as "#ERRxxx!" if present. Change-Id: I1ebb31d628b080c52b450a8fe624c20e9e1188b7
2017-01-06read single error constant formula as such, tdf#105024 relatedEike Rathke
... without creating a token so when writing again no leading '=' is prepended, with which we can enable 5.2 to read such thing correctly, and when re-reading in 5.3 it also doesn't lead to a "real" formula. Change-Id: I26fbd20536436b49b781e2bbb5bba1dc6bafbb37
2017-01-06Resolves: tdf#105061 Only one text box shown in case of 'between'Caolán McNamara
non-layout ScCondFormatList widget not responding to layout child change Change-Id: I7edd4fc54de9e71fb86b47a9b182bfc22fa4af25
2017-01-06out of bounds string accessEike Rathke
Change-Id: Iecbe24f90cefe34a447cd52a44967a4b09b4394b
2017-01-05tdf#90290 use custom asserter in subsequent_filters-test.cxxkerem
Change-Id: I1a6e4ecb69c4de330d506b56e7622b58c6836bd8 Reviewed-on: https://gerrit.libreoffice.org/32740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-05check token array code errors when testing for equality, tdf#105024 relatedEike Rathke
To not end up with a series of equal errors when importing individual error cells and attempting to group them. Change-Id: Idfcbb2e7077fc8799ef925c2c2e17188ac5e3b14
2017-01-05Resolves: tdf#104919 crash with empty ScNavigatorDlg memberCaolán McNamara
commit 292560a957498bed70b625c992ec6bcf631dceb3 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Oct 17 13:23:23 2016 +0200 loplugin:unusedmethods detected the intended methods to do this were unused, so restore then, but hook them up this time Change-Id: I3b7e4a557696a91a70956487468b99fec6324a93
2017-01-05Replace side-effect--only uses of makeStringAndClear() with setLength(0)Stephan Bergmann
Change-Id: Iaf8011f1bd6a10b324653899b7f51458f7d0b68a
2017-01-05tdf#105024 use context to generate "error only" formula stringEike Rathke
The ScGlobal::GetErrorString() shortcut produced error constants in the localized UI language, which was wrong anyway when storing ODFF. Use compiler with context instead to generate the proper symbols. However, this currently maps all not defined Err:xxx to #NULL! so to preserve those additional work is needed. Change-Id: I1de7621d6349d5b00a5aac1cedc9f265c78c7db1
2017-01-05handle paste special of single formula cell if IsEmptyDisplayedAsString()Eike Rathke
Similar to CopyCellsFromClipHandler. Change-Id: I7da8a55c3648c6f04c5f3b11459764fd42f51399
2017-01-05handle paste special of single formula cell with error resultEike Rathke
This apparently was never implemented, unlike in the block pasting code that handles it fine. Formula cells with error results were always copied as is if numeric was requested, even if formulas weren't requested. Change-Id: Id550c4e757b6bb2c06aa0637328216383cdf3d6b
2017-01-05Base SvxLineEndWindow on ToolbarPopupMaxim Monastirsky
Fixes size and position issues under gtk3/wayland Change-Id: I357a5935e2b44fd3d5effde8cf7d3499e26384db
2017-01-04add UNICODE test caseZdeněk Crhonek
Change-Id: I4b3a560b7e0a82f204d16c740836d02ba63d955e Reviewed-on: https://gerrit.libreoffice.org/32734 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04add PERMUTATIONA test caseZdeněk Crhonek
Change-Id: Id853563e39eeb9f31ca5ffd0e72a317989a4791e Reviewed-on: https://gerrit.libreoffice.org/32735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04Enable fetching data from network, not just files available locallyJaskaran Singh
Change-Id: I7bd25fd66130f944bf7f278cf7fcbaae6dbbbc00 Reviewed-on: https://gerrit.libreoffice.org/32544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04Refactor lcl_makeHTMLColorTripletMuhammet Kara
- Reduce the unnecessarily large buf size - Replace multiple occurences of sprinf with only one snprintf - Avoid some unnecessary variable creations Change-Id: I14f36bea8eed10a62fbf977f10b148c8c52ad2ca Reviewed-on: https://gerrit.libreoffice.org/32451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-01-04tdf#90290 use custom asserter in subsequent_export-test.cxxkerem
Change-Id: I8f8135728ab4f117cc99a0b78b8e3497417c5669 Reviewed-on: https://gerrit.libreoffice.org/32717 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-04tdf#90290 use custom asserter in filters-test.cxxkerem
Change-Id: Ia5fb43c8f5398659a08982700dbece72959af19c Reviewed-on: https://gerrit.libreoffice.org/32529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-04tdf#48140 replace CellRangeAddress in xlsx import (13)Jochen Nitschke
Change-Id: I4e06b536db63d8782662023a83cc92956b519e11 Reviewed-on: https://gerrit.libreoffice.org/32698 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#105026 Remove wrong constraint in PERMUTATIONA.Winfried Donkers
With permutations with repetitions, argument selection may be larger than argument elements. Probably inadvertently copied from PERMUT; has been there from pre-git. Change-Id: Icdee18eca647fb278f140630e45844684a1e3046 Reviewed-on: https://gerrit.libreoffice.org/32569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-03tdf#104981 Fix deficiencies with PERCENTRANK functions.Winfried Donkers
Added constraint check for significance argument. Replced inproper use of log() with log10(). Improved code efficiency a little bit. Change-Id: Ie918857e6a04ea9fcf18410f789d7252f9c1cfc8 Reviewed-on: https://gerrit.libreoffice.org/32528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-03tdf#105019 fix POISSON/POISSON.DIST deficiencies.Winfried Donkers
Apply constraint lambda > 0. For POISSON.DIST all 3 arguments are mandatory. Change-Id: Ica056a2b315c10f0a22dd105c121d8ce97ea1717 Reviewed-on: https://gerrit.libreoffice.org/32538 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-03add UNICHAR test caseZdeněk Crhonek
Change-Id: Ia90c0414a22fbae1479820567f93c586a9c6e119 Reviewed-on: https://gerrit.libreoffice.org/32655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-03replace hard-coded namespace URL strings with function calls...Rosemary Sebastian
Follow-up for https://gerrit.libreoffice.org/#/c/32425/; Change-Id: I59f77f0ccd681fb96bb9f1e7ec4b38d41c4f331a Reviewed-on: https://gerrit.libreoffice.org/32695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (12)Jochen Nitschke
Change-Id: Iec9ea10992ae031c4362a913792f738b2b45f199 Reviewed-on: https://gerrit.libreoffice.org/32662 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#95416 Two include files moved to sc/incabdulwd
Files which references the moved files now include them with #include "bar.hxx" style Change-Id: Ia69c61f04e4e7ca587c8065c8af6d1de7f33dd5d Reviewed-on: https://gerrit.libreoffice.org/32443 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-01-03TyposJulien Nabet
Change-Id: I487db955caff589b9f62c50b83067628bb768d50 Reviewed-on: https://gerrit.libreoffice.org/32460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-03tdf#104729 FILESAVE Save author name in comment during export to .xlsxBartosz Kosiorek
Change-Id: I59d46f6a713e4f252844cda0f631ace239d73cdb Reviewed-on: https://gerrit.libreoffice.org/32115 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-01-03tdf#87111 Warn about data loss when deleting source data of pivot tableAbhilash Singh
Change-Id: I59ab7551494622b8f1e68bfd9ef5e7ae19e65aee Reviewed-on: https://gerrit.libreoffice.org/31852 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-01-03rename members and use range based loopsJochen Nitschke
rename members to reflect their type css::table::CellAddress maCellAddress -> ScAddress maAddress Change-Id: Id95461512600023dbfd3209a5b0fdcf3d3e53b1e Reviewed-on: https://gerrit.libreoffice.org/32661 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#43157 Cleanup OSL_ASSERT in scenwnd.cxxMuhammet Kara
Change-Id: If2bd3c96c6d6344d70ceb4d9c3d23d91c116893a Reviewed-on: https://gerrit.libreoffice.org/32447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-03add PERMUT test caseZdeněk Crhonek
Change-Id: Iae53698eeb2fbe58671dc51b3364b0611ebbce49 Reviewed-on: https://gerrit.libreoffice.org/32542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (11)Jochen Nitschke
Change-Id: I033b2ddb720942882aad5ceaa8b140546f32356d Reviewed-on: https://gerrit.libreoffice.org/32580 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (10)Jochen Nitschke
Change-Id: I8a2d7edb33b093a7069d1289d3b66e3e0bb27548 Reviewed-on: https://gerrit.libreoffice.org/32579 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (9)Jochen Nitschke
Change-Id: If0b9d35305c4e109cb3edf8c5041d95854cd6c28 Reviewed-on: https://gerrit.libreoffice.org/32578 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (8)Jochen Nitschke
Change-Id: I45856e73dc189e00898f9ce8fa2281a0fbb99718 Reviewed-on: https://gerrit.libreoffice.org/32577 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (6)&(7)Jochen Nitschke
Change-Id: Idc44249b96009633f63b72dd51a74e51bef41284 Reviewed-on: https://gerrit.libreoffice.org/32576 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (5)Jochen Nitschke
Change-Id: Ib0ebc3e92e595cdc2ed1241efdb1131fb79452cd Reviewed-on: https://gerrit.libreoffice.org/32574 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (4)Jochen Nitschke
Change-Id: I4576c8553205c075ae932567242d98aae3c20b1a Reviewed-on: https://gerrit.libreoffice.org/32573 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-03tdf#48140 replace CellRangeAddress in xlsx import (3)Jochen Nitschke
Change-Id: I75392908ee90ae96c79d0e44a33920e1441b2129 Reviewed-on: https://gerrit.libreoffice.org/32572 Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>