summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-08-10tdf#89387 a few tests for FTEST functionŁukasz Hryniuk
Change-Id: I96747f4ffd070a0d1511cef6f56c9a253949ee97 Reviewed-on: https://gerrit.libreoffice.org/17628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-10tdf#89387 related tests for ScSumXMY2()Łukasz Hryniuk
Change-Id: Ia2ea65e05e0eec996f8ac485ee74b6daaa459178 Reviewed-on: https://gerrit.libreoffice.org/17598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-10tdf#89387 related, fix SumSquare bug in SumMXMY2Łukasz Hryniuk
SumSquare returns IterateResult, which, because of rounding errors, store first value in mfFirst and rest in mfRest. They should be added to get the full sum of square of matrices difference. Change-Id: I9bc435801d94206960b0b4fe4a9149ef1abeb3be Reviewed-on: https://gerrit.libreoffice.org/17592 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-10tdf#93065 Swap next and previous buttons in find toolbarYousuf Philips
Change-Id: Ie07364696175038130cb5b94fbad39b88e646921 Reviewed-on: https://gerrit.libreoffice.org/17473 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-10Resolves: tdf#86024 do not attempt to shorten numeric value outputEike Rathke
Regression of 087a79db1272858f107656c5ca3c6efb45680986 Change-Id: I903e05234882c79e6da6499cb17e16fd7226f91c
2015-08-09tdf#91820 Moved tool items back into Tools menuYousuf Philips
Change-Id: I50e028316b505038fcfbd9c15e5d08ffc48e59e1 Reviewed-on: https://gerrit.libreoffice.org/17551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-08-09tdf#79741: Macro with Find @ Replace crash CalcJulien Nabet
0x00002aaaaf4bd163 in SfxItemSet::GetItemState (this=0x0, nWhich=26182, bSrchInParent=true, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:422 422 SfxItemArray ppFnd = pAktSet->m_pItems; (gdb) bt 0 0x00002aaaaf4bd163 in SfxItemSet::GetItemState(unsigned short, bool, SfxPoolItem const**) const (this=0x0, nWhich=26182, bSrchInParent=true, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:422 1 0x00002aaaaf4bd306 in SfxItemSet::HasItem(unsigned short, SfxPoolItem const**) const (this=0x0, nWhich=26182, ppItem=0x7fffffff1730) at /home/julien/compile-libreoffice/libreoffice/svl/source/items/itemset.cxx:463 2 0x00002aaacd9902c9 in ScCellShell::ExecuteEdit(SfxRequest&) (this=0x312fe10, rReq=...) at /home/julien/compile-libreoffice/libreoffice/sc/source/ui/view/cellsh1.cxx:1032 See https://gerrit.libreoffice.org/#/c/17603/ for details Thank you Maxim! Change-Id: Ie4cf31e3764c02f335830c59674a94acd6c209df Reviewed-on: https://gerrit.libreoffice.org/17603 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-08-06typo "(1 alpha)" → "(1-alpha)" confidence intervalChristian Lohmaier
Change-Id: Idad2cf21bc6e64797a3662f5204f8d77289ce940
2015-08-06-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Icdc568e4d771cb8ebeca329a897d3694408ffaa4
2015-08-05improve refcounting loplugin to check SvRef-based classesNoel Grandin
Change-Id: I2b3c8eedabeaecd8dcae9fe69c951353a5686883 Reviewed-on: https://gerrit.libreoffice.org/17521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-05remove unused SfxFilterFlags valuesNoel Grandin
from both the code and the XCU files Change-Id: I47f1f33c3ad4a37e346e3b8020dd9d3e284ccb77 Reviewed-on: https://gerrit.libreoffice.org/17522 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-05loplugin:unusedmethodsNoel Grandin
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04Hide open remote button in standard toolbarYousuf Philips
Change-Id: I175d27311fa166d3d33f2d88184b1fcd01f5df6a Reviewed-on: https://gerrit.libreoffice.org/17476 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-04tdf#91588 re-enable select button in draw toolbar in sw & scYousuf Philips
Change-Id: Iab1f29925c26e9cc862bb858d72eb528e656215b Reviewed-on: https://gerrit.libreoffice.org/17475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-04cppcheck: Variable 'bGrowBackwards' is assigned a value that is never usedJulien Nabet
See https://gerrit.libreoffice.org/#/c/16960/ for details Change-Id: I04afed2268bb874dfdd30a5df69b17ba3103aaa7 Reviewed-on: https://gerrit.libreoffice.org/17471 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-04sc: inline some use-once typedefsNoel Grandin
Change-Id: I332e160dda3f167e61f99da1eb0aa6bd72a48b06
2015-08-04sal_uChar is deprecatedNoel Grandin
Change-Id: I073dde24498b2a0f3f6edd3d502134a25dfac71c
2015-08-04fdo#68016 Add unittests for ScChartListenerCollectionTobias Lippert
Change-Id: Ie9d0f43783fbdd922c089607ad67fdd1686334c9 Reviewed-on: https://gerrit.libreoffice.org/17478 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04fdo#68016 Speed up ScChartListenerCollection::EndListeningHiddenRangeTobias Lippert
The listeners were stored in a std::list which is not efficient for the lookup required in EndListeningHiddenRange() The list was replaced by an std::unodered_map which allows faster look-up. Change-Id: Iec7a33b18aa91e7d2917dc8feb98bf9b20ce804e Reviewed-on: https://gerrit.libreoffice.org/17437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03new loplugin: refcountingNoel Grandin
This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-31sc: replace boost::function with std::functionMichael Stahl
Change-Id: Ic98b20eabdc0e62078b28ab0219b00b67e8e1099
2015-07-31TableRef: implement ScTableRefToken::IsGlobal() overrideEike Rathke
To diustinguish from formula::FormulaToken::IsGlobal() virtual dummy implementation error message and spot code that possibly makes false assumptions about svIndex tokens. Change-Id: I5c4a62dc5fdf3a97b7a4d143ce1e419f15a8fdb0
2015-07-31TableRef: add some SAL_WARN() when invalidating column names/offsetsEike Rathke
Change-Id: I628a7ce66d8d3eed5bf70a0ac57acd8f4deef598
2015-07-31tdf#44399 Do not display 0 decimal for General formatLaurent Balland-Poirier
For General (Standard) format, "0" is not the number of decimal places Replaced by an empty string in dialog UI and Sidebar. Change-Id: Ia367b491b71fa7b4480cdd03408c0c0315425dc8 Reviewed-on: https://gerrit.libreoffice.org/17439 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-30tdf#92918 Engineering notation lost with Add/Delete Decimal PlaceLaurent Balland-Poirier
With scientific format, use the trick of thousand separator to detect Engineering notation. Change-Id: I7acdfb8bec646f9d6c1a17c334b60fa9708c8111 Reviewed-on: https://gerrit.libreoffice.org/17406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-30tdf#39468 translated german comments in viewfunc*.cxxAlbert Thuswaldner
Change-Id: I14746d2d16ac73c1570f050713ceec2ad0305869 Reviewed-on: https://gerrit.libreoffice.org/17408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-30bnc#762542: Unit test for 1abc0695d770eebd21256a86aeee14a5384d84c7Jan Holesovsky
Change-Id: I52ede543298d788cd047b8080819eef7d22a73e6
2015-07-30loplugin:unusedmethodsNoel Grandin
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-29tdf#39468 translated german comments in output.cxx and output2.cxxAlbert Thuswaldner
Change-Id: I36f7e2ffa8868692b99c0a7d77692d25b82662d8 Reviewed-on: https://gerrit.libreoffice.org/17319 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-29translate some comments on the flyEike Rathke
Change-Id: Iae8d8da1c39abacb292d92da71ff8e031da43976
2015-07-29TableRef: restoring column names in UpdateMoveTab() is now unnecessaryEike Rathke
Change-Id: I2cd444370613e8c890126df41ecfd69e110a555e
2015-07-29TableRef: invalidate column names/offsets only if column span differsEike Rathke
Change-Id: I210323612e2aece7cc0bb8705396e3e6503c1260
2015-07-29chmod -xTor Lillqvist
Change-Id: I4a248b59e12587c3b2ce79676fdce29a348b6751
2015-07-29tdf#91802: Add reference edge to text orientationRishabh Kumar
Addition of reference edge and vertically stacked checkbox to the Alignment sidebar tab in Calc Change-Id: I62ba4145a33cf637d1d5f1f08b3f3f01e4165571
2015-07-28tdf#88206 Change uses of cppu::WeakImplHelper* to the variadic variantRaj Natarajan
Change-Id: I16ca3893798cbb20a93eceea259fafd7a31eff44 Reviewed-on: https://gerrit.libreoffice.org/17346 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-28inline "old" SbERR constantsNoel Grandin
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
2015-07-28inline the "old" SbxErr constantsNoel Grandin
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
2015-07-27tdf#92548, limit number of characters shown in formula wizardBenjamin Ni
Change-Id: I5c322140d40e1ec31e8664a6f731e57b9b3defdb
2015-07-27fix test for tdf#92547Benjamin Ni
Change-Id: Ifa4b338f067bd398c0e4d0e533980a255484dc90
2015-07-27TableRef: add unit testsEike Rathke
Change-Id: Ic635188f9ebefcfd49f71c3d61405e5f4765d940
2015-07-27unit test for FORMULA() with and without array contextEike Rathke
Change-Id: Ic8e0f5dfad6e9b9a70e6dca89a970c131efc53d9
2015-07-27tiledrendering: added getPartName method for calcMihai Varga
This method is used to get the sheet's name and to display it in the tabs (sheet selector) I've also added an unit test for it and uncommented a similar one Change-Id: Ia866815c594a873812c71a6c86e303c869e1f093 Reviewed-on: https://gerrit.libreoffice.org/17294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-07-25tdf#92256: Make OOXML filter CONV_A1_XL_A1 aware tooKatarina Behrens
+ don't write string ref syntax if it hasn't been read or explicitly changed Change-Id: Id3788a71a4a3d0672283a4770c7d7a9608beb06f Reviewed-on: https://gerrit.libreoffice.org/17326 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I3104a661b7c00851f6e444eb6899483bfc9c7417
2015-07-24enable FORMULA() to be used in array contextEike Rathke
So {=FORMULA(B1:B3)} works instead of giving an array of #N/A. Change-Id: I044a7032b3f79987ab70c03d25baee26f05063f8
2015-07-24tdf#92256: Handle case when string ref syntax is unknownKatarina Behrens
i.e. the document doesn't have that property. Use CONV_A1_XL_A1 pseudoconvention for interpreting INDIRECT in such case Change-Id: If9bac9053029b4b8f79d3ac7ac0759adbb25803f Reviewed-on: https://gerrit.libreoffice.org/17311 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-24File > Save As Remote - Calc and WriterSzymon Kłos
Change-Id: I03dc6592015dea4b4c5e77650ec8378ee0853a63
2015-07-24Open Remote file in Calc's menubarSzymon Kłos
Change-Id: Ie0e98768724edca02cfe7dc9fda682ce125e1a9e
2015-07-24Add test for OOXML part of tdf#99256Katarina Behrens
Change-Id: If5e56109f0bf9281be74c17965b047a50f8b55d3
2015-07-24calc mapmode: Cleanup DrawBackground + fix one pixel size.Jan Holesovsky
Change-Id: I2ff1aa1d83a3228ee76eda7cd2e411cf084079f6