summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2015-11-30loplugin:unusedfieldsNoel Grandin14-25/+8
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-30loplugin:unusedfieldsNoel Grandin5-11/+7
Change-Id: Ife94d488ead512abc6d137a0df74298bac67185d
2015-11-28Fix wrong use of toolbarseperator in shape toolbarsYousuf Philips2-3/+3
Change-Id: I812db6b6d2217435bec1b7daf13823747d820585 Reviewed-on: https://gerrit.libreoffice.org/20183 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-28Missing includeStephan Bergmann1-0/+4
Change-Id: If88aae978bc7cabe212f645f8eedff14d36c062f
2015-11-27use SvNumberFormatter::GetFormatStringForExcel()Eike Rathke1-41/+2
Change-Id: I4d5f8aa33fffceaa080d8b2ef6a177b4680cf761
2015-11-27use SvNumberFormatter::FillKeywordTableForExcel()Eike Rathke1-16/+2
Change-Id: I83b0cd033ba46dabdde92ed2812398518d1895bf
2015-11-26-Werror,-Wunused-private-fieldStephan Bergmann1-2/+0
Change-Id: I71f5aacb3b9370c1ff137faeb6f98ad889010f03
2015-11-26mark UNO structs as SAL_WARN_UNUSED, where possibleNoel Grandin2-5/+0
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-26TableRef: write <tableParts> before <extLst>, resolves tdf#96049Eike Rathke3-15/+18
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 McNamara1-2/+2
like the other call sites do Change-Id: I77250f172f9d9ce97e5982bafbc8f042e9343acc
2015-11-25coverity#1340224 Logically dead codeCaolán McNamara1-0/+1
Change-Id: I206701fa068c788f77307a649a607316473e6105
2015-11-25sc: improve vba macro debugging output.Michael Meeks1-1/+1
Change-Id: I8c8cd6255b6722d4d46d6e652e9d9d9722fe112e
2015-11-25sc: force vba events ordering.Michael Meeks1-0/+5
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 Grandin6-17/+9
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-25store custom icon set info into ODFMarkus Mohrhard1-0/+17
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 Grandin10-64/+56
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-25Revert "Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A"Eike Rathke1-1/+1
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 Rathke1-1/+1
Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984
2015-11-24never push an error instead of the ScJumpMatrixTokenEike Rathke1-1/+1
Change-Id: I52854241a9ab87153635b27cb6a66ef4269b2e76
2015-11-24sc: -Werror=unused-parameterMiklos Vajna1-60/+60
Change-Id: I1d3ad22b3dd304ff7384de1e07af88cd63bd28cd
2015-11-24sc: Implement Software Interpreter subsetting, similarly to openCL one.Jan Holesovsky3-0/+28
And add only the minimum amount of operations we are sure about. Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
2015-11-24sc: Implement ScVectorRefMatrix.Jan Holesovsky4-53/+696
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 Holesovsky20-260/+488
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 McNamara3-18/+18
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara1-2/+2
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields in scNoel Grandin53-190/+68
Change-Id: If5123e676a27302f3e11475309bc748977c6f430
2015-11-21tdf#83126: Find All: Don't ignore Search Direction Rows/Col optionJulien Nabet1-1/+1
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 Rathke2-0/+27
Change-Id: I6531a79b510da18b6799edd32d40cfce7dd2975a
2015-11-21solve 6/8 cases of the dreaded conditional logical format in matrix resultsEike Rathke1-7/+40
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 Holesovsky2-3/+3
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 Bergmann1-2/+2
...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 Grandin1-2/+0
arguments to SAL_INFO are evaluated even when logging is off Change-Id: Ib0d391c0f080760be83f6e17dc0772b14f41fd4d
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt7-15/+15
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20Remove redundant toolbar:style="radio" propertySamuel Mehrbrodt3-9/+9
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 Bergmann2-9/+6
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-20Remove redundant toolbar:style definitionsSamuel Mehrbrodt7-44/+44
Change-Id: If255e6bebe501f1b0959613ce091b322af064628
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin3-21/+5
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 Mehrbrodt4-5/+5
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-11-19loplugin:sallogareasStephan Bergmann3-4/+4
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-19use comphelper::containerToSequenceNoel Grandin3-42/+12
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18rename FormulaToken HasForceArray to IsInForceArrayEike Rathke4-7/+7
... 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 Stahl1-1/+1
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna2-2/+2
Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-18Unify menu-based toolbar controllersMaxim Monastirsky1-3/+0
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 Mehrbrodt1-2/+2
Change-Id: I9ca5739462742a4e3ec3a034918891e53022d6de
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin9-25/+10
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 Grandin24-28/+26
Change-Id: I2516c83f8dfca1f1217be7dcb2a28f5dcd2f704e
2015-11-17sc: loplugin:badstaticsMichael Stahl6-17/+37
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úš Kukan2-42/+42
Change-Id: I961516d92abd693c19efe8a051e35ae5192ef7d2
2015-11-17There is no need for this broken 'if' hereMatúš Kukan1-2/+1
Change-Id: I10f926af9ca19252878b9b6e20365c38c885ce83