summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)Author
2015-02-19small clean-upMarkus Mohrhard
Change-Id: I6a327df821ea439e6dcffe26eeee022c3e3583e8
2015-02-18Missing ScMergeFlagAttr::CloneStephan Bergmann
Change-Id: Iaaad0b4130d99bb3aa9edd434a1fc105c59c4c99
2015-02-17tdf#89436 fix ScHorizontalAttrIterator performanceLászló Németh
Change-Id: I69be1a85b74ede8f02788a6370d4ebb40bddbe11
2015-02-14related tdf#89004 move to std:set instead of std::vectorUrsache Vladimir
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629
2015-02-13tdf#89330 preserve file name case in an unresolvable external named rangeJan Kantert
Change-Id: Ib8728a4a9c793b162de07a0cef66e242879f2aa1 Reviewed-on: https://gerrit.libreoffice.org/14474 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-02-12tdf#89281 fix performance regression of XLS import - cleanupLászló Németh
Change-Id: I6d7f279732d9992d584aab96c3a747d6e6130147
2015-02-11add ScMatrix::IsEmptyResult() for tdf#39316 fix preparationEike Rathke
Change-Id: I9f2a3e6fa9f4ef43df672661afef996269b90a7a
2015-02-10tdf#89281 fix performance regression of XLS importLászló Németh
The fix for Bug 76611 caused ~20% performance loss in XLS import. With optional cloning of ScTokenArray of the shared XLS formulas depending on the need of address wrapping, it is possible to gain back near the original performance. Note: The original patch for Bug 76611 has already got an unit test, too (see wrapped-refs.xls), and that unit test works with this improved patch, too. Change-Id: Ibfb59d1543ef9c4b8a075d5c4e37f77ab451aaa0
2015-02-07ERROR is a macro on Windows, try ILLEGAL thenTor Lillqvist
Change-Id: Iae0c5308f77657c6a55bafd372ce7e4db5ef4aab
2015-02-07We (will) need ScCalcConfig also for formula groupsTor Lillqvist
The settings for interpretation of text (string) cells as numbers affect whether OpenCL can be used or not to get expected results, when operating on vectors that contain also text cells. Change-Id: I0a7fd657038846ba762aa6ee6a95c001aea8f124
2015-02-07Turn StringConversion into a C++11 scoped enumerationTor Lillqvist
Change-Id: I353a62bac6c8bf00b20c93d9778fc45ade5d502c
2015-02-07Introduce SetResultError()Tor Lillqvist
Change-Id: I0645b7a58e9f3dfc6c431844805ab87add8745ad
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05Resolves: tdf#88792 do not hold a ScFormulaCell** in group area listenerEike Rathke
... as the mdds storage segment may change when a formula cell is inserted at a position such that two segments are merged into a new one. Change-Id: I449a89005418aff7ea12099ea931b786959dbc3b
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-04Check number of cells referenced by group instead of group sizeTor Lillqvist
Put using it in #if 0 for now, though. This reverts commit 2021275f8fc33d9917d5fef58959a95da1dc7e6f. Change-Id: Ia6541df12ee97747badbbedd758873688190b00c
2015-02-03callcatcher: shave off some moreCaolán McNamara
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-02callcatcher: shave off a few moreCaolán McNamara
Change-Id: Ie48cf7f89c8c826e56409c2493e1e1250086f10a
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-29tdf#88810 XLSX export: more cleanupLászló Németh
Change-Id: I2a4ddb2e3a3ff629243dba46880b8c986dfde2dc
2015-01-28Make GetAutoCalc() and SetAutoCalc() publicTor Lillqvist
Change-Id: I25d681b4b1e35af49b6631b2c3de2ccc296b9b42
2015-01-28let have FormulaGroupAreaListener a virtual dtorEike Rathke
Change-Id: I1f5e246d68971124ef21e9c2d0db80499928998b
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-27Resolves: #i85241# store settings about value highlighting in documentTsutomu Uchino
(cherry picked from commit d3fb83cbaea17418def1ace6e868d8892d64d85d) Change-Id: I34b4ee12e4af8300a51d72f0dd36e27c79832eb5
2015-01-27tdf#88810 avoid unnecessary massive O(U)String allocations in XLSX exportLászló Németh
Using OStringBuffer instead of fixed size character arrays. Change-Id: I06b705e2159a1ef5990f9eb0ffedd20fe277c616
2015-01-26fdo#76870 Add support for Excel2013 function ENCODEURLWinfried Donkers
Change-Id: I369bcd58055364757b6a098fc3aa0c0065c79b67 Reviewed-on: https://gerrit.libreoffice.org/13478 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-26Revert "fdo#88810 avoid unnecessary massive O(U)String allocations in XLSX ↵László Németh
export" Build problem on Android-ARM platform... This reverts commit 0d2ce71afe0cb2657a6919e641e54c8fc9ba288c.
2015-01-26fdo#88810 avoid unnecessary massive O(U)String allocations in XLSX exportLászló Németh
Change-Id: Ie6a024463e7ee9b0f4492b2431533708a578faf0
2015-01-26Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26coverity#1266519 Use after freeCaolán McNamara
Change-Id: Ib6b3b33f4b45e3bb0ff35d9e82db46bf59c60916
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-25coverity#1266498 Uninitialized scalar variableCaolán McNamara
Change-Id: I203b9ff32cca1ca8d03911567290e534e082ee52
2015-01-23Hold ScHeaderFooterContentObj by rtl::ReferenceStephan Bergmann
...there appears to be no good reason not to (it's a UNO implementation, deriving from WeakImplHelper), and witnessed at least one JunitTest_sc_unoapi failure where an incoming URP call on ScHeaderFooterTextObj::getString obtained an apparently dangling ScHeaderFooterContentObj& rContentObj = aTextData.GetContentObj() that pointed to garbage. Change-Id: I51a2a03ded18509ee61488d96bd30a6d364825d7
2015-01-22Make it obvious that this functions is for a very specific use onlyTor Lillqvist
Change-Id: I53ad45fef0e17ce15a500959206b9b042e550e49
2015-01-20Some more loplugin:cstylecast: scStephan Bergmann
Change-Id: I75adf1973083a6f4519133f9e97ad83fd7d8658a
2015-01-18rename AddRange to SetRangeMarkus Mohrhard
Change-Id: I696fcbd2896aefda38314457b6838874262ad111
2015-01-15fdo#88398: Handle group listeners correctly when splitting formula group.Kohei Yoshida
It's basically the same thing we do in ScDocument::DeleteArea(), implemented in ScDocument::SetValue() and SetString(). Change-Id: Ifcae31aaef0e00ed8659aa5e2b9b8e206dc1a099
2015-01-15fdo#88398: Re-enable formula group listeners.Kohei Yoshida
Change-Id: I1e5e9d50af471bc0e63f0d39478d96bf479583d5
2015-01-15fdo#88398 disable grouped listeners for nowEike Rathke
Further implementation is needed to re-establish grouped listeners after unshare and split. Change-Id: I861b3f9d63a611ab0e32918ce1b272121bf12988
2015-01-14Implement getDocumentSize(). Cell data only for now.Kohei Yoshida
Change-Id: I31e14f12aaee2d98103d1594ba5b511ebf91e333
2015-01-14Annotate this method.Kohei Yoshida
Change-Id: Ia8f518fd6e61562e95eddacafc9f7e49656826e8
2015-01-14add ODF1.2 function ERROR.TYPE to CalcWinfried Donkers
Also, improve exchange between Calc and Excel2013. Change-Id: I491f9e2100a9a2c38e23cf55dd1eda4b5e96db96 Reviewed-on: https://gerrit.libreoffice.org/13101 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-10only delete cell content for CELLTYPE_NONE, fdo#88200Markus Mohrhard
Change-Id: I43463b56cabfea4c9ee2b98445f7fb522221197d
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07Resolves: fdo#87003 - Kill BOOST_FOREACHPieter Adriaensen
Conflicts: avmedia/source/framework/modeltools.cxx basic/source/sbx/sbxbase.cxx sd/source/filter/eppt/pptx-epptooxml.cxx svx/qa/unit/svdraw/test_SdrTextObject.cxx sw/qa/core/uwriter.cxx sw/source/core/doc/CntntIdxStore.cxx sw/source/core/doc/DocumentLinksAdministrationManager.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/sortopt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/frmedt/tblsel.cxx sw/source/core/text/itratr.cxx sw/source/core/tox/ToxLinkProcessor.cxx sw/source/filter/xml/xmltble.cxx Change-Id: Id176d4e052c719c9afdf91ed450de84d8d2bc486 Reviewed-on: https://gerrit.libreoffice.org/13575 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07Revert "Check number of cells referenced by group instead of group size"Tor Lillqvist
This reverts commit cc4dbc0c4613b169045341d1f02bc4c47a407fa0.
2015-01-07fdo#82014: Remove old conditional formats when setting new one by UNO APIMatúš Kukan
Change-Id: I76488045eba281227124041da505e38c4c3d31c1