summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-10-25WaE: Unreferenced function declaration [loplugin:unreffun]Tor Lillqvist
Change-Id: Ia6baf94ada92ecd134587ed1148a2543c8c17614
2015-10-25WaE: Unreferenced externally visible function definition [loplugin:unreffun]Tor Lillqvist
Change-Id: I4adb1c6f3eb978429768640ca25eff7d8a5ce23e
2015-10-25the cells need to be imported before we handle charts, tdf#81396Markus Mohrhard
Change-Id: Ic0dc47b71e76aa4825a867fc171406d126ae0518 Reviewed-on: https://gerrit.libreoffice.org/19568 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-25Revert "crashtestig: infinite recurse in ooo32833-1.sxc"Eike Rathke
This reverts commit d2a07cd3214af27c5af601992e3c4a1a6e3b3dad. We now ensure in sal that calling rtl_math_erfc() with NaN actually works and returns a result as defined.
2015-10-25fraction assert kills Android viewer when viewing e.g. a ods with just a noteChristian Lohmaier
use SAL_WARN_IF instead - getting logged with info is more suitable for this - useless zoom factors won't cause other problems Change-Id: I7b8dd6551297eeff8e720ff85702f0049a4b93a2
2015-10-24tdf#95220: Check if DrawingLayer is not nullptrMike Kaganski
bool ScDocShell::isTiledRendering() const crashed without this check Change-Id: Idb7ace05eb1aa37cbc3d956503c046b0e9b9d0e5 Reviewed-on: https://gerrit.libreoffice.org/19570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24unit test for MDETERM() tdf#32834Dennis Francis
Change-Id: Icc55931f5bc64fcc2745ca68f62851ee2c59f711 Reviewed-on: https://gerrit.libreoffice.org/19569 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24tdf#32834 : improve the precision of MDETERM calculationDennis Francis
MDETERM uses lcl_LUP_decompose() which as the name suggests does LUP decomposition. This patch allows additive cancellations to occur in a cleaner way while doing the *only* additive operation in LUP decomposition, that is while computing Shur complement. This patch does not change the high level semantics of the algorithm. Also note that this change makes improvement only in the case where matrix elements entered by the user are *integers*. The change allows MDETERM to evaluate to exact 0.0 for singular integer matrices. The steps to calculate Shur complement are : for i = k+1 to n aik = aik / akk; for j = k+1 to n aij = aij - akj*aik This is now modified as : for i = k+1 to n for j = k+1 to n aij = ( aij*akk - akj*aik ) / akk Without this change MDETERM() for certain singular matrices used to evaluate to a tiny non zero value, which also caused MINVERSE() to generate a wrong output. An example of such a matrix is : 1 2 3 4 5 6 7 8 9 Change-Id: Idd4211ddceab1b758fd05bfd57f7eecd5d4fd1a0 Reviewed-on: https://gerrit.libreoffice.org/19534 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-23tdf#89387 test for TTEST functionŁukasz Hryniuk
Change-Id: I9d1d83f1ba9b74d248321f617e2ba6745bdc2c01
2015-10-23tdf#80231 sort including formats - ranges with merged column labelsSahas
Change-Id: I2b6294163e90210f54ebacf93dae7ad7b974f725 Reviewed-on: https://gerrit.libreoffice.org/19400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-23tdf#94485 Lower Calc background spellchecker prioJan-Marek Glogowski
The Calc spell checker idle handler is currently running in the REPAINT / MEDIUM priority class - much too high. This races with the Calc GUI repaint for large documents, like the one attached to tdf#94485. So move it to the LOWER priority queue, to fix the lagging GUI. Change-Id: I6e4b05dd1a977182ec13f7e3a05f0722f502f226
2015-10-23tdf#48456 : when searching for a number, consider formattingDennis Francis
Change-Id: I4a1e3e269a269bb37e88aa8810a46d0f4ecfc518 Reviewed-on: https://gerrit.libreoffice.org/19420 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-22loplugin:defaultparamsStephan Bergmann
Change-Id: I571d77c9a9d399e0a683af02edb6de1095c11ca9
2015-10-22be precise in what area to insert the matrix formulaEike Rathke
Change-Id: If41b7af52d506464aef32bfddd11de8e3f44ed32
2015-10-22unit test for tdf#95226Eike Rathke
Change-Id: Ica252d3477e3a630777a59d64bfea7afb29351cd
2015-10-22sc: implement vcl::ITiledRenderable::getWindow()Miklos Vajna
Change-Id: If50b4b5baea36e161675afd368fc54bdec01d9a5
2015-10-22Why check that resValue != oldValueStephan Bergmann
...same as daa6fe4173ba9215a7044887dc28cc8ee4408985 Change-Id: I0ee61a2f40c234fcb496a70ad5ec913148119597
2015-10-21make our pivot table export a bit betterMarkus Mohrhard
Change-Id: I62fe627eab0163715fc90d17a9b8992bc17682b9
2015-10-21Resolves: tdf#95226 fix broken IFERROR/IFNA array logicEike Rathke
Change-Id: I059248659f51746cfc1d06faeaadaf3d645c03d3
2015-10-21refactor out some com::sun::star typedefsNoel Grandin
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-21boost::ptr_vector -> std::vectorNoel Grandin
no need to store uno::Reference on the heap Change-Id: Iec3abe2190648e85a37b22763c8d19ba29634373
2015-10-21remove untyped Link<>Noel Grandin
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-20Avoid some confusing uses of "document name" instead of "document URL"Stephan Bergmann
Change-Id: I88258d3aaa2a18315a5a38ea01e77bdfd4bc1a84
2015-10-20adapt comments to realityEike Rathke
Change-Id: Idfeca4a683ebb9616c19a42de650c4871f733ef5
2015-10-20Resolves: tdf#84713 do not substitute separator in R1C1 notation hyperlinksEike Rathke
During import, in hyperlinks all Sheet!xxx were converted to Sheet.xxx to fit CalcA1 notation, but in this case Sheet!R1C1 was used and Sheet.R1C1 is not a valid address notation, so the hyperlink didn't work. Do not attempt to convert R1C1 notation, the hyperlink handler does handle all known notations. On Excel export, handle that the separator can be both, '.' and '!'. Change-Id: I8428b2240912f42fd6789d249c90982127ee7c01
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: If189c1e4254ae00725ec76a5ca6354d24df2d351
2015-10-20tdf#89694 Password dialog for opening OOXML shows url-encoded pathTomofumi Yagi
We need to convert a path string to decoded it for OOXML with a password as ODF is so. This patch adds the converting process for OOXML. In addition, this patch moves the decoded-point of URL into css.task.Document[MS]PasswordRequest ctor from the outside. This decoded-point of URL into ctor is common for OOXML and ODF. (notes: Strange to say, css.task.Document[MS]PasswordRequest ctor needs "aDocURL", but methods in interaction-handler use "aDocumentName" as the parameter. Probably this will be fixed in near future.) Change-Id: I0ecfddf0f70ea5810df52d9ca8637f483a26df2f Reviewed-on: https://gerrit.libreoffice.org/14677 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I9bfa7be4a8035d6dfbd0bd13505ba13c3d085455
2015-10-19tdf#94908 : Autofilter ok button is blockedDennis Francis
Change-Id: I0a1ad60cb6eea26899604641f981642943b06347 Reviewed-on: https://gerrit.libreoffice.org/19375 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-19Seems that people prefer this to be CPPUNIT_ASSERT() instead of assert()Tor Lillqvist
My thinking was that there is a slight difference in meaning; that assert() checks that the code (or, in this case, data) in the test *itself* is as expected while CPPUNIT_ASSERT() checks that the functionality *somewhere else* works as expected. But whatever. Change-Id: I93f7f8cf2b3aac9e8fc35baf2dcbad1a4003773f
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19cleanup some local var declarationsNoel Grandin
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-19cppcheck:nullPointerRedundantCheckNoel Grandin
second time lucky Change-Id: I1ff8c750f5845180a0bcd23ac5017e8cd0331409
2015-10-19remove unused header fileNoel Grandin
Change-Id: Icfd6c9a23d6d6f4f8b4ee8462134a3b08573fe50
2015-10-19convert Link<> to typedNoel Grandin
Change-Id: I04987cc8c3eab52a7191d75cf0a9cde9049bfbd4
2015-10-19Revert "cppcheck:duplInheritedMember"Noel Grandin
This reverts commit a55496a9e88ac3da821b0ae0d334866d669540c6.
2015-10-19cppcheck:duplInheritedMemberNoel Grandin
Change-Id: Ie525330eb79a80fd47a6bfe46343aa25ae0aeb5c Reviewed-on: https://gerrit.libreoffice.org/19419 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-18tdf#94924: If we can't handle strings, don't try to thenTor Lillqvist
Fixes the VLOOKUP problem reported in tdf#94540 by falling back to non-OpenCL for such a case, where one of the columns passed to the VLOOKUP contained strings. And since a while, we don't claim to handle strings in VLOOKUP. Which is true. Change-Id: I4140c86bf8166beb8201aa90c075d9f4432d9173
2015-10-17ignore "current document" values at module level, tdf#92256 follow-upEike Rathke
Change-Id: I3540ccce9bee652f838efc86dc9abc6fc2416819
2015-10-16tdf#92256, c#19: Implement "current doc only" switchKatarina Behrens
that'll save calculation settings into current document only, not into global user profile Change-Id: I50ab31b679f712ff512f85a2cd58319d356462ea Reviewed-on: https://gerrit.libreoffice.org/19318 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh9.cxxAlbert Thuswaldner
Change-Id: Iaab7081df2f15e7228f7f99184a048abd26decc7 Reviewed-on: https://gerrit.libreoffice.org/19307 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh3.cxxAlbert Thuswaldner
Change-Id: I483c1aafe68da805ce194968153f1e6506327c51 Reviewed-on: https://gerrit.libreoffice.org/19300 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16tdf#39468 translated german comments in tabvwsh8.cxxAlbert Thuswaldner
Change-Id: Iae5d5138e8a030bb6beb0ec646949892b96e2a63 Reviewed-on: https://gerrit.libreoffice.org/19301 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-16use rtl::toAsciiUpperCase() instead of home baked lcl_toupper()Eike Rathke
Change-Id: I73dcf0d9f7741409c4dbf1c75f2d7f43649889bb
2015-10-16don not use libc toupper() because it might yield unexpected resultsEike Rathke
Change-Id: I6202d14b78d153e74b973f1f9fa523ad92f507a7
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>