summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2018-11-27tdf#42949 Fix IWYU warnings in include/vcl/[f-h]*Gabor Kelemen2-0/+2
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ice2eb8c5994bf2ccb88972332ca4a1d3ed41752a Reviewed-on: https://gerrit.libreoffice.org/63826 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-27tdf#45904 Move _XLinkTargetSupplier Java Tests to C++Rahul Gurung1-1/+6
Change-Id: Idd62a6458d7aa0d1d8a479f5ebf78637e0360548 Reviewed-on: https://gerrit.libreoffice.org/63950 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-11-26tdf#117720 Delete Max from list Min and delete Min from list Max in CF dialogRoman Kuznetsov2-59/+131
This changes how the list items are identified in the code, making use of the support for item ids in comboboxes introduced in commit 83cefb5ceb4428d61a5b9fae80d1e673131e9bfe. Change-Id: I69390c8f9d32b77454e2935cf28b38ea44be8ffd Reviewed-on: https://gerrit.libreoffice.org/63238 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-26NB tabbed calc: add shortcuts and Right2Left supportandreas kainz1-139/+252
Change-Id: I96d760063bf1684cf893e7765f10b0695b2e16ed Reviewed-on: https://gerrit.libreoffice.org/64004 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-26tdf#108027, add external ref string items to the data arrayMarkus Mohrhard1-1/+1
Change-Id: Iaf607fca6d7e88f2c529ab4a374f34164813331a Reviewed-on: https://gerrit.libreoffice.org/64009 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-11-25tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski4-10/+10
Change-Id: I8d98aa7dd77fbd79611b8a4aba77e8c378fd1cae Reviewed-on: https://gerrit.libreoffice.org/63981 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-25weld SfxMacroAssignDlgCaolán McNamara2-3/+3
Change-Id: I80045f1d1ca189fc490dc88b3471d68782df6f1c Reviewed-on: https://gerrit.libreoffice.org/63976 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-25tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski6-11/+8
Change-Id: If173f42302553b164267909a0a3156bb25a6d558 Reviewed-on: https://gerrit.libreoffice.org/63957 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-25drop unused FormulaVectorDisabledNotInSoftwareSubsetNoel Grandin3-5/+0
Change-Id: I6d9b43ce6c72ff876b48bfba4b6de09ed46fd809 Reviewed-on: https://gerrit.libreoffice.org/63946 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-25Replace list by vector for ScDDELinkCells typedef (sc)Julien Nabet1-2/+2
Change-Id: I3531ebc46bfc1c4362fafd7f6c93dd97f85676fa Reviewed-on: https://gerrit.libreoffice.org/63963 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-24remove unused sc::ListenerGroupType::SingleNoel Grandin2-5/+0
Change-Id: I98a279731b22f88f57ab667b6f5ef8c71b030832 Reviewed-on: https://gerrit.libreoffice.org/63945 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-24convert Unit to scoped enumNoel Grandin7-49/+38
and drop unused UNIT_REFDEVX,UNIT_REFDEVY values Change-Id: I4e516f2c51672f6541f3cf7c03a87aebc4a1f1f6 Reviewed-on: https://gerrit.libreoffice.org/63944 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-24remove unused FuncFlags::BIFFIMPORTONLY,STATE::S_WK1Noel Grandin2-11/+6
Change-Id: I94d88f871bfc78a066f6fd583b7fb7a7305944c8 Reviewed-on: https://gerrit.libreoffice.org/63943 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-24remove ScMoveUndoMode enumNoel Grandin4-22/+10
we only use one value Change-Id: I7a0f3760615111adcd8b925234f53fafa46a0bd7 Reviewed-on: https://gerrit.libreoffice.org/63942 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-24remove ScVbaControlObjectBase::ListenerType enumNoel Grandin2-46/+11
we only use one value from it Change-Id: I3d0391e76f07434915940be25025de36a5475bc5 Reviewed-on: https://gerrit.libreoffice.org/63937 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-23convert FormulaDlgMode to scoped enumNoel Grandin1-2/+2
and drop unused ARGS value Change-Id: I9b9d0c9ea64a2174759dcf6406bdf6cd5be5862a Reviewed-on: https://gerrit.libreoffice.org/63892 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-23enum ScMatrix::Op is unnecessaryNoel Grandin4-20/+9
Change-Id: If4ae97b43f012f1770213d99407ffaadac05f9de Reviewed-on: https://gerrit.libreoffice.org/63756 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-23Use the correct DPI scaling factor in LibreOfficeKit for iOS, tooTor Lillqvist1-6/+6
Fixes the rendering of spreadsheets in the iOS app. (The cell area was rendered at half the scale of the row and column headers.) Actual code change only in desktop/source/lib/init.cxx, but update related comments elsewhere to mention CoreGraphics, too, and not just cairo. Change-Id: Ife99c6a2d58e592cfea3b4ed1ab09c19fba77e72
2018-11-23remove some unused enums in sc/Noel Grandin3-6/+1
Change-Id: I841f64a8b4f7f9a9e09df3b7877843616129dee1 Reviewed-on: https://gerrit.libreoffice.org/63755 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-23Check isEmptyStringQuery() early to avoid call ..., tdf#121052 follow-upEike Rathke1-9/+7
... and comparison of lcl_getPrevRowWithEmptyValueLookup() result. Change-Id: Ie4b848f30a0696cc40b04376c352a530b99190b9 Reviewed-on: https://gerrit.libreoffice.org/63840 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2018-11-23Tabbed NB calc: fix drop down menuesandreas kainz1-4/+1
Change-Id: I13978d74ad64891108b4c633d342146ad2655087 Reviewed-on: https://gerrit.libreoffice.org/63858 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-22uitest Calc ScenariosZdeněk Crhonek1-0/+55
Change-Id: Iddb099f4b4773d8b70d24d7df011e103fbf0ac7a Reviewed-on: https://gerrit.libreoffice.org/63806 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-22tdf#121052 sc: avoid multiple empty value lookups in rangesSerge Krot3-1/+78
Change-Id: I7759aef51af2f400f3f5ec69854fd9133e845f49 Reviewed-on: https://gerrit.libreoffice.org/62712 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-22--enable-dbgutil --disable-assert-always-abort fixesStephan Bergmann1-3/+3
...which <https://ci.libreoffice.org/job/lo_tb_random_config_linux/> occasionally stumbles across; plus some related loplugin:staticmethods fixes Change-Id: If6998c302cfbabfcad626d9c68d94d3368548a41 Reviewed-on: https://gerrit.libreoffice.org/63808 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-22tdf#116931 Fix scale when calc cells move indirectlyArmin Le Grand1-28/+76
For the anchor mode 'To Cell (resize with cell)' there were errors e.g. when the cell the object is in does not scale but move. If that move went further than the object is, wrong offsets emerged. Also added full linear per-cell scale instead of only scale (no translation through scale). Overhauled to use liner transfomations, too. Change-Id: Icff0fad168476c68ea10fd5830bf53bd7294b89f Reviewed-on: https://gerrit.libreoffice.org/63803 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-11-22improve function-local statics in scNoel Grandin61-657/+390
Change-Id: Ibde8aa9393591fe405bfad8ddb23ceda77723a35 Reviewed-on: https://gerrit.libreoffice.org/63781 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-22Resolves: tdf#113898 create JumpMatrix for svExternalDoubleRef scalar valuesEike Rathke1-1/+10
Change-Id: I45d2a1e573a7e4923aaaf5b69f3c4b39215aacc2 Reviewed-on: https://gerrit.libreoffice.org/63778 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2018-11-22uitest Calc - Multiple operations and Share spreadsheet dialogsZdeněk Crhonek2-0/+167
Change-Id: I782cc8c60f94c156edfbbc0bf88427bd4a542ea1 Reviewed-on: https://gerrit.libreoffice.org/63757 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-22tdf#45904 Move XEnumeration Java tests to C++Jens Carl5-33/+187
Move XEnumeration Java tests to C++ for ScIndexEnumeration_DataPilotItemsEnumeration. It's also the last test in the group JunitTest_sc_unoapi_5, we finally could remove that target from the Makefile. Change-Id: I560c1ca691f0019ac4da99bde3c599b4ba22fb68 Reviewed-on: https://gerrit.libreoffice.org/63690 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-21weld SwCondCollPageCaolán McNamara1-1/+1
and put back original SvTreeListBox a11y factory use Change-Id: I4ad8ce29d8fed6ec5d44e9a1d641919a89226b79 Reviewed-on: https://gerrit.libreoffice.org/63501 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21loplugin:redundantfcast improvementsNoel Grandin4-8/+7
check for calls to constructors, and extend the list of types we check for unnecessary temporary creation Change-Id: Ia2c1f202b41ed6866779fff5343c821128033eec Reviewed-on: https://gerrit.libreoffice.org/63472 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21tdf#42949 Fix IWYU warnings in include/vcl/[B-E]*Gabor Kelemen6-0/+6
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iabe571aa8f00492902c499094bea8365a3e17fca Reviewed-on: https://gerrit.libreoffice.org/63623 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-21uitest for bug tdf#91726Zdeněk Crhonek1-0/+58
Change-Id: I12dadaccf660cafb85f0a6e00d891f1dfd941ab0 Reviewed-on: https://gerrit.libreoffice.org/63684 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-21tdf#121401 calc keyboard navigation all notebookbarsandreas kainz4-752/+703
Change-Id: I45ad8e210954714ed97442ab899de489d64ecf0c Reviewed-on: https://gerrit.libreoffice.org/63691 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-21Bin obsolete headerJens Carl1-1/+0
Change-Id: I78a231024d90d36494cbd8e363da98fd3b420095 Reviewed-on: https://gerrit.libreoffice.org/63685 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-2/+214
Move XEnumeration Java tests to C++ for ScIndexEnumeration_TableChartsEnumeration. Change-Id: Ibbfcf9ec92c3bae4d6add044d2e62472f32d801e Reviewed-on: https://gerrit.libreoffice.org/63678 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#119714 add Normal View switch in calc pagebreak viewandreas kainz1-0/+1
Change-Id: I3b00ee5c851df368a98c6afa0b4c466fc8970fed Reviewed-on: https://gerrit.libreoffice.org/63566 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-20tdf#42949 Fix IWYU warnings in sc/qa/{perf,unit}/*Gabor Kelemen33-188/+73
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I031faa67192f21d20938c8cc8056db138326a1ca Reviewed-on: https://gerrit.libreoffice.org/63143 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+147
Move XEnumeration Java test to C++ for ScIndexEnumeration_SubTotalFieldsEnumeration. Change-Id: Ibe2b283e99230c5e517eb80858ff31459f2c9844 Reviewed-on: https://gerrit.libreoffice.org/63627 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+135
Move XEnumeration Java tests to C++ for ScIndexEnumeration_SpreadsheetViewPanesEnumeration. Change-Id: I03c05cd894bf84816618ac28deb01ecb2fd8779e Reviewed-on: https://gerrit.libreoffice.org/63622 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+127
Move XEnumeration Java tests to C++ for ScIndexEnumeration_SpreadsheetsEnumeration. Change-Id: Id6fbc4dab54e2b50be42df7ade912a5aaf1cb97c Reviewed-on: https://gerrit.libreoffice.org/63621 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+128
Move XEnumeration Java tests to C++ for ScIndexEnumeration_TableAutoFormatEnumeration. Change-Id: Ibe9f4cffaecc4f3fada04f82425031e6773b32d7 Reviewed-on: https://gerrit.libreoffice.org/63619 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+166
Move XEnumeration Java tests to C++ for ScIndexEnumeration_SheetCellRangesEnumeration. Change-Id: Ic3bc6f38244c4f476d29826accc397b4b6902f31 Reviewed-on: https://gerrit.libreoffice.org/63605 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+129
Move XEnumeration Java tests to C++ for ScIndexEnumeration_FunctionDescriptionEnumeration. Change-Id: I6c15abff293996a6bac8e4a6c0004853fae13990 Reviewed-on: https://gerrit.libreoffice.org/63604 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-19tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+133
Move XEnumeration Java tests to C++ for ScIndexEnumeration_DatabaseRangesEnumeration. Change-Id: I33fac410b4b05f88dad45f859ae466fabb8303fc Reviewed-on: https://gerrit.libreoffice.org/63592 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-19tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+134
Move XEnumeration Java tests to C++ for ScIndexEnumeration_CellAreaLinksEnumeration. Change-Id: I0cbb97689522d9ff5d3ba0799b6d1e3f215cf533 Reviewed-on: https://gerrit.libreoffice.org/63590 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-19uitest for Calc- AutoFormat and move/copy sheet dialogsZdeněk Crhonek2-0/+137
Change-Id: Ic13f33d37d9f8e472bde5a2708a8a7cbdc6d26f4 Reviewed-on: https://gerrit.libreoffice.org/63583 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-19tdf#45904 Move XEnumeration Java tests to C++Jens Carl4-1/+141
Move XEnumeration Java tests to C++ for ScIndexEnumeration_CellAnnotationsEnumeration. Change-Id: I06ad265c09fa4c29e056527c79c0470634abaabc Reviewed-on: https://gerrit.libreoffice.org/63549 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-19Removed duplicated includesAndrea Gelmini3-3/+0
Change-Id: Idd6a5e84d93016f97745e6d9b99e4f79f7614ea7 Reviewed-on: https://gerrit.libreoffice.org/63554 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-19NB calc groupedbar compact big update and syncandreas kainz1-1372/+3151
Change-Id: I2c9babfd06694c319b387c53613f178e2ea538f8 Reviewed-on: https://gerrit.libreoffice.org/63557 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>