summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)Author
2015-01-04boost::unordered_set->std::unordered_setCaolán McNamara
Change-Id: I0a8ecc3aa26ffc56f216a6a0e078e158b03a4a02
2015-01-04help out clangCaolán McNamara
Change-Id: I21c1f43f4e0c339c57fa0f8f177eac8811ea0a4e
2014-12-19The value of the nRefs field is not used anywhereTor Lillqvist
Change-Id: I9116611d04846af7f00cb366e9174fd99e741d5c
2014-12-18formula: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I309d46f26a8c74b759add5c2d1edbbe37bc09365
2014-12-17fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I1d037e87c69b1a7de019f1abf1f729bf7e28d762 Reviewed-on: https://gerrit.libreoffice.org/13494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10fdo#87203 make translatable AGGREGATE functionAndras Timar
Change-Id: Ic376a4e03cafbba65ec78723de188bd627c0ef4f
2014-12-09fdo#40835 add 4th argument to FDIST when exporting to OOXMLWinfried Donkers
In ODF1.2, the 4th argument (cumulative) is optional (default true) In Excel, the 4th argument is mandatory Change-Id: I0d38b73af541d52f3750ba61c0864202504ca8b1 Reviewed-on: https://gerrit.libreoffice.org/13172 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-12-09changed timers to idlesTobias Madl
Change-Id: Iaceef008e7df91f3a9ad54fdaec25f2170100ee0
2014-12-01fdo#84938: replace EVENT_ constants with enumTobias Madl
Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-28write TRUE() for 2nd IF() parameter, fdo#81596 relatedEike Rathke
Change-Id: I52d0b43b19e10bee82109b635b3b7ce4f43650a3
2014-11-28simplify RewriteMissing() and switch in Add...(), fdo#81596 relatedEike Rathke
Change-Id: If2ca37e1fda87ce56282fc2d2fc57a0784851139
2014-11-28sensible indenting, fdo#81596 relatedEike Rathke
Change-Id: If7eb11a950b45793d04837d02f9546a93673fa2f
2014-11-27fdo#81596 export to OOXML that need argument changesWinfried Donkers
Change-Id: I3a99e416be9f3f04175939e4560f8f7c55497185 Reviewed-on: https://gerrit.libreoffice.org/10831 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-11-25Make some methods non-inline, and hide #include <tools/debug.hxx>.Kohei Yoshida
This header is also included all over sc. Change-Id: I4b8092c83a40bdeefd0781046125746ca8d35c9a
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-10-23Move virtual ScToken members up to FormulaTokenStephan Bergmann
Change-Id: I20eb3b44d540f459cd1902a7a3b6a5c867e5bc07
2014-10-22Remove unused FormulaToken::Is3DRefStephan Bergmann
Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
2014-10-03Make these methods non-inline again.Kohei Yoshida
Change-Id: I30c7969ab386f4cba2f0b44cbebe306ce6430b15
2014-09-26formula: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I7b4784abf5177e22a9df33c5d4faccfd39801b11
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-22convert OSL_FAIL to SAL_WARNEike Rathke
Change-Id: I001f29dca5f2a01d70115bb309c99c64c4a65efb
2014-08-22convert OSL_... to SAL_WARNEike Rathke
Change-Id: I073b6f985c4a67f56319e03790b2bceee2f957ff
2014-08-22reactivate the verifyEike Rathke
Missed this earlier. Should be a SAL_WARN, but postponed. Change-Id: Ia6b178702461c8a0fa5ded3e1c47795b95da7d98
2014-08-22fdo#82183 do not reset globals while loading a documentEike Rathke
Destroying the function list while an instance of the Formula Wizard is still open is a bad idea. Workaround not doing this when loading a document due to a DDE function or external reference being entered in the wizard. Change-Id: I6fa00fb4f442bf7c9410679e446ff460289e4b16
2014-08-21it's about time to write GOALSEEK as ODFF ORG.OPENOFFICE.GOALSEEKEike Rathke
Change-Id: Ie5a0464b49baae62e217e87f4d0040151f3aa8a5
2014-08-21write COLOR function with extension namespaceEike Rathke
and add to Excel import/export maps so it survives saving in that format Change-Id: I3a8e07fdd1bded77d4bad60eefffeb0b1dbdd734
2014-08-20Fixed size of 'formula' dialog in CalcSzymon Kłos
Fixed: 1. Open Calc 2. Open formula dialog 3. Choose AMORDEGRC function or other with >= 4 params Edit field is covered by other controls Change-Id: Ie14ff91a17373e11bc8ef6477f4f22c0ea4570c3 Reviewed-on: https://gerrit.libreoffice.org/11035 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-09remove unused dlg resources from dbu_resource.hrcThomas Arnhold
Change-Id: I70c5f673413bb6ac2d37a5c15b52fcd26da6683a
2014-07-31fix memory leak around function descriptionsMarkus Mohrhard
Found by Lsan. Change-Id: Ia443ed6eb2a20854998a615f3c2bd9fdac156a8c
2014-07-29Remove some unused codeMarcos Paulo de Souza
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3 Reviewed-on: https://gerrit.libreoffice.org/10593 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-27fdo#81038 Fixed FormulaTokenIterator to use std::vector instead of linked listJeffrey Stedfast
Change-Id: I09f9adfa52b64732cc6200a0dbeb6263435c7c07 Reviewed-on: https://gerrit.libreoffice.org/10565 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-08Explicit virtual dtor needed for auto_ptr member for MSVC.Kohei Yoshida
Else it won't build. Change-Id: I6d857ffc7a444abaf477ee820e577757287a707c
2014-07-08trivial conversion of RID_FORMULADLG_FORMULA_MODAL to .uiCaolán McNamara
Change-Id: I25f29821079cf4fa4759daffe78bec8c4b48abbc
2014-07-08fdo#73148 add options to Calc function AGGREGATEWinfried Donkers
matrix-ranges not supported Change-Id: I902c78da6d9c7a4a5f8c5e4a7e1678b69d49a6fe Reviewed-on: https://gerrit.libreoffice.org/9449 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-06-19callcatcher: update unused codeCaolán McNamara
Change-Id: Ia25c686dac799707cae3f6112c731f8cd3f686c2
2014-06-17remove helpids that are unused or go nowhereCaolán McNamara
Change-Id: I5af0b84ff4a85e72f5068d450a04d01df0592d3b
2014-06-17give refedit in formula wizard an initial sizeCaolán McNamara
Change-Id: I8e19c29c47dea2f7cff754e81ef51fc9898fdee8
2014-06-17restore these for the moment, still in use in scCaolán McNamara
Change-Id: I6967a3c871338d1801d913d9bb54eba50a7660ca
2014-06-17I could fight with ValWnd to fix it, or I could replace itCaolán McNamara
it's not handling resizing and redrawing well, so just drop it in favour of a read-only edit Change-Id: I5e6f85cf9326b908bf1bf835d8da0c49ca9209c9
2014-06-17RID_FORMULADLG_FORMULA conversion to .uiSzymon Kłos
Change-Id: I098c9ee9d22ac0401faf7fc6d65e91bf5b4b2bf8 Reviewed-on: https://gerrit.libreoffice.org/9797 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13resolved fdo#79957 propagate ForceArray through jump tokensEike Rathke
ForceArray parameters weren't propagated and enforced to array arguments on svJump tokens (FormulaJumpToken), namely IF, CHOOSE, IFERROR and IFNA. Change-Id: Icf9074f11b826655a52858d778d9a0122d207aa4
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-23whitespace clean-upMarkus Mohrhard
Change-Id: I10bdfc3356bda66fefa59fa2c9f63f9231d8728e
2014-05-21fix spellingNoel Grandin
Change-Id: I1a4d66a78549ea49649a6bed92acb44dbd8b13e2
2014-05-21most certainly == was meantEike Rathke
Change-Id: I1b0833daa576cd8603421e1036b8773badc8c775
2014-05-21ODS load perf: transfer ownership of the ScTokenArray to save cycles.Michael Meeks
Add API to wnsure we don't end up allocating 32k bytes of tokens for each ScFormulaToken, as happens when you Add a token to a new empty ScTokenArray. Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e