summaryrefslogtreecommitdiffstats
path: root/sc/inc/cellvalue.hxx
Commit message (Collapse)AuthorAgeFilesLines
* tdf#107945: properly iterate over mtv during pivot cache loading.Kohei Yoshida2017-05-241-7/+26
| | | | | | | | | | This reduces the total time required for populating the pivot cache by ~60%. Change-Id: I6a8511959c20231a8a5dbd0b0a9a3d0930a1fa0c Reviewed-on: https://gerrit.libreoffice.org/37971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* coverity#1371197 the compiler defaults should be sufficient hereCaolán McNamara2016-10-041-5/+0
| | | | | | | | Change-Id: I4230d03dc58027f958d8943c0ff90f00508f7386 Reviewed-on: https://gerrit.libreoffice.org/29523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* sc: convert SC_CLONECELL_... to typed_flagsJochen Nitschke2016-07-221-1/+1
| | | | | | | Change-Id: I4ce14eecaa9fbdc007bbb39f0543099c75f2ffcb Reviewed-on: https://gerrit.libreoffice.org/27428 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:unusedmethods in sc/Noel Grandin2016-01-191-2/+0
| | | | Change-Id: I2c24d06d9fad26c65fa13cdcaa2c3f908971106c
* implement assignment in only one placeEike Rathke2015-11-031-4/+0
| | | | | | | | ... and comment on what to do if we really wanted a copy-swap-idiom. The need to doc comment about not to use assign() after default ctor is also gone with the temporary swap. Change-Id: I2a49091b2a41cf155e912e3c373dbbe81c7f9737
* trash usage of ScRefCellValue default ctor followed by assign()Eike Rathke2015-11-021-0/+10
| | | | | | ... that only results in a performance penalty. Change-Id: Ia161ab7fb03f2d32cf966ce9da9d0319d919fc4c
* loplugin:unusedmethods scripting,scNoel Grandin2015-07-221-1/+0
| | | | | | | Change-Id: I0016aefce1aad3a89bd23dcec6fbab58a7c844d7 Reviewed-on: https://gerrit.libreoffice.org/17263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Adjust ref undo to ensure group area listeners are used.Kohei Yoshida2014-11-251-1/+1
| | | | | | | When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33
* Add a variant of set that takes ownership of EditTextObject.Kohei Yoshida2014-07-181-0/+1
| | | | Change-Id: If5f9122213d2f35aabcc66ca70c3d432120995cc
* fixincludeguards.sh: scThomas Arnhold2014-04-191-2/+2
| | | | sorry, huge one...
* Simplify ScViewFunc::DoThesaurus() with ScCellValue.Kohei Yoshida2014-02-271-0/+2
| | | | Change-Id: Ic5d31107aa7653cd8e3fae096888bd633696074f
* remove unused cdeo from ScCellValueNoel Grandin2014-02-271-7/+0
| | | | | | | | | | | Specifically: ScCellValue::ScCellValue(EditTextObject const&) ScCellValue::ScCellValue(ScFormulaCell const&) ScCellValue::hasNumeric() const ScCellValue::hasString() const ScCellValue::set(ScFormulaCell const&) Change-Id: Ief8c07d6e2c7df6c6037fb3e59c00c37e3e0a49a
* remove unused code ScRefCellValue::commit(ScColumn&, int) constNoel Grandin2014-02-271-2/+0
| | | | Change-Id: I2f91a7b6b471d655f19f1f0ed94c4e1d0273ed80
* Optimize copy-n-pasting of single cell replicated over a range.Kohei Yoshida2014-01-241-0/+1
| | | | | | | | This is a very common operation. Let's speed it up a bit. TODO : Handle cell comments. Change-Id: I5442bf19008475a9427b889c1eb641cacd8ff161
* Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida2013-10-081-5/+11
| | | | | | | With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
* Change so that we won't have to include mtvelements.hxx in cellvalue.hxx.Kohei Yoshida2013-09-121-3/+0
| | | | | | | | Because mtvelements.hxx is very slow to parse by the compiler, and cellvalue.hxx is included everywhere. Hopefully this will speed up the compilation time of sc... Change-Id: Ic9a9b8483c8325e4a91021f071f2391db8b57806
* resolved fdo#67249 use ScFieldEditEngine to resolve field contentEike Rathke2013-07-251-1/+10
| | | | | | | | | | | | | | | | | ScEditUtil::GetString() iterated over the paragraphs of an EditTextObject where GetText() does not resolve field content but returns the embedded field markers. To resolve field content an ScFieldEditEngine is needed. This makes it necessary to pass an ScDocument* to obtain the ScFieldEditEngine from, or for cases where there is no ScDocument in the context use a static ScFieldEditEngine which unfortunately is not capable of resolving document specific fields of course, such as DOCINFO_TITLE and TABLE. Also added unit test. Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
* We need to clone the source cell value to prevent crash.Kohei Yoshida2013-06-241-0/+5
| | | | | | | | If we don't clone this, the original string value would become invalid after the first insertion, which may cause a reallocation of the array that stores the cell. Change-Id: I5b1bb5f378ed5503169fce75fcbc7aeb85c5ed6e
* Switch to using multi_type_vector for cell storage.Kohei Yoshida2013-06-241-12/+15
| | | | | | | The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
* Converted the external ref manager code.Kohei Yoshida2013-03-271-0/+2
| | | | Change-Id: Ifbce13bc8a941e548b1ba647519cf9765b7f55d0
* More on killing direct use of cell classes.Kohei Yoshida2013-03-271-0/+4
| | | | Change-Id: Ie2b6819652f330a493b7f9fe557736b27e402803
* Make the conditional formatting code free of ScBaseCell.Kohei Yoshida2013-03-261-2/+3
| | | | Change-Id: I93f83a840874c973cdc0821ddeb1913be7f09767
* Add ScRefCellValue, which is ScCellValue without copied value.Kohei Yoshida2013-03-261-1/+55
| | | | | | It directly points to the original cell value instance. Change-Id: I638ec8b931873d237871b6d8fa9f0e1277520d0f
* Get the whole change tracking code entirely ScBaseCell-free!Kohei Yoshida2013-03-261-6/+21
| | | | | | This took me a whole day.... Change-Id: Ida757b1efa284fc9d071a225f45666c340ba89ea
* Start switching ScCellIterator caller to alternative iteration method.Kohei Yoshida2013-03-221-0/+8
| | | | Change-Id: I8b39adaaff3874e26709579530fb74b2bf0543be
* Get change tracking to work again with these new ScDocFunc methods.Kohei Yoshida2013-03-221-0/+4
| | | | Change-Id: Icdbf2af7bc552bc8f4914cc8bd036ed45934c461
* Move ScCellValue into its own header/source files.Kohei Yoshida2013-03-221-0/+56
This can be used outside the undo code, like change tracking code. Change-Id: Iad936acef0dacbd19d8c179da4713b1cdc7f9c84