summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-11-28Missing includeStephan Bergmann
Change-Id: If88aae978bc7cabe212f645f8eedff14d36c062f
2015-11-27use SvNumberFormatter::GetFormatStringForExcel()Eike Rathke
Change-Id: I4d5f8aa33fffceaa080d8b2ef6a177b4680cf761
2015-11-27use SvNumberFormatter::FillKeywordTableForExcel()Eike Rathke
Change-Id: I83b0cd033ba46dabdde92ed2812398518d1895bf
2015-11-26-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I71f5aacb3b9370c1ff137faeb6f98ad889010f03
2015-11-26mark UNO structs as SAL_WARN_UNUSED, where possibleNoel Grandin
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-26TableRef: write <tableParts> before <extLst>, resolves tdf#96049Eike Rathke
Excel expects this order, so let XclExpTables be managed as XclExpRecordBase in the sheet's XclExpRecordList. Change-Id: If2cefc255c74688661e861a26218564117b1e3ce
2015-11-26test for IsMouseCaptured before releasing mouseCaolán McNamara
like the other call sites do Change-Id: I77250f172f9d9ce97e5982bafbc8f042e9343acc
2015-11-25coverity#1340224 Logically dead codeCaolán McNamara
Change-Id: I206701fa068c788f77307a649a607316473e6105
2015-11-25sc: improve vba macro debugging output.Michael Meeks
Change-Id: I8c8cd6255b6722d4d46d6e652e9d9d9722fe112e
2015-11-25sc: force vba events ordering.Michael Meeks
Otherwise we get workbook load events (eg.) happening at idle, which occurs at (more or less) random places as the StarBasic interpreter Yields every few instructions executed. Change-Id: I51ea57f4ad45e30e04fe84a9dc051ed1c5537536
2015-11-25loplugin:unusedfields variousNoel Grandin
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-25store custom icon set info into ODFMarkus Mohrhard
Change-Id: I1581b28237d2b9f9c22d3f3b0436dc281508aafa Reviewed-on: https://gerrit.libreoffice.org/20118 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-25Revert "Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A"Eike Rathke
This reverts commit 22ebafe8897239696f46df6f093054d16285004a. It seems to break various sc.subsequentcheck targets.
2015-11-24Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0AEike Rathke
Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984
2015-11-24never push an error instead of the ScJumpMatrixTokenEike Rathke
Change-Id: I52854241a9ab87153635b27cb6a66ef4269b2e76
2015-11-24sc: -Werror=unused-parameterMiklos Vajna
Change-Id: I1d3ad22b3dd304ff7384de1e07af88cd63bd28cd
2015-11-24sc: Implement Software Interpreter subsetting, similarly to openCL one.Jan Holesovsky
And add only the minimum amount of operations we are sure about. Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
2015-11-24sc: Implement ScVectorRefMatrix.Jan Holesovsky
This is a ScMatrix implementation that operates directly on formula::DoubleVectorRefToken, saving tremendous amount of copying data back and forth. Change-Id: I027e6cb668ef40eb474773a0ce8d0eeefc1ab71c
2015-11-24sc: Introduce Abstract Base Class for ScMatrix, for a future rework.Jan Holesovsky
We want to introduce another type of ScMatrix that will directly contain DoubleVectorRefToken and operate on that. The idea is that it is pointless to construct a ScMatrix via lots of copying around, when we already have a nice array of doubles. Change-Id: I3e5d7b9e2e0f9b9bf350336a8582cfd852586b3f
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields in scNoel Grandin
Change-Id: If5123e676a27302f3e11475309bc748977c6f430
2015-11-21tdf#83126: Find All: Don't ignore Search Direction Rows/Col optionJulien Nabet
bAll (ie "Find All") seems a little tricky for GetBackward but not for GetRowDirection method Change-Id: I47d2b378fb493bcdc1ad30902a3a677eedc50789 Reviewed-on: https://gerrit.libreoffice.org/20067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-21unit test testMatrixConditionalBooleanResultEike Rathke
Change-Id: I6531a79b510da18b6799edd32d40cfce7dd2975a
2015-11-21solve 6/8 cases of the dreaded conditional logical format in matrix resultsEike Rathke
So we now have =IF({1,0},TRUE(),42) => {TRUE,42} =IF({0,1},TRUE(),42) => {42,1} =IF({1,0},42,FALSE()) => {42,0} =IF({0,1},42,FALSE()) => {FALSE,42} instead of before =IF({1,0},TRUE(),42) => {TRUE,TRUE} =IF({0,1},TRUE(),42) => {TRUE,TRUE} =IF({1,0},42,FALSE()) => {TRUE,FALSE} =IF({0,1},42,FALSE()) => {FALSE,TRUE} Not perfect but better.. Change-Id: Ib4970f3c4c1bea87130730b956a0a6754879c6e6
2015-11-20sc: One more place needed when one wants to enable the S/W interpreter.Jan Holesovsky
Rename the variable too when I am at that; it may be broken, but the user knows what he/she's doing when using an env. var. Change-Id: Ia457c477e5677e7f89a35b331df0933e2eb3f5b3
2015-11-20Seems more natural to pass a homogenous list by initializer_listStephan Bergmann
...than by template parameter pack (even if that requires using ServiceDecl*, as initializer_list cannot take reference types) Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-20fix buildNoel Grandin
arguments to SAL_INFO are evaluated even when logging is off Change-Id: Ib0d391c0f080760be83f6e17dc0772b14f41fd4d
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20Remove redundant toolbar:style="radio" propertySamuel Mehrbrodt
Change-Id: I56969839a93af975466ab6c28f2f87557e4d7f1b Reviewed-on: https://gerrit.libreoffice.org/20074 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-20Remove redundant toolbar:style definitionsSamuel Mehrbrodt
Change-Id: If255e6bebe501f1b0959613ce091b322af064628
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-19Remove redundant toolbar:style attributesSamuel Mehrbrodt
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-11-19loplugin:sallogareasStephan Bergmann
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-19use comphelper::containerToSequenceNoel Grandin
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18rename FormulaToken HasForceArray to IsInForceArrayEike Rathke
... to name it was it does and to distinguish from ScParameterClassification::HasForceArray(OpCode) which IS about a function having ForceArray parameters. Change-Id: I8af4e1d0353cdb5ad0a9b837ae0763dc77242734
2015-11-18editeng: wrong default item for EE_PARA_FORBIDDENRULESMichael Stahl
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna
Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-18Unify menu-based toolbar controllersMaxim Monastirsky
The new GenericPopupToolbarController takes by default the popup menu controller that registered for the same .uno:Something command, and sets ToolBoxItemBits to ToolBoxItemBits::DROPDOWNONLY. If a different command specified using the "Value" property - takes the popup menu controller that registered for this command, and sets bits to ToolBoxItemBits::DROPDOWN. Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239 Reviewed-on: https://gerrit.libreoffice.org/20040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-18Remove redundant toolbar:text labelsSamuel Mehrbrodt
Change-Id: I9ca5739462742a4e3ec3a034918891e53022d6de
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-18use unique_ptr for pImpl in sc/Noel Grandin
Change-Id: I2516c83f8dfca1f1217be7dcb2a28f5dcd2f704e
2015-11-17sc: loplugin:badstaticsMichael Stahl
Not sure if there would be a performance penalty to re-loading these icons every time, so move the static map from ScIconSetFormat::getBitmap() to a member of ScDocument. Change-Id: If560d70cea27e25396dd821d9e77a785e3b79820
2015-11-17Be consistent in using tabs at least hereMatúš Kukan
Change-Id: I961516d92abd693c19efe8a051e35ae5192ef7d2
2015-11-17There is no need for this broken 'if' hereMatúš Kukan
Change-Id: I10f926af9ca19252878b9b6e20365c38c885ce83
2015-11-17Assume this wants to append the numerical representationStephan Bergmann
...not a single sal_Unicode char (aParam.nUserIndex is of type sal_uInt16), just the same as 2211ad695920526e9acf473f342d0732ce1112a8 "First cut on getting ODS import/export of sheet-local anonymous ranges" did in a very similar place in the same file. (And Kohei, author of both places, assumes this is the right thing to do, too.) Change-Id: I12cd8abf1b4aaab7baa54f21d8c5a7ff2e171275
2015-11-17Toolbar: Remove empty attributesSamuel Mehrbrodt
Change-Id: Id78cae55eb89520bd87713f9ea6c009c922f2870
2015-11-17Resolves: tdf#89907 do not modify original ScViewData's ScMarkDataEike Rathke
Change-Id: I2ae5a06f9ffe29de0b1cc5875615010da75f4ae9