summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21LOK - Calc: changed the way header is updated on row/col insert/removeMarco Cecchetti
This patch introduce a new LOK callback for informing the client that the row/col header is no more valid and needs to be updated. Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d Reviewed-on: https://gerrit.libreoffice.org/36733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-04-21loplugin:unnecessaryvirtualNoel Grandin
Change-Id: Ibf396e5431d30cb62f086fa723b88c330c18961b Reviewed-on: https://gerrit.libreoffice.org/36771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21convert HTML_OPTION_IDS to scoped enumNoel Grandin
Change-Id: Ia766dc58a571e5853005fd394283d7b53f02e4a6 Reviewed-on: https://gerrit.libreoffice.org/36748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21remove some old MSVC workaroundsNoel Grandin
Change-Id: I6abd8aaffb27b3c85df7c0518f7f576be4e32222 Reviewed-on: https://gerrit.libreoffice.org/36660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20tdf#107143 Add delete all comments command.Gulsah Kose
Change-Id: I1375375543172146a27ed4225f584121f9945a8c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/36623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-20renumber string IDs and close 40 gaps of resident empty stringsEike Rathke
With the help of sc/util/number-defines-consecutively.awk Change-Id: I1d2656ee8527cde6d6464b423a332401946f82a1
2017-04-20keep list sorted by alphabetical opcodeEike Rathke
Change-Id: I8eafa00cadd6196e4e9dd87a00fd530c3945af2c
2017-04-20Resolves: tdf#99625 add parameter classification for TEXTJOIN and CONCATEike Rathke
So in array context the functions return a single string instead of an array of identical strings. Change-Id: Ia6ada10be4912745b60e281fac1736c560162d3a
2017-04-20sc lok: Notify when comment is added to destination docPranav Kant
This can happen, for example, when undoing a deleted comment. Change-Id: I4aff244f1263b650457a70334f5f4d2c75ad3b64
2017-04-20loplugin:unusedmethodsNoel Grandin
Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672 Reviewed-on: https://gerrit.libreoffice.org/36718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20Settings for not showing Merge Cells dialog and for emptying hidden cellsAndras Timar
By default nothing changes. But users have the possibility to avoid the confusing (?) Merge Cell dialog. Also, when the dialog is disabled, users may want to set the EmptyMergedCells to true, to mimic Excel's behaviour. Change-Id: I9656ae59199bb697c45786dd478379f5c89eb08f Reviewed-on: https://gerrit.libreoffice.org/36679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2017-04-19Resolves: tdf#90799 generate absolute sheet for pointer-selected referencesEike Rathke
In the assumption that users who more use a pointer device to enter references are also likely less familiar with the difference between relative and absolute sheet references and its implication when copying sheets, which some other spreadsheet software doesn't offer. Change-Id: Ia1e16d1fef47429d4f4c100cac699bbc446ba6c9
2017-04-19pivotcharts: display pivot table fields in correct orderTomaž Vajngerl
Change-Id: I97d3391d6d9d59626bace2ce0cf2b5d9b45d9261 Reviewed-on: https://gerrit.libreoffice.org/36627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-19tdf#107072 fix crash when only a row and data fields are presentTomaž Vajngerl
If a pivot table only has a row field and data field, creating a pivot chart crashes. The crash happens when setting the labels for a data series as there is none set. This fixes the problem with setting a fixed "Total" label in this case. Change-Id: I870c5c635ee64abb635296329dcfc277834f8f03 Reviewed-on: https://gerrit.libreoffice.org/36626 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-19remove unnecessary temporaryEike Rathke
likely a remnant of (Uni)String to OUString Change-Id: I431723d7c390f1396855f91c26a9b72a417f7dbc
2017-04-19remove freshly unused menu support from src filesCaolán McNamara
Change-Id: I038711a0c4d440d452d5b2ae1bfcba5c9305815b Reviewed-on: https://gerrit.libreoffice.org/36646 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-19keep the leading '=' equal character, tdf#102525 follow-upEike Rathke
So to feed it to the compiler again in case it's a "==" force-always formula, which theoretically would also be valid in matrix mode. Change-Id: Ie694e12a3bc4581469b7ad9cc06a23333a664d6f
2017-04-19Resolves: tdf#102525 handle array/matrix formula in cycle cell reference typesEike Rathke
Change-Id: Ib2443d5bda0c9b1268835f08e4931d5dec2d7f1b
2017-04-19convert MeasurementSystem to scoped enumNoel Grandin
Change-Id: I5d26c50aa0e2c68edab6ee217ae6bdb0ee45dc09 Reviewed-on: https://gerrit.libreoffice.org/36525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19Add Dump() method to ScFormulaCell.Kohei Yoshida
I'm surprised I didn't add one till now. Change-Id: I36c9257013f92804cecaeefd0778db1d25759c2f Reviewed-on: https://gerrit.libreoffice.org/36652 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-04-18only handling copy&paste needed, cut&paste bailed out, tdf#105245 follow-upEike Rathke
Change-Id: I946d9f09e7571d347111ad66326ab375d153e298
2017-04-18tdf#95992 "Edit" > "Compare Document..." opens dialog that is...Matteo Casalin
misnamed "Insert" Issue is that the caption of the dialog is handled by generic code, which was not designed with comparison in mind. This fix extends the captions that can be used by such generic codes, without modifying the underlaying architecture. Letting callers directly provide caption text might be more versatile, though. The fix is extended to: * Writer Merge functionality * Calc Compare/Merge functionalities which use the same dialog (and thus were also displaying "Insert"). Change-Id: I452b37bf7d0024924c87316cd47572c09b373b65 Reviewed-on: https://gerrit.libreoffice.org/35285 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-18remove sfx2/sfxcommands.hCaolán McNamara
Change-Id: Ic131adc90f2891497623441dd94da2d3401a93e5
2017-04-18use auto const& over ScMarkData::GetSelectedTabs()Eike Rathke
Change-Id: Ic3dcc6a99cc2aa5fba8625d6d04cc0dc925ec3be
2017-04-18use auto const& over ScMarkData::GetSelectedTabs()Eike Rathke
Change-Id: Ica0192c589f0a262369480106557f679297a7468
2017-04-17ask to delete pivot chart if pivot table gets deletedTomaž Vajngerl
Change-Id: I2a0e1aedf870fa587b5596e0adde0b9e61278c88 Reviewed-on: https://gerrit.libreoffice.org/36624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-16tdf#90290 use custom asserter in ucalc_sort.cxxkerem
Change-Id: I61e1d5c75f5ec13291633368859441bb85732317 Reviewed-on: https://gerrit.libreoffice.org/36494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-16try to fix the tests that depend on fontsMarkus Mohrhard
This should help with some of the RandomConfig tb failures. Change-Id: I83af9c2c50fa2f3044e7507a1b902807536452dd Reviewed-on: https://gerrit.libreoffice.org/36581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-16coverity#1405157 Unchecked return valueCaolán McNamara
Change-Id: I6feb9004da5ca674533631b42a9e268ca7f1e7f7
2017-04-16cppcheck: arrayIndexThenCheckJulien Nabet
Change-Id: Ie3ca646fae94ff5a06a29fc2823a1cacafc3deb1 Reviewed-on: https://gerrit.libreoffice.org/36575 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-04-16first stab at replacing hard coded relationships with calls to a methodMarkus Mohrhard
Change-Id: I4d1fd6ac3d32180972d82c67a81adf4953e3a82d Reviewed-on: https://gerrit.libreoffice.org/32409 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-15sc: Skip redundant check of emptinessTakeshi Abe
Change-Id: I65f87b03588f6542cfd5597e753c1a161e1ccfce Reviewed-on: https://gerrit.libreoffice.org/36544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-15Fix typosAndrea Gelmini
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91 Reviewed-on: https://gerrit.libreoffice.org/36556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-14Make it easier to inspect string formula results.Kohei Yoshida
Change-Id: I0071dcfcf05ad4a268374a86c15be770f3b58de1
2017-04-14remove the old collaboration feature based on telepathyMarkus Mohrhard
Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485 Reviewed-on: https://gerrit.libreoffice.org/36542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-14update cppunit to 1.14.0Markus Mohrhard
Change-Id: I95fa42f4ef0580734b605df859c1660b29adb8b2 Reviewed-on: https://gerrit.libreoffice.org/36499 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-13convert AX_FONTDATA to o3tl::typed_flagsNoel Grandin
Change-Id: If51119fbdde4b1d923b794d126fdae99ca238f81 Reviewed-on: https://gerrit.libreoffice.org/36463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-13sc lok: Add/Remove comment uno undo/redoPranav Kant
Change-Id: I34a32ebecae44fd80789ed7daf13f31b181cd4c0
2017-04-13add STDEVPA test caseZdeněk Crhonek
Change-Id: Ic90116cab083a193c8888c1765d0612c7ffb1855 Reviewed-on: https://gerrit.libreoffice.org/36490 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-04-13add ZTEST, Z.TEST test caseZdeněk Crhonek
Change-Id: Icecc7fb4d61efbc9ccd2f3da8b263384fd5858a3 Reviewed-on: https://gerrit.libreoffice.org/36489 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-04-13Removed duplicated includesAndrea Gelmini
No automatic tools. Manual checked and tested. Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754 Reviewed-on: https://gerrit.libreoffice.org/36371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-13tdf#92650: add a unit test for this.Kohei Yoshida
Also add a modern C++11 version of checkOutput(), which should be used instead of the older variant that is a template function. Change-Id: I64706baf531c557c3631c998122515e40d555cf6 Reviewed-on: https://gerrit.libreoffice.org/36497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-04-13tdf#92650: handle overwritten references correctly in undo.Kohei Yoshida
Change-Id: Idc3fbd78f8163c97a9cd80a3ff474b6da0349353 Reviewed-on: https://gerrit.libreoffice.org/36496 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2017-04-13finally switch the workaround offEike Rathke
Change-Id: I284292a2749c2b38ef874315d5b526e403d578e8
2017-04-13turn assert into SAL_INFOEike Rathke
The old assert conditions don't hold anymore since removeFromDrawPageAndFree() only deletes the SdrCaptionObj on the last refcount, but info can be useful. Change-Id: I456149b8799a0509dcd7a2da09d627fb0de1a912
2017-04-13control deletion of SdrCaptionObj within ScCaptionPtr by refcountEike Rathke
I guess this is about the first time ever that repeated Undo and Redo of Cut&Paste of a cell comment does not crash.. Change-Id: I493a0a5439efde133a07d73ddcbcdf5bda4bc276
2017-04-13bail out early if there is no caption to removeEike Rathke
Change-Id: Id08d82751560092fd6225131970f607dbb2e4801
2017-04-13in RemoveCaption() forget() instead of reset(nullptr)Eike Rathke
Change-Id: Id97d4d97c1d46ac6de6198515756a0786a54626e