summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-05-31teach refcounting clang plugin about uno::ReferenceNoel Grandin
uno::Reference is only allowed to used with classes that have a ::static_type member. So convert all those places to rtl::Reference. Maybe we need some LIBO_INTERNAL_ONLY constructors on rtl::Reference and uno::Reference to make this a little smoother? Change-Id: Icdcb35d71ca40a87b1dc474096776412adbfc7e3 Reviewed-on: https://gerrit.libreoffice.org/25516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30tdf#100068: Initial implementation of ScreenshotIdKatarina Behrens
it's the same as HelpId in default implementation and extended with '=?config=foo' string otherwise, depending on different configurations the dialog/tabpage can have (e.g. different widgets hidden/shown) Change-Id: I01312a5a88ef7ba784bca315b336420cdb63c8dc Reviewed-on: https://gerrit.libreoffice.org/25455 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-30we already have pClipDocEike Rathke
Change-Id: I0485f15b6771d10d4b077f5034db77e4c13ef877
2016-05-30actually multiple destination sheets are handled, tdf#97158 follow-upEike Rathke
... so ScMarkData doesn't need to be passed. Which it wasn't anyway because the destination sheet span is part of CopyFromClipContext. Change-Id: I0addd370d96ab78b22ed957081a1212fc70419a1
2016-05-30Resolves: tdf#97158 CopyOneCellFromClip() does not handle multiple sheetsEike Rathke
... so check that and bail out to let the remainder of CopyFromClip() handle it. Change-Id: I9d139de905fd108ae41fed79a38860058525272c
2016-05-30editeng: rename misleading SvxBoxItem::GetDistance()/SetDistance()Michael Stahl
Change-Id: Iea61f2de2b907974bbb05c66abf6cdaeab87b8b2
2016-05-30remove unnecessary temporary ScRangeList copyEike Rathke
Change-Id: I46b9992f34820d21e4d0aa39a77cf6477648721a
2016-05-30FORECAST.ETS.* functions: default aggregation is 1 (0 is not allowed)Stanislav Horacek
Change-Id: I71470b0871a181dd9ce090053a41238698744424 Reviewed-on: https://gerrit.libreoffice.org/25577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-30tdf#94205 Use o3tl::make_unique instead of new + std::moveapurvapriyadarshi
Removed std::move() and replaced it with 03tl::make_unique Change-Id: I684c62e04e8e8e9df61379eb064ee2b1c012c762 Reviewed-on: https://gerrit.libreoffice.org/25610 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-30Convert FontRelief to scoped enumNoel Grandin
Change-Id: I545c83d742db27f1a004b66e5eb1ef768f62e011 Reviewed-on: https://gerrit.libreoffice.org/25626 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Convert SelectionMode to scoped enumNoel Grandin
Change-Id: I86c435de3918540cb54a0cb24568e58456c2f9d1 Reviewed-on: https://gerrit.libreoffice.org/25611 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30loplugin:unusedmethodsNoel Grandin
Change-Id: I08e9bb65b2530148b80c67f01d51e594fc698acb Reviewed-on: https://gerrit.libreoffice.org/25543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30loplugin:unusedmethods SfxLinkUndoActionNoel Grandin
Change-Id: I1ad7c2452dd9bc80e7404f41484b9667adbcfa7b Reviewed-on: https://gerrit.libreoffice.org/25542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-29add DAYS360 test caseZdeněk Crhonek
Change-Id: If670fcbf870d96e2328c02bc0f42beb5cd8e60ff Reviewed-on: https://gerrit.libreoffice.org/25583 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-28Improve alignment and use of space in Document Properties dialogAdolfo Jayme Barrientos
Change-Id: Id4da1138931ef1601541b7108a4e90b3656a5ccb
2016-05-28Revert "add DAYS test case"Markus Mohrhard
This reverts commit 75e4c582828d1706664f4582be2f6589aef48df3. Change-Id: I52a4bc79790ce479ad3b9762942d6bbc49d4b294 Reviewed-on: https://gerrit.libreoffice.org/25573 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-05-28add DAYS test caseZdeněk Crhonek
Change-Id: I6720a1cfaf5f7463b839ba5ef59e4479ed3781c1 Reviewed-on: https://gerrit.libreoffice.org/25564 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-28add DAY test caseZdeněk Crhonek
Change-Id: I010be093e84107d2b0cd46a90f32ce6df081744e Reviewed-on: https://gerrit.libreoffice.org/25560 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-27notebookbar: working border style dropdownSzymon Kłos
Change-Id: I37d140d50d37b682617051bed56b850f4f2a00a5
2016-05-27Convert GRAPHIC to scoped enumNoel Grandin
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-27Move accessibility relations to .ui files tdf#87026Muhammet Kara
Get rid of SetAccessibleRelationLabeledBy and SetAccessibleName in C++ files by moving the relations to .ui files. Change-Id: I8b425a0c7d923ff6f99540f0a6c18112f6f4d0c0 Reviewed-on: https://gerrit.libreoffice.org/25518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-27tdf#34465 remove calls to SfxItemSet::Put(const SfxPoolItem&, sal_uInt16)Noel Grandin
and put an assert in SfxPoolItem::SetWhich() so nothing new creeps in. Change-Id: I6497650fa61ffb2b6941ffff2d471c8f117be1df Reviewed-on: https://gerrit.libreoffice.org/24324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26add DATEDIF test caseZdeněk Crhonek
Change-Id: Id564484299b9de69daa428edd8d476b09e373dec Reviewed-on: https://gerrit.libreoffice.org/25517 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-26add DATE test caseZdeněk Crhonek
Change-Id: I32ae859f6521caefd57de1ce60db37d4779e2290 Reviewed-on: https://gerrit.libreoffice.org/25515 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-26sc lok bccu#1610 - Tiles not rendering in large spreadsheetsAshod Nakashian
Variable max info rows instead of hard-coded allows for collecting info on more rows. FillInfo, however, is extremely slow for large row count (a few thousand) and needs improving. Reviewed-on: https://gerrit.libreoffice.org/25293 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 4c338a328d6be0450bfdcb08876abfd149cb80ca) Change-Id: Ib0e475513bc3ba98fff66a5b9d405aeba1057331 Reviewed-on: https://gerrit.libreoffice.org/25423 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-26notebookbar: updated sc ui fileSzymon Kłos
Change-Id: I7ca393f9f431a7b43faadec9fb7ca9e7e3937cc7
2016-05-26correct description of the SWITCH functionStanislav Horacek
Change-Id: I5180efcf5930c60c5340e195069cbffa2b459fc1 Reviewed-on: https://gerrit.libreoffice.org/25255 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-26move the test file to the correct dirMarkus Mohrhard
Change-Id: I4279cbfc174554e0e37039831c4799e12d2e0e09 Reviewed-on: https://gerrit.libreoffice.org/25511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-26cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Ibb6bc9a17418a8fb0b5f882285088a5b80fd5beb
2016-05-26loplugin:unusedmethodsNoel Grandin
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26loplugin:unusedreturntypesNoel Grandin
and clean up the python script Change-Id: I0a7068153290fbbb60bfeb4c8bda1c24d514500f Reviewed-on: https://gerrit.libreoffice.org/25439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26tdf#97831 unit test document for new Excel2016 functionsWinfried Donkers
Change-Id: I9bd1a74d39a66fd3fee56350af5c7c9a4359be93 Reviewed-on: https://gerrit.libreoffice.org/25457 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-25remove now moot comment, tdf#86282 follow-upEike Rathke
Change-Id: I7e720de93a5f47ca6a81addbb75c113dc2fe53f0
2016-05-25add DVARP test caseZdeněk Crhonek
Change-Id: I8b591ce8a96484df9a2c7e570227f75f80732e34 Reviewed-on: https://gerrit.libreoffice.org/25461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-25tdf#86282 switch to base name sheet name again for external references CSVEike Rathke
... now that we can handle both, a base name and Sheet1 name. For the following reasons: * Since 4.3 we write and expect the base name as sheet name for CSV. While 43030487c45f49bccdfad987c60d9483b938ebac switched that back to Sheet1 or its equivalent to be able to load older documents, a mixed environment of earlier and later versions gets confused by this. * The name Sheet1 can be localized and even customized by the user and thus fails to update/refresh in a different localized or customized environment. This also was already the case for all versions prior to 4.3 but apparently wasn't recognized or brought in connection with some possible failures when updating externally referenced CSV files. * Deriving the sheet name to be stored from the base name prevents all problems related to localized or customized environments, and keeps interoperability with all versions from 4.3 on. Change-Id: I8d71b3ad6370747115ea419a21094b649326642c
2016-05-25add DVAR test caseZdeněk Crhonek
Change-Id: I1e7e86ec28138453a56170d7bc40076708930c0b Reviewed-on: https://gerrit.libreoffice.org/25460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-25tdf#86282 handle both, base name and Sheet1, as external reference sheet nameEike Rathke
While 43030487c45f49bccdfad987c60d9483b938ebac fixed things for older 'name.csv'#Sheet1.A1 references, loading documents that meanwhile stored 'name.csv'#name.A1 lead to #REF! when the external links were updated. Now recognize both, the base file name and Sheet1 name and set up one as the alias of the other, so both variants can be handled. Change-Id: Ie9314e11be19c3316a06e10583777e2d5f5ec1b8
2016-05-25Resolves: tdf#98895 range search crashes open office if range is nullCaolán McNamara
Change-Id: I12cf1045e1fd606cff58b68254eaf5cba6dee838
2016-05-25(nearly) nothing uses GetUniqueId anymore, so remove it.Caolán McNamara
The odd one out is the usage in Formula, which attempts to restore focus to a particular window identified by an unique id. In this case restore focus by keeping a VclPtr to the desired window. Change-Id: I1dc335325c109d75745c6bba2e12662e6ae50638
2016-05-25SWITCH returns error if compared value contains an error, tdf#97831 follow-upWinfried Donkers
Partial revert of commit a2aea8bac55cef23297573733ba28f563f5aa791 Change-Id: Ia059dd434a52e959495c0ea6ffc47e68df7a474a Reviewed-on: https://gerrit.libreoffice.org/25165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-25correct description of range argument of MINIFS and MAXIFSStanislav Horacek
Change-Id: Ie319836f1d916d3a53237fdbc80d6530a000afa9 Reviewed-on: https://gerrit.libreoffice.org/25256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-05-25use consistent case for argument names of IFS functionStanislav Horacek
Change-Id: I19480507e90df46deee15a6a4e80b0fcd6a9c70d Reviewed-on: https://gerrit.libreoffice.org/25254 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-25Convert SC_MF to scoped enumNoel Grandin
Change-Id: I3089006b502e33710bfb2564f051ebf2892ad08a Reviewed-on: https://gerrit.libreoffice.org/25085 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-25add DSUM test caseZdeněk Crhonek
Change-Id: I0afb85a16f1128542eae5e966ac0d98f1d66861e Reviewed-on: https://gerrit.libreoffice.org/25414 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-25DCOUNT test case - one more testZdeněk Crhonek
Change-Id: Id4753112ec287f185440d1fd6f231841c944daec Reviewed-on: https://gerrit.libreoffice.org/25413 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-24Resolves: tdf#99733 don't crash on moving range of cellsCaolán McNamara
Change-Id: Ib9afc8ef292e517954b24321100862f5235290e5 Reviewed-on: https://gerrit.libreoffice.org/25405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-24convert PIVOT_FUNC to scoped enumNoel Grandin
Change-Id: I6d50ad6fa0dbe7b21ad73e14dc2df3c854d08153 Reviewed-on: https://gerrit.libreoffice.org/25076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-05-24Revert "remove some manual ref-counting"Noel Grandin
until I have a better understanding of the UNO reference counting. This reverts commit 111de438ea3e512a541281dc0716cc728ea8d152.
2016-05-24loplugin:unusedmethods in scNoel Grandin
Change-Id: Ic378126a30be853d10fe174c451cee3c6ded404f Reviewed-on: https://gerrit.libreoffice.org/25109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-24remove some manual ref-countingNoel Grandin
triggered when I noticed a class doing acquire() in the constructor and then release() in the destructor. found mostly by git grep -n -B5 -e '->release()' Change-Id: Ie1abeaed75c1f861df185e3bde680272dbadc97f Reviewed-on: https://gerrit.libreoffice.org/25363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>