summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)Author
2014-03-10ISO.CEILING without _xlfn. prefix, it is defined in OOXML, fdo#71720 follow-upEike Rathke
Change-Id: I486261d34d62bc5eda0a202cbb1dcb875ffcf39b
2014-03-10fdo#71720 Add Excel 2010 functionsWinfried Donkers
CEILING.PRECISE, ISO.CEILING, FLOOR.PRECISE Change-Id: I047b65ca3adafb89fce9b6493948aa851ddca765 Reviewed-on: https://gerrit.libreoffice.org/8488 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-06Make these non inline.Kohei Yoshida
Change-Id: Ib139850380b039382565e3de3666eebb5750f32d
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05fdo#72197 Add Excel 2010 functionsWinfried Donkers
MODE.SNGL, MODE.MULT, NEGBINOM.DIST, Z.TEST Change-Id: I55eb05e1ebdb9dbc3ce9ae84e3cdacfdfa112091 Reviewed-on: https://gerrit.libreoffice.org/7776 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05remove unused code formula::FormulaDlg::CheckMatrix()Noel Grandin
Change-Id: If7b09d032d0155a38b5d5e8aa1832c86a8f7cec1
2014-03-05remove unused code in formula/FormulaTokenArrayNoel Grandin
formula::FormulaTokenArray::AddString(unsigned short const*) Change-Id: I6c014f6ada3b75398112e81f9c8e7de7dd776c7d
2014-03-05remove unused code in formula/vectortokenNoel Grandin
Remove these methods:. formula::DoubleVectorRefToken::GetRequestedArrayLength() formula::SingleVectorRefToken::GetRequestedArrayLength() formula::SingleVectorRefToken::SingleVectorRefToken( double const*, unsigned long, unsigned long) and optimise some accessor methods. Change-Id: I04f53593894a59dbefdd1cbc9505c6eb7cd8610b
2014-02-27Store the length of originally requested array size prior to trimming.Kohei Yoshida
This change adds GetRequestedArrayLength() method to both single and double vector ref tokens, which returns the length of the requested array size prior to trimming of the trailing empty cell region. Change-Id: Iaba96fa2ea4ff3c8bccb0bc86fa4f1525e2f45fb
2014-02-26Remove visual noise from formulaAlexander Wilms
Change-Id: Ie7503623ad9bec1806345f65b435c7bd94a08c2b Reviewed-on: https://gerrit.libreoffice.org/8263 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-24coverity#735751 Dereference after null checkCaolán McNamara
Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21cid#707865 Uninitialized pointer fieldNoel Grandin
Change-Id: I86c90a95093d6c90cbc733164a3b773468575b5b
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: I3589b3fb44ad57140567338809513b3df7c7eba5
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: Id5cbf2c94e3d3ff27cdb8998e2b7b3b712b537ec
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: Id314bacb8af5c75ecce73a0b7cfee45f36db93da
2014-02-18sal_Bool->boolNoel Grandin
Change-Id: I628c1506573c7d5ec182048a20ed996c9ae879c4
2014-02-09coverity#1169835 Improper use of negative valueCaolán McNamara
Change-Id: I73b9ea3f1da05c8ddfd8e0b2da526b65dc1891bb
2014-01-30fdo#73146 Add Excel 2010 functionsWinfried Donkers
PERCENTILE.EXC, PERCENTILE.INC PERCENTRANK.EXC, PERCENTRANK.INC QUARTILE.EXC, QUARTILE.INC RANK.EQ, RANK.AVG Function ScInterpreter::ScRank() has been rewritten to give the function the same way of computing as the related functions in this patch. Change-Id: If3096b265bd47ca5f4afcab7ff746f7c8511df82 Reviewed-on: https://gerrit.libreoffice.org/7319 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-29coverity#1158192 Improper use of negative valueCaolán McNamara
Change-Id: Ie5b455f3895e9ff53caf773e319d3342642b9945
2014-01-28bool improvementsStephan Bergmann
Change-Id: I9be9755170694a0071720080af4b8f2c9298f916
2014-01-27fdo#72793 Add Excel 2010 functionsWinfried Donkers
T.DIST, T.DIST.2T, T.DIST.RT, T.INV, T.INV.2T, T.TEST Also, fixed some incorrect string assignments in formula/source/core/resource/core_resource.src from previously added Excel 2010 functions. Change-Id: Ia4d13e7597d2a054d345a08b66b878f91c43f872 Reviewed-on: https://gerrit.libreoffice.org/7226 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17Window::Notify should return bool, reduxStephan Bergmann
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
2013-12-20Add internal cell function __DEBUG_VAR to sniff arbitrary internal state.Kohei Yoshida
Useful for debugging in a more flashy way. But never ever document this for end users. If you are an end user reading this, use this at your own risk. You have been warned. Change-Id: Ibbdb45f576287f707106327704754ffaec27ba3c
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16fdo#72158 Add Excel 2010 functionsWinfried Donkers
LOGNORM.DIST, LOGNORM.INV, NORM.DIST, NORM.INV, NORM.S.DIST, NORM.S.INV Change-Id: I695e0645642af1757a1dd7d7f0f15c9515e21309 Reviewed-on: https://gerrit.libreoffice.org/6883 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-13remove unused code (ancient Calc function ZELLERROR)Winfried Donkers
code has no function, except that calc documents with formula ZELLERROR will not produce an error. But the formula is not interpreted, so remains 'dead code'. Change-Id: I6e7df7040a0273bcd3ebd497055924b7afdd3311 Reviewed-on: https://gerrit.libreoffice.org/7018 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-04remove usage of STRING_NOTFOUND in formula.cxxNoel Grandin
and tidy up the method a little Change-Id: I408fd96286749ec9e3743dbdad8cf424a7bb9035
2013-12-04remove condition that cannot be hitNoel Grandin
GetFunctionEnd cannot return STRING_NOTFOUND Change-Id: Ic9abee0ea77789e01acedf57c6c13edb0a5c08d9
2013-12-03convert formula::FormEditData from xub_StrLen->sal_Int32Noel Grandin
Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
2013-12-03convert formula::FormulaDlg_Impl from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Id3229083c1e2ad0cfcb01e9dfa6fa66eb5f5604a
2013-12-03convert FormulaHelper from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ib866c39b2bb5a3cf81b899dc38ea548e3762fc9e
2013-12-03Convert FormulaHelper::GetNextFunc xub_StrLen->salInt32Noel Grandin
Change-Id: Ief8c4b4699b3f6ffe1cb02d3dae43ad5a0c4c89e
2013-12-03convert getSuppressedArgumentCount from xub_StrLen -> sal_Int32Noel Grandin
convert IFunctionDescription::getSuppressedArgumentCount from xub_StrLen -> sal_Int32 Change-Id: Iee7a094a6f067fa57ee828c434417f7583c0f32b
2013-12-03convert IFormulaEditorHelper::*Selection methods from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ia7a6241c651106427e636bdc08085b97a2a41407
2013-12-02store internal CONVERT to .xlsx/.xls and distinguish from CONVERT_ADDEike Rathke
Change-Id: Ie9b5f6ade1c25618aa990ce17bd7b2a2b46a250a
2013-12-01Remove useless comments in funcutil.Tomaž Vajngerl
Change-Id: I2a5f70a45e1101c72a9dc973e1a783f716400ad2
2013-11-29our UI DURATION is ODF and Excel PDURATIONEike Rathke
Change-Id: Iaf0e5f8096554b8b5d80265b6dc5296b3294f134
2013-11-29fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISEWinfried Donkers
Change-Id: I96f6beb34c1ce7f7191c6e9d379145ba98320c87 Reviewed-on: https://gerrit.libreoffice.org/6775 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-26Integrate branch of IAccessible2Steve Yin
Change-Id: Id8c4ff1d10eccda2d7279d625822759c1f520a46
2013-11-22fdo#71722 add Excel 2010 functionsWinfried Donkers
EXPON.DIST, HYPGEOM.DIST, POISSON.DIST, WEIBULL.DIST Change-Id: Ib9f648739ec0af90cdf2f576c7f548a6acb7b4a6 Reviewed-on: https://gerrit.libreoffice.org/6748 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-20fdo#71436 add Excel 2010 functions for F-distributionWinfried Donkers
Added F.DIST.RT, F.INV.RT, F.TEST, which are renamed FDIST, FINV and FTEST and handle the right tail F-distribution. Added F.DIST and F.INV, which are new functions and handle the left tail F-distribution. Change-Id: Ia7fa26a25f3188249f280733d6111951e2600704 Reviewed-on: https://gerrit.libreoffice.org/6701 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-18Fix indentation.Kohei Yoshida
Change-Id: I260649aca445e03c52423d8f0a63eb4681d2a876
2013-11-14Remove unused member.Kohei Yoshida
Change-Id: I8331251f77fb202375370a425e01862aa0f6310d