summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-03-03We don't use 'using' for other std types either in this fileTor Lillqvist
Change-Id: I561e515da65db619330b536e3c8c6de555730740
2016-03-03delete works fine on nullptrTor Lillqvist
Change-Id: I373df68f8ce59d34d98a8c5608a16deb278ecec3
2016-03-03loplugin:nullptrTor Lillqvist
Change-Id: I139b93f3285c61e2a4ba2d7959273dbcd1f95694
2016-03-03loplugin:unreffunTor Lillqvist
Change-Id: I13b718ae04c30d02003fa31322de655f9386b815
2016-03-03tdf#97215 Sorting with update reference causes crashArul Michael
The memory of SvtBroadcaster* of a cell is freed in EndlisteningCell() during SplitFormulaGroups call. The same memory address is assigned back to the cell again when the contents are transferred back after sorting. This is because the CreateSortinfoArray is done before SplitformulaGroup. For fix getting mpbroadcaster from the Document instead of SortinfoArray since we change the broadcaster in document after creating the SortInfoArray. Change-Id: Ic492d5019e26ff204307db4fefccc48ec99c0a6d Reviewed-on: https://gerrit.libreoffice.org/22607 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-03-03tdf#94635 Add FORECAST.ETS functions to CalcWinfried Donkers
Change-Id: Ifbfff1c27fb3960a06f467630da0fa39665f0ce4 Reviewed-on: https://gerrit.libreoffice.org/20073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-03-03loplugin:nullptrStephan Bergmann
Change-Id: Ie50bf53a24d44a7f645f381a3d07710cc3986151
2016-03-03sc: add classification toolbarMiklos Vajna
Again this is just UI to call into sfx2, where the functionality is shared with Writer and Impress. Change-Id: I73ce6fb54d50c23df19ed2c610766b7c515e94d6
2016-03-03unit test for tdf#98297, exclude/include error values with COUNT/COUNTAEike Rathke
Change-Id: I2cc7d6ebdcb9411060462d7afa704f9e100c6c5e
2016-03-03loplugin:unuseddefaultparams in formulaNoel Grandin
Change-Id: I7f0baa2709db24e8299f0e1c19c0703aee1cbf4f
2016-03-03remove double definesJochen Nitschke
search ABS_* defines and replace with equal SC*_* defines from address.hxx then removed double defines Change-Id: I1a5385daf6e1fb6f959f142c04f2515e7b85a80e Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-on: https://gerrit.libreoffice.org/22826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03tdf#57950 Replace chained O(U)StringBuffer::append() with operator+Steven Guo
Replace chained O(U)StringBuffer::append() in PivotLayoutTreeListData.cxx Change-Id: Ia1cc2f32e038bca2421cc5e9aca3b4f15d7c8432 Reviewed-on: https://gerrit.libreoffice.org/22828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03loplugin:unuseddefaultparams in sc (part2)Noel Grandin
Change-Id: I356a86bfca20cbf2c52185697042dce5237e847d
2016-03-02Resolves: tdf#98297 exclude error values from COUNT in array/matrixEike Rathke
Change-Id: I202dcc2a2b90ee8ed27815b97a2aad6e4df2f1b9
2016-03-02coverity#703997 silence Unchecked return valueCaolán McNamara
Change-Id: I6801d8ff6d0646e14e359ab55bf523790abf7e41
2016-03-02shift "Decimal places" down by 2 to align with "Limit decimals" againEike Rathke
Change-Id: I4e22e02b54cc7528da002dd9b6426cc6637fecac
2016-03-02add tooltips about Excel interoperabilityEike Rathke
Change-Id: I8b08893ca40f242f63e04c037500c6864c6c238a
2016-03-02replace wildcard/regex checkboxes with radio button group, tdf#72196Eike Rathke
Change-Id: I505a0de789190dc7345a703ac50008276d0ed195
2016-03-02loplugin:unuseddefaultparams in sc (part1)Noel Grandin
Change-Id: Ie7c23bfee7cb6c73e455a47801f7eb1b481a8cf0
2016-03-02loplugin:unuseddefaultparam in sfx2Noel Grandin
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
2016-03-01coverity#1352213 Unchecked return valueCaolán McNamara
Change-Id: Iae1c0a09eae410136569ed1480dbcdfff589f20e
2016-03-01ccu#1573 sc lok: fix reporting of hidden row heightMiklos Vajna
For columns we use ScDocument::GetColWidth(), which returns 0 for hidden columsn. Do the same for rows: so instead of using GetOriginalHeight(), use GetRowHeight(), and then 0 size will be reported for hidden rows as well. Change-Id: Ic23b6af744bbc8e194e1906614adebe5ba0c7ced
2016-03-01tdf#97369/#97587 - Further fix SUMming in the software interpreterMarco Cecchetti
When SUMming in the software interpreter involved trailing empty cells, code tried to read beyond numeric array limit. Change-Id: I50c1148e7e79d02bedb02a771df172035112915c Reviewed-on: https://gerrit.libreoffice.org/22791 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-29fix error in new cell dump property codeMarkus Mohrhard
It is also ALT+CTRL+SHIFT+F9 for now. Change-Id: Ic632ae070118e5c4083f47302b8b0086ccebdcd2
2016-02-29fix the "group not recalculated after delete" second part of tdf#97897Eike Rathke
If a formula cell group was split during deletion and the group also listened into the range where a cell was deleted, the group wasn't notified of the deletion. Change-Id: I858f5d4c0b647636611133fc32f3df7fbdaf7288
2016-02-29loplugin:nullptrNoel Grandin
Change-Id: I318a669d8b6b26c179111f887e13da784385a4ac
2016-02-29Related: tdf#89646 sc: Fix some issues with the new toolsMaxim Monastirsky
- Fix default object creation (by holding CTRL). - Fix Polygon (45°) tools (inverted SHIFT effect via doConstructOrthogonal). - Toolbar layout similar to Impress/Draw. Change-Id: Ib4e4aec1560599201c00e0726c29021763d773ad
2016-02-28tdf#89646 Implement "uno:LineToolbox" command into calc.Gulsah Kose
Freeline filled, Polygon filled, Bezier Filled, Polygon 45, Polygon 45 filled buttons are added into writer's LineToolbox. Change-Id: I181d3cbc64a70ef1ef363b1ef76641b6b8ec2c79 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/22748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-02-28move the cell property dump code into dbgutil buildsMarkus Mohrhard
We now allow with a CTRL+SHIFT+F9 to dump the cell properties as a xml file. Change-Id: I730e7009bbe95d3105541a9afbd2c8a19c992600
2016-02-28tdf#97667 Added a dump method for SfxItemSet in gridwin.cxxJaskaran
This is the first part of solving the task at tdf#97667. The goal is to dump SfxItemSet where our cell properties are stored.Improved it after inputs from moggi.Also I've commented out a few lines in gridwin_dbgutils.cxx That were causing build to fail on jenkins.Once the dump function is moved to the DBG_UTIL Change-Id: I502eaa985b3bf8d296e301d96e42f13d6fd53da5
2016-02-28tdf#97963: Impose size limit on all 3 edit windowsKatarina Behrens
Doing it for 1 window (tdf#90257) isn't enough, the dialog will grow outta screen with large fonts not immediately, but on the next opening Change-Id: I890ecd91a00efc4c7596b30a237f5abb4f87215a Reviewed-on: https://gerrit.libreoffice.org/22739 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-02-27tdf#97906 : Toggle reference and show data sources shortcutsDennis Francis
In Default mode : F4 = Toggle reference Shift F4 = Toggle reference Ctrl+Shift+F4 = Show data sources (both Mac and non Mac) In Legacy mode : F4 = Show data sources Shift F4 = Toggle reference Change-Id: Ifb53bfa671f212d73ebb8c3f80ed5c498d517d4d Reviewed-on: https://gerrit.libreoffice.org/22728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-27sc - unit tests for tdf#97369 and tdf#97587Marco Cecchetti
Change-Id: If2f7fec727a7a7f607e576fea756810e0d4ff7da Reviewed-on: https://gerrit.libreoffice.org/22701 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26tdf#97654 - replaced CellAddress types with ScAddress.Mohammed Abdul Azeem
Differences in default constructors is compensated and other changes have been made as suggested. Change-Id: I15bdf5043816502ace797c352242a4a59f1cd64e Reviewed-on: https://gerrit.libreoffice.org/22579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26handle SearchWildcard API optionEike Rathke
Change-Id: I5350167638a5831e1f125728397fecfc637ee004
2016-02-25loplugin:unuseddefaultparams in xmloff/Noel Grandin
Change-Id: Ia504a4e96a4ebc8404fe6881e0f77fba29cd00ae
2016-02-24let SvxSearchItem use SearchOptions2Eike Rathke
And all those places that interface to SvxSearchItem. Change-Id: I08915824a596cd0f247a89f44e4684cd22b98082
2016-02-24chmod -xTor Lillqvist
Change-Id: I9366a8691a69b55d486b863d0149e22a848aa9ac
2016-02-24convert DocPasswordRequestType to scoped enumNoel Grandin
Change-Id: I25d217ca2cf3e8cc4dfaccc6dc7d5453ffdc6cb6
2016-02-24convert DocPasswordVerifierResult to scoped enumNoel Grandin
Change-Id: Ib5a595819dec8511d284ed1022d8f7c624f8d8f9
2016-02-23SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacterEike Rathke
At least '\' (search in Word) and '~' (search in Excel) should be supported as escape character. Being able to restrict a match to entire selection instead of substring speeds up the Calc match whole cell scenario. Change-Id: Ice242b9cd59009f172b724e03c2cc08feda4cd3c
2016-02-23methods in .SDI files don't use attributesNoel Grandin
so simplify the parser and drop the square brackets Change-Id: I3bab5f5b14e57d0cd1ed1a383fe21968f97b243a
2016-02-22enable wildcards when importing .xlsx|.xlsb, tdf#72196Eike Rathke
Change-Id: I6fbc8926d10d9028287c154a2e933d2de847cc12
2016-02-22enable wildcards when importing .xls, tdf#72196Eike Rathke
Change-Id: Ice014ef31c9962a2d77496236712b59cd147b6e8
2016-02-22add wildcards to Tools->Options->Calc->Calculate dialog, tdf#72196Eike Rathke
Maybe this should be a radio button instead (wildcards/regex/literal), on the other hand it reflects the two API bool values. Also only two checkbox lines are needed instead of three radio button lines. Change-Id: I3fa74e19c838e10dc0cffd6c0ad6329017e10e56
2016-02-22change to DetectSearchType(), tdf#72196Eike Rathke
Change-Id: I34cc3faa325f754e4f1dc5236a65f16e035d6c27
2016-02-22confusing block indentationEike Rathke
Change-Id: I42dc30742a65062374e700a70796f129e61b13c1
2016-02-22adapt places that call GetSearchTextPtr(), tdf#72196Eike Rathke
... to do that not only for regexp. Change-Id: I0a6d878c7b30b1668dda902f0e50ae3c3cc3b486
2016-02-22ScQueryEntry::GetSearchTextPtr() with SearchType, tdf#72196Eike Rathke
Change-Id: I1c9c5c6271927bb2d2ac9309e9a6ca36016237f4
2016-02-22include '~' escape character in MaybeWildcard(), tdf#72196Eike Rathke
Change-Id: I09ff6b07f63b9b9199b73d27d8118c18d233f2b2