summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-08-29tdf#93329 : Fixes FTest algorithmic bugDennis Francis
Also added tests for FTEST() with reference results from Octave that covers a reasonable range of variance ratios. References : 1) Octave-Forge : https://sourceforge.net/p/octave/statistics/ci/default/tree/inst/vartest2.m with head = f8f3ede1f4e9576f0e05700d7bed0b3f2753e9c5 2) R-project : https://github.com/wch/r-source/blob/trunk/src/library/stats/R/var.test.R From read-only mirror of R source code from https://svn.r-project.org/R/, updated hourly. branch : "trunk", head = d48a3960875fa373e1e68286245ee8e1bc7ac0fd Change-Id: Icc843be3a1497e4d69e8b39b31c4b6998594dfe9 Reviewed-on: https://gerrit.libreoffice.org/26482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-08-27put StreamMode masks in scope of enum classJochen Nitschke
Change-Id: I77682f7e289a59b986bb84edf014029a20266470 Reviewed-on: https://gerrit.libreoffice.org/28420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-26Change the wrong message in testJaskaran Singh
Change-Id: I1c0d9563c67f2480906299bc039a853926f707df Reviewed-on: https://gerrit.libreoffice.org/28413 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jaskaran singh <jvsg1303@gmail.com>
2016-08-26handle overwriting of symbols/opcodes in symbol map for known casesEike Rathke
This silences the SAL_WARN_IF like warn:formula.core:6944:1:formula/source/core/api/FormulaCompiler.cxx:625: OpCodeMap::putOpCode: reusing OpCode 161, replacing '_xlfn.ORG.OPENOFFICE.ERRORTYPE' with 'ERRORTYPE' in English map 0x1018000 that occurred during the first load of OOXML .xlsx documents since the old bad entries were added with commit 89c4a69103b6e15e7f52401c51110b926c3ccf36 In fact the direction opcode -> string was replaced, which it should had not. That specific mapping is only used though when loading msoxl namespace formulas from ODF. Also, the replacement of parameter separator and array column and row separator worked merely by chance, depending on in which order the entries where inserted to the hash map. Fixed along as it popped up with the new handling. Change-Id: I88017a8b38ccc30874c3dca7d78f0fa47a77a36f
2016-08-26tdf#101672 non-split underline buttonMaxim Monastirsky
Change-Id: Ib20dc0d0036f594adb83a50c2e3da66f565b2db8 Reviewed-on: https://gerrit.libreoffice.org/28356 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-08-26add COLUMN test caseZdeněk Crhonek
Change-Id: I84aa4fb7029eece377db445c058e16824818717c Reviewed-on: https://gerrit.libreoffice.org/28390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-26add COLUMNS test caseZdeněk Crhonek
Change-Id: I411f82576359ba7da9e9f9bda701b7438e542603 Reviewed-on: https://gerrit.libreoffice.org/28391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-26add Errortype test caseZdeněk Crhonek
Change-Id: Ib432198503063a5ce43b2d1b877c36a9aa587fd9 Reviewed-on: https://gerrit.libreoffice.org/28394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-26convert SV_ITEM_ID_LBOX defines to scoped enumJochen Nitschke
and remove unused SV_ITEM_ID_EXTENDRLBOXSTRING Change-Id: Ic84d9341d0225b01b9ef46814483c66b1af307b5 Reviewed-on: https://gerrit.libreoffice.org/28397 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-25Notebookbar: Single contextual toolbar implementationYousuf Philips
Change-Id: I72a0bffc3f1093d9f07ea9d4ba9101df2cf4d032 Reviewed-on: https://gerrit.libreoffice.org/28331 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
2016-08-25coverity#704161 Resource leak in objectCaolán McNamara
Change-Id: I111f815526c3f50238f5df6f795abb397bb089e2
2016-08-25use PushTokenRef()Eike Rathke
Change-Id: I626eeb2e996dc33915a045acfe6892e428c6db03
2016-08-25ditch the now unused ever cloning PushTempToken(const formula::FormulaToken&)Eike Rathke
Change-Id: I0d09039a5f9cb797b5b72f3ee9044eab7c8f05c5
2016-08-25use PushTokenRef() instead of PushTempToken(const formula::FormulaToken&)Eike Rathke
... which unnecessarily clones. Change-Id: I06ecce94439c2923011f18f69be48a50048c6dde
2016-08-25use PushWithoutError() when fishing from and pushing to the stackEike Rathke
... so no unnecessary copy is created. Change-Id: I0fbd31c0b6faf8691405a53884d8740f80d7ad4e
2016-08-25move the nCurFmtType=UNDEFINED from PushWithoutError()Eike Rathke
... to the only place where it makes sense. Change-Id: I8a2927af97abee28dd0ec89793c4745dcbd0031f
2016-08-25GSoC notebookbar: container with context supportSzymon Kłos
+ added sfxlo-ContextVBox + notebookbar's .ui file must contain control implementing NotebookbarContextControl interface with id "ContextContainer" Change-Id: Ice81e23c4ba742564ebceeda95be120ea3f58c99 Reviewed-on: https://gerrit.libreoffice.org/28247 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-08-25ScInterpreter::Push() with const FormulaToken&Eike Rathke
Change-Id: I721963c4a372da0d36ed973edd375fe01ab502fb
2016-08-25away with the unconst castEike Rathke
Change-Id: Ie6a70fa9863bb70dbcf560fc523d8a38dfe67b71
2016-08-25let ScInterpreter::pStack contain const formula::FormulaToken*Eike Rathke
For two reasons: * introduce a new PushTokenRef() to push an already existing token, which can be used in several places that currently unnecessarily copy-construct a new token to be pushed * prevent unwanted side effects in case a token on the stack would be fiddled with, which was possible but just by convention wasn't done Change-Id: I715d81bcba8bdb415af45e889e9f9db1e0ac4888 Reviewed-on: https://gerrit.libreoffice.org/28377 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-25cid#1371336 Misused comma operatorNoel Grandin
Change-Id: I0aaf7dd1075ba9fe323f6a0e1b69203a57a8c7b7
2016-08-25tdf#100726 - Improve readability of OUString concatanationsGökhan Gurbetoğlu
Change-Id: I9d729c5c135f556a0dab7bcb8274b940e3452140 Reviewed-on: https://gerrit.libreoffice.org/28362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-25drop enum IAccessibleViewForwarderListener::ChangeTypeNoel Grandin
since only one of it's values was in use, and simplify the ViewForwarderChanged method as a consequence. Change-Id: I00544c9b0a601c01e49519be5bafe192c6f735f6
2016-08-25convert DataAccessDescriptorProperty to scoped enumNoel Grandin
Change-Id: Ifb8fb1d28464f0638ec1485d77ad333b1acc667c
2016-08-25new loplugin: countusersofdefaultparamsNoel Grandin
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-24convert SvxNumberValueType to scoped enumNoel Grandin
Change-Id: Ic82c18c16de8bd756a444de47c9a68e88fa1c7ee
2016-08-24convert OverlayType to scoped enumNoel Grandin
Change-Id: Ic7758ec96bdf7f532b5b95048dbb7eb5f360f74a
2016-08-24convert SdrTextAniDirection to scoped enumNoel Grandin
Change-Id: I67d1ffb1169e9faf4df90dd70a5496aa485979cf
2016-08-24convert SdrFitToSizeType to scoped enumNoel Grandin
Change-Id: Id732c74b590db7006058d1919be2438b649a795e
2016-08-24convert ShapeProperty to scoped enumNoel Grandin
Change-Id: I2e0dc3aaefb174c8960bb6b8ce9a4ad830626ba4
2016-08-23sc lok: fix re-sizing several rows/columns at onceHenry Castro
Change-Id: I7b3760432aa4b3120bfd586a1abc42a46fff0df8 Reviewed-on: https://gerrit.libreoffice.org/28351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-08-23add BINOMDIST test caseZdeněk Crhonek
Change-Id: I33401304473a86220c31a882ffe0dad9a2be469d Reviewed-on: https://gerrit.libreoffice.org/28193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23use PushTempTokenWithoutError() instead of PushWithoutError()Eike Rathke
... as the error token was new'ed anyway, which saves yet another copy. Change-Id: Ia498754b3d1898a04bf1c916185fceb36c115261
2016-08-23tdf#79398 Add qa unit testLaurent Balland-Poirier
Native number format [NatNum5] in Chinese is exported to [DBNum2] in XLSX with [$-804] to force Chinese language Change-Id: I271772515558d0b080abf2435642e578ea63f392 Reviewed-on: https://gerrit.libreoffice.org/28097 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-08-23add ADRESS test caseZdeněk Crhonek
Change-Id: I1d90f03c302648e9fc92c1b8cb25578960b80077 Reviewed-on: https://gerrit.libreoffice.org/28337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add SUMX2PY2 test caseZdeněk Crhonek
Change-Id: I735cb5b51b22053d5b67dd3587a83eafb0b83f4e Reviewed-on: https://gerrit.libreoffice.org/28248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add CHOOSE test caseZdeněk Crhonek
Change-Id: I8cc9376489999671637943b21d9969b79cc53a8d Reviewed-on: https://gerrit.libreoffice.org/28340 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add AREAS test caseZdeněk Crhonek
Change-Id: I38977f93795fd4cf567f452b8b2d9de1edfcc7d0 Reviewed-on: https://gerrit.libreoffice.org/28338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add CONFIDENCE test caseZdeněk Crhonek
Change-Id: I4a950ba42cfebb4d6e0ea62bd9a3ebee28fbf1ec Reviewed-on: https://gerrit.libreoffice.org/28320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add CHISQ.DIST test caseZdeněk Crhonek
Change-Id: I3b0f04d884583ff2961a7ac8540a19d30fe420eb Reviewed-on: https://gerrit.libreoffice.org/28321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add TRANSPOSE test caseZdeněk Crhonek
Change-Id: Ibe0d1104a8bc77dfee903e38b5904b12e9710418 Reviewed-on: https://gerrit.libreoffice.org/28272 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add TREND test caseZdeněk Crhonek
Change-Id: I09ccef8f0febacc6726daf6d596b6c4d8c256195 Reviewed-on: https://gerrit.libreoffice.org/28276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add CONFIDENCE.NORM test caseZdeněk Crhonek
Change-Id: I6e1e6c1fe06e1c377f02a6780d5a14fa3a564928 Reviewed-on: https://gerrit.libreoffice.org/28319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add SUMX2MY2 test caseZdeněk Crhonek
Change-Id: I224972450453f62e914e2d9fca704de918f17d07 Reviewed-on: https://gerrit.libreoffice.org/28201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add BINOM.DIST test caseZdeněk Crhonek
Change-Id: Ic17e3f9eddf964d766ba5e3027c8d4e3f38c9fe6 Reviewed-on: https://gerrit.libreoffice.org/28178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add BINOM.INV test caseZdeněk Crhonek
Change-Id: I81f5cd929deb94dbce327811f0603ef2d6422f5b Reviewed-on: https://gerrit.libreoffice.org/28177 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23add SUMPRODUCT test caseZdeněk Crhonek
Change-Id: Ida187c8fea3bf598a47d1dd2c34054b27e6be2a9 Reviewed-on: https://gerrit.libreoffice.org/28180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-23Remaining clang-tidy misc-move-constructor-initStephan Bergmann
...by turning the relevant ctor parameters into "const &" (following 8f30da6386fa414b9fe4c704b294a978df77347b "Some clang-tidy misc-move-constructor-init"). Change-Id: I6686dabe2f05156d6ecd49aa76a3a1166ccac045
2016-08-23convert SearchLabel to scoped enumNoel Grandin
Change-Id: I0c62a3166b9284895f119c600776dc2c7d6d1078
2016-08-23convert SdrHorAlign to scoped enumNoel Grandin
Change-Id: Ibddc5458c363b4174186c73bd0b3d9501933171a