summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-01-23use rtl::Reference in CellShell_ImplNoel Grandin
instead of manual acquire/release Change-Id: I4fde1277c023101e5331e3dad4f0243bd8ac8e3f
2017-01-23use rtl::Reference in ScSelectionTransferObjNoel Grandin
instead of manual acquire/release Change-Id: I056fc3767f2e7b3ffacdd930e9a8e3b71c32620e
2017-01-22add SKEWP test caseZdeněk Crhonek
Change-Id: I4b1e9711d1d85670e7ec698d961eb63f3cb53e6e Reviewed-on: https://gerrit.libreoffice.org/33382 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-21add HEX2BIN, HEX2DEC, HEX2OCT test caseZdeněk Crhonek
Change-Id: I94232c713306f98816308840cc654b7ae1d3d6d3 Reviewed-on: https://gerrit.libreoffice.org/33357 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-21add IMABS, IMAGINARY testcaseZdeněk Crhonek
Change-Id: Icb4f4339318b88c4c2038cb4d1f16af7fc5057a2 Reviewed-on: https://gerrit.libreoffice.org/33361 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-21coverity#1399047 Untrusted loop boundCaolán McNamara
Change-Id: I1c4c4613349935c803d1cf7729c52a3a18ee5375
2017-01-21coverity#1399031 golden, Out-of-bounds readCaolán McNamara
There are 17 elements, so SAL_N_ELEMENTS(sppnPatterns) is 17 The largest valid index is 16, not 17, so valid max index is out by one Change-Id: Id20218a0e73cb9e502a631fa6bfbb3f0a22c4727
2017-01-21coverity#1399019 Division or modulo by zeroCaolán McNamara
Change-Id: I0f21612effa91a6c9e7e0a48c46dde88c4b34b94
2017-01-20Resolves: tdf#105158 set date or time return type for DATEVALUE TIMEVALUEEike Rathke
... so adding/subtracting another date produces number of days instead of date, and adding/subtracting a number produces date. But if used as the final formula result force number type. Change-Id: I046f5cc53d1fe8c9f6f71876787f2f19d24fe146
2017-01-20add GESTEP test caseZdeněk Crhonek
Change-Id: I63342f5590e90786e179baf956720e2e4a64b1ad Reviewed-on: https://gerrit.libreoffice.org/33334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-20sc: use unique_ptr and make_unique instead of new/deleteTomaž Vajngerl
Change-Id: Iafaf78d17fc5d6dffbd4e541f802b7090dcfda68 Reviewed-on: https://gerrit.libreoffice.org/33344 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-01-19tdf#50916 Allow ScTable work on dynamic ScColContainerBartosz Kosiorek
Change-Id: Ic39361383a3c2e869e48bccb4c47fc6bca1cb4ce Reviewed-on: https://gerrit.libreoffice.org/33296 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-01-19New loplugin:dynexcspec: Add @throws documentation, scStephan Bergmann
Change-Id: Ieb01ae3f8c5d3010354027ea2c6e0a2cee176e7f
2017-01-19svx: load BitmapEx resources instead of Image onesCaolán McNamara
Change-Id: Id23523170f757361f3fc3d8a18b6db827f45d109
2017-01-19sc: load BitmapEx resources instead of Image onesCaolán McNamara
Change-Id: If10ae4238a580ab6d19287968aecbf29acbd550e
2017-01-19new loplugin: useuniqueptr: sc part 2Noel Grandin
Change-Id: I37936a297027313e2a8ae18f355567462955739e Reviewed-on: https://gerrit.libreoffice.org/33203 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-18bail out early if there are no notesEike Rathke
... which usually is the case, so don't unnecessarily create iterators and dive into an empty mdds tree. Change-Id: Iba345cd231d5911adefabc0584290834678a68f1
2017-01-18tdf#104967 preserve isolated notes data in clipboard when closing documentEike Rathke
Change-Id: I0e263583e27c5103c0bb90e8fe00562e46a52d98
2017-01-18tdf#104967 prevent crash when pasting notes originating from a closed documentEike Rathke
This is only a workaround to prevent a crash, the actual note content is lost when pasting, only a standard empty note caption will be pasted. Change-Id: Ifaef5d30cc2024f3d03d6b2b4f56c5ccfbb67142
2017-01-18Resolves: tdf#105411 remove from entries before disposeCaolán McNamara
cause on dispose all the state change callbacks are called, and all of the conditional formatting code assumes that if there's an entry in the entries, that its not an empty disposed one Change-Id: I50d85128ba884a0719959f2d6e7ae83d6fb3431c
2017-01-18add ERF,ERFC,FACTDOUBLE test caseZdeněk Crhonek
Change-Id: I1c1b3682a2f4e43b3e3ddaba5ac6e158206494ac Reviewed-on: https://gerrit.libreoffice.org/33232 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-18add DELTA,DEC2BIN,DEC2OCT,DEC2HEX test caseZdeněk Crhonek
Change-Id: Ia157943a1fa5d734691490943a5874fed3951655 Reviewed-on: https://gerrit.libreoffice.org/33231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-17replace boost::checked_deleter with std::default_deleteJochen Nitschke
and remove all traces of boost/checked_delete.hpp Change-Id: I4486d0e07a7197d75f8739c8c6d79670163eaab2 Reviewed-on: https://gerrit.libreoffice.org/33182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-17replace #ifdef SOLARIS with #ifdef __sunMichael Stahl
Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2017-01-17Change Idle to be a Timer subclassJan-Marek Glogowski
Drops a lot of duplicated code, as Idle is just a convenience class for instant, mostly low priority timers. Change-Id: I847592e92e86d15ab1cab168bf0e667322e48048
2017-01-17Add sensible timer handling for Calc inputJan-Marek Glogowski
There is no need to destroy and recreate the timer object. Simply stop and start the timer as required. Change-Id: I2885fef8bdb90c379dc2e9b9caf986d250face5c
2017-01-17Refactor Scheduler to add Task classJan-Marek Glogowski
Moves all the "task-specific" stuff into a Task class and just keeps the "real" static Scheduler functions in the original Scheduler class. Change-Id: I9eb02d46e2bcf1abb06af5bab1fa0ee734d1984c
2017-01-17tdf#97087 GDB pretty print the Scheduler task listJan-Marek Glogowski
In addition to the GDB pretty printer, this annotates a lot more Timers and Idles. Change-Id: I5b93fab02161b23bb753e65ef92643a04fb0789c
2017-01-17add COMPLEX, CONVERT testcaseZdeněk Crhonek
Change-Id: I02b997cef3cce5641b1340125c791f38c89bf7b5 Reviewed-on: https://gerrit.libreoffice.org/33084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-17add INTRATE testcaseZdeněk Crhonek
Change-Id: Ief8656c197745caf6ee2c8cc2a4c5af04d948e21 Reviewed-on: https://gerrit.libreoffice.org/33083 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-17LOK: Calc: notes: on edit mode starts/ends: missing tiles invalidationMarco Cecchetti
On edit mode starts/ends, when a note is hidden, tiles, only the note tail belongs to, are not invalidated. Change-Id: I69487f428a121fc05da99d3b06786afd4f834766 Reviewed-on: https://gerrit.libreoffice.org/30101 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-01-17LOK: Calc: show/hide a note does not perform any tile invalidationMarco Cecchetti
Change-Id: Ia904b6bbe82c395299b269ddbde523d19bf486bc Reviewed-on: https://gerrit.libreoffice.org/30099 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
2017-01-17use rtl::Reference in ScDPDimensions/ScDPHierarchies/ScDPLevelsNoel Grandin
instead of manual acquire/release Change-Id: Id0dfa1c42e12a680ed6a6144b73d03c8f45e9f3d
2017-01-17use rtl::Reference to manage ScAccessiblePageHeaderArea'sNoel Grandin
instead of manual acquire/release Change-Id: I368530f30388cd4bba6dbc1fe6d6a5dd1e25f298
2017-01-17used std::map in SfxItemSetNoel Grandin
instead of naked array SfxItemIter ended up needing to take copies of stuff because various code likes to iterate over the items and delete items inside the loop. The gdb pretty printer is no longer quite as pretty as it was before, but it still prints useful info. Change-Id: I59b07ea42f6b1c74798a15402970b9dbd8233dbe
2017-01-17convert subtotalfuncs from manual array to std::vectorNoel Grandin
Change-Id: I6af7e8c8d001c92edd364aa32224da1e4e1d1d9b
2017-01-16LOK: Calc: notes: when edit mode begins the text content is misplacedMarco Cecchetti
Change-Id: Ia8efcee6fbeb75dd712d3ac480e355c2972875f3 Reviewed-on: https://gerrit.libreoffice.org/30098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-16Convert RID_MENU_NOTEBOOKBAR to xmlMaxim Monastirsky
Brings a lot of features (icons, keyboard shortcuts, customization, context menu interception etc.) Other changes: - Make SfxDispatcher::ExecutePopup take PopupMenuFlags arg, to be able to pass NoMouseUpClose, so that the menu won't close on mouse-up under anything != gtk3. - Make .uno:OpenFromWriter and .uno:OpenFromCalc async slots, to avoid crash under gtk3 when recycling the current frame. - Don't show the menu in customization dialog, if experimental mode disabled. Change-Id: Ieea2f73f6b48fbaf4bdfc4acf1a33d25422357cb Reviewed-on: https://gerrit.libreoffice.org/33101 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-01-15tdf#48140 replace CellRangeAddress in xlsx import (16)Jochen Nitschke
Change-Id: Ie44a5b8433e2dc2c253d6c439f9308f936a4508f Reviewed-on: https://gerrit.libreoffice.org/33094 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-15tdf#48140 replace ApiCellRangeList in xlsx import (3)Jochen Nitschke
Change-Id: I9cb4b14c0b4642c6e630c449dc979521ba0f8ee6 Reviewed-on: https://gerrit.libreoffice.org/33093 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-15tdf#48140 replace ApiCellRangeList in xlsx import (2)Jochen Nitschke
Change-Id: I3e609c54f7b21c300944362d27248d92ab69b886 Reviewed-on: https://gerrit.libreoffice.org/33092 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-15tdf#48140 replace ApiCellRangeList in xlsx import (1)Jochen Nitschke
Change-Id: I61c2890db1190f2552e16bc26968bec31c5dc6d3 Reviewed-on: https://gerrit.libreoffice.org/33091 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-15tdf#48140 replace CellRangeAddress in xlsx import (15)Jochen Nitschke
Change-Id: I31d10a481063f42f1504d0066d8364102d17a1fb Reviewed-on: https://gerrit.libreoffice.org/33090 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-15tdf#50916 Make sure that we don't access aCol out of rangeBartosz Kosiorek
Change-Id: Ib41b474c6ae573ca68614aeff8ca2cda5fd52dbc Reviewed-on: https://gerrit.libreoffice.org/33061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-15Expose ExternalDataMapper member functions to the publicJaskaran Singh
Change-Id: I182778353e664f9e3dd8003a38c06202e5cdfdec Reviewed-on: https://gerrit.libreoffice.org/32934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-01-14add GAMMALN.PRECISE test caseZdeněk Crhonek
Change-Id: Ic5ec006c2413fab8d7b3a78fc0d53933b76b2dd9 Reviewed-on: https://gerrit.libreoffice.org/33076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-14add MODE.MULT test caseZdeněk Crhonek
Change-Id: I31faae02a75d02b7ef4b4eabf9244e3b87af8a8b Reviewed-on: https://gerrit.libreoffice.org/33078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-14coverity#1371289 avoid the need for an assignmentCaolán McNamara
Change-Id: I7f9b8d21652c79642f9a2f916ad0609c8abd430b
2017-01-14add GAMMALN.PRECISE test caseZdeněk Crhonek
Change-Id: I170d954b4f07d21229a2ba414cdd047a40259e7f Reviewed-on: https://gerrit.libreoffice.org/33077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-14add JIS test caseZdeněk Crhonek
Change-Id: Ia85c4622255df39120cee27b0f083a89f84ce6ac Reviewed-on: https://gerrit.libreoffice.org/33075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>