summaryrefslogtreecommitdiffstats
path: root/sc
Commit message (Collapse)AuthorAgeFilesLines
* warning C4702: unreachable codeStephan Bergmann2012-09-061-3/+0
| | | | Change-Id: Ie9544ef452d7b9852bd2c31af1cb42035e5c827b
* Cleanup files touched by f5b7fecbc0744e46468d57b8131ea7d768aa96a2Philipp Riemer2012-09-054-39/+15
| | | | | | | Change-Id: I00c2ccb0be18bb574b2494b035b48c6f37128c72 Reviewed-on: https://gerrit.libreoffice.org/494 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
* remove two useless definitionsMarkus Mohrhard2012-09-052-3/+0
| | | | Change-Id: Idf804207c2af46dee30d4eff3704b8d61fbe485f
* only allow to change conditional formatting if sheet is not protectedMarkus Mohrhard2012-09-051-0/+3
| | | | Change-Id: I38a812a4d4ce24fb9ad65c438f6e001b376f319e
* better import of conditional format from old ODF structureMarkus Mohrhard2012-09-056-181/+151
| | | | | | | | | | | | The old ODF storage is style based and so the sam cond format can be divided up into several single stlyes which resulted in several new style cond formats. Now we check for old stlye cond formats if there is a equal cond format and in this case just extend the area. This should make it easier to transform old documents into the new range based cond formats. Change-Id: I51a5148922e19e6860de9915abfc59d49b18d96e
* fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin2012-09-032-11/+11
| | | | Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
* forgot to use external mdds headers hereMatúš Kukan2012-08-315-0/+10
| | | | Change-Id: I066e2716095722343603a684935f0b7b24ce08be
* mdds: convert to gbuildMatúš Kukan2012-08-312-1/+5
| | | | Change-Id: I7db5dd20e41297efbabef22f559b5552f3afff0f
* Bool and string cleanup, as usual.Kohei Yoshida2012-08-311-5/+5
| | | | Change-Id: Id287047d54c2c75647486cc3b07152ddbe295534
* Don't export the internal field name suffix '*' to ods.Kohei Yoshida2012-08-311-2/+5
| | | | | | | | | These '*' suffix is used internally to make duplicate field names unique. However, we were exporting the raw names (names with the '*'s) by mistake when saving to ods. We need to stop this ASAP before someone gets hurt. Change-Id: Iaff7a6343cf202f5fb9855fb7dfe59b872920e4f
* fdo#54303: Prevent crash on load.Kohei Yoshida2012-08-311-1/+5
| | | | | | | | | Another simple null pointer check, to save the day. This unfortunately prevents the properties of the skipped field from being loaded properly, but it's still better than a immediate crash. Change-Id: I49398d80eb3bf0834b7e9830ac8be3ac776cb354
* fdo#39468: Translated German comments in sc/source/core/toolgerhard oettl2012-08-312-39/+38
| | | | | | | Change-Id: If39cd8391a8b8bfccd33349c4c81ab9b0c05991d Reviewed-on: https://gerrit.libreoffice.org/521 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* remove debug outputMarkus Mohrhard2012-08-311-6/+4
| | | | Change-Id: If6a58b2cf022c704603a3fb01b3ed75d1881f918
* handle missing cond format entries more gracefully, related fdo#52340Markus Mohrhard2012-08-311-0/+6
| | | | Change-Id: Id1cf7d99a13c04541e87ad00c5418dd4f766d268
* use Red as error color for cond format dlgMarkus Mohrhard2012-08-311-2/+2
| | | | Change-Id: I1526a8d1f2999742f28600e771891e1489d62f4b
* update cond formats for deleting, moving and cut&pasteMarkus Mohrhard2012-08-313-0/+29
| | | | Change-Id: I52987e957918853bcd1abd1460c6166b52454d62
* add ScRangeList::DeleteAreaMarkus Mohrhard2012-08-312-0/+337
| | | | | | | | | DeleteArea can handle ranges that are deleting parts of an existing range Currently this code only supports a 2D deletion Change-Id: I1c514437fdd09fea99f5c4dcf97b8375dcc53b40
* also handle the cond format code for xlsb the new way, fdo#53424Markus Mohrhard2012-08-311-0/+1
| | | | Change-Id: I8d54e5fee29952635c3d4c2d5a12203668e2ff28
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-311-3/+1
| | | | Change-Id: Id2034a3ec40e1cfcd21f60e19f4faa99bb1f6164
* fdo#53938: Don't proceed when error occurs.Kohei Yoshida2012-08-303-6/+8
| | | | | | | This prevents the same error dialog from appearing 3 times in a row, also the pivot table outout from becoming empty. Change-Id: I09a72f78561f3f0446a95732fb9c242c1144878a
* fdo#53938: Check for null pointer.Kohei Yoshida2012-08-301-0/+5
| | | | Change-Id: I4beb5e3c071933dce72468ca87faceca079aa50c
* fdo#39468: Translated German comments in sc/source/core/toolgerhard oettl2012-08-306-31/+31
| | | | | | | Change-Id: I3d27d33a973c601234b5b6e48756df16f567149d Reviewed-on: https://gerrit.libreoffice.org/503 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* add unit test for basic sorting with cell noteMarkus Mohrhard2012-08-291-0/+45
| | | | Change-Id: I997f96e0a9f6aa4c2ed7f2d3811a84fdfda05683
* move ScProgress construction out of ScTable::SortMarkus Mohrhard2012-08-295-15/+19
| | | | Change-Id: I8e523fbb53b9c40075b62ee32d79eee0b408168e
* don't cover cell with hint window fix for fdo#47595Noel Power2012-08-291-1/+1
| | | | Change-Id: Iedbe5238deb7ed011423ef211e7fb1e498d27387
* fix typoCaolán McNamara2012-08-291-1/+1
| | | | Change-Id: Id278f406673b79347c72203d89c1c7b22105c727
* String::Expand -> string::padToLengthCaolán McNamara2012-08-291-3/+4
| | | | Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
* hopefully a working version for databar ext guid creationMarkus Mohrhard2012-08-282-2/+26
| | | | Change-Id: Ide7261955168dc13b47b29705e22eb2c3154d24e
* prevent double delete of broadcaster, fdo#54074, fdo#53364Markus Mohrhard2012-08-281-0/+3
| | | | Change-Id: I7d94525daaeb7c8268fb10594c8a21ebcd52311c
* fix indentationMarkus Mohrhard2012-08-281-2/+2
| | | | Change-Id: I666f130fe75bd0e0fcba54fee68b97ae153db2ef
* don't crash for invalid repaint ranges in cond formats, fdo#53839Markus Mohrhard2012-08-281-1/+1
| | | | Change-Id: I83cbb2574849c69fba3ca315d7507358654ff2b9
* remove some more null pointer checks before deleteMarkus Mohrhard2012-08-281-22/+11
| | | | Change-Id: I5997f0440a8a4875e800e830df211e8108752b37
* remove redundant functionMarkus Mohrhard2012-08-281-20/+1
| | | | Change-Id: If082663aea3e5ed4d242997a1fdd3fd2769daf8d
* remove useless null pointer checks before deleteMarkus Mohrhard2012-08-281-6/+3
| | | | Change-Id: I33ba84aebcb8d8abec4af13f9c0bb12a3364d8de
* tweaking the "fill in character" support in Calc Number Format StringsJohann Messner2012-08-282-6/+6
| | | | | | | a) changed ordering of repeat code marker ( 0x1b ) and repeat code to more sensible ( and correct imo ) order b) prevent some possible div/0 errors c) added some missing formatter 'GetOutputString' calls
* allow paste & paste special for unmatching dest (single) rangeNoel Power2012-08-281-1/+1
| | | | Change-Id: I420c044c9bcc49e479956f9118fb173a0350fda2
* resolved fdo#51926 handle .xlsm link to external sheet with spaceEike Rathke2012-08-281-30/+65
| | | | | | | | In MOOXML '[1]Sheet 4'!$A$1 represents a reference to an external document's cache index with a sheet name containing blank, and not [1]'Sheet 4'!$A$1 Change-Id: I5caf9e1d9a80154116dc7a72b33d34229092839c
* do not silently ignore a token API error, fdo#51926 relatedEike Rathke2012-08-271-0/+2
| | | | Change-Id: Ie187dad84bd55bb76c795b5c4807566e80349b56
* Add unit test for pivot table import from ods.Kohei Yoshida2012-08-272-0/+84
| | | | Change-Id: I7e7bf5746636e0f13aaaec91d526ac59f6054796
* fdo#39468: Translated German comments in sc/source/core/incGerhard Oettl2012-08-273-30/+30
| | | | | | | | Change-Id: I81b7330bf3178b539855f73aac25539013a2bd90 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/493 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
* when swaping cols or rows insert notes at the right place, fdo#53979Markus Mohrhard2012-08-271-19/+30
| | | | Change-Id: I1228b3a064623e810265b47776e33f81f4bf0e51
* Quick indentation fix on closing brace.Kohei Yoshida2012-08-271-1/+1
| | | | Change-Id: I8626b0b3338e17b1b0fc713d4dba5545e1faba1c
* fdo#46808, Adapt script::Converter service code to new styleNoel Grandin2012-08-271-1/+2
| | | | Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
* remove VBA_OOBUILD_HACK and friendsNoel Power2012-08-263-20/+0
| | | | Change-Id: I5c21a407bcae1b668976b94a757d564120973b1a
* The label size is computed from the length of the string it containsJean-Baptiste FAURE2012-08-251-5/+12
| | | | | | Change-Id: I586a31a5d563ea8a11282836ca1d54b0c8be1bf4 Signed-off-by: Arnaud Versini <arnaud.versini@gmail.com>
* removed commented out code in sc/source/ui/undoPhilipp Riemer2012-08-254-15/+1
| | | | | | | | | | | | | This is a follow-up patch of 06f611210cf487dcd32aa7ccfaae5ed80124e439. Since the rebasing process is not finished yet, I submit it to Gerrit, so that the changes are available for later when they can be applied again to the related files. Change-Id: I047ade3f9a6b3927ddab8b94a53113b17483c06f Reviewed-on: https://gerrit.libreoffice.org/486 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
* remove ascii-art and blank lines in sc/source/ui/undoPhilipp Riemer2012-08-2510-425/+2
| | | | | | | | | | | | | This is a follow-up patch to 06f611210cf487dcd32aa7ccfaae5ed80124e439. However, since the rebasing process is not done yet, I submit it to Gerrit, so that the changes are available as soon as they can be applied again to the related files. Change-Id: I61292e9d893839bd2f8b18a521a30e670f80f05b Reviewed-on: https://gerrit.libreoffice.org/484 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
* fdo#39468: Translated German comments in sc/source/ui/undoPhilipp Riemer2012-08-259-78/+73
| | | | | | | | | | Eike and I reviewed the patch at the same time. However, he was was faster ;-) Consequently, with this commit I include the fixes for my remarks previously done in Gerrit as well as for Eike's comments. This is a follow-up patch of 06f611210cf487dcd32aa7ccfaae5ed80124e439. Change-Id: I6ee721f15852e1023c8b3e4f0b580435ee52c0c6
* Translation of comments from german in sc/source/ui/undoAlbert Thuswaldner2012-08-2410-604/+257
| | | | | | | Change-Id: Ic7f2233ae55f8c5505c5b325aef973b0d0c65730 Reviewed-on: https://gerrit.libreoffice.org/479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Improve matrix import performance.Daniel Bankston2012-08-247-15/+20
| | | | | | | | | | | | | | | | | Our latest changes that recalculate volatile formulas at the end of import resulted in several seconds performance loss on a large matrix test file with complex formulas. When the matrix cells are put in the document, ScFormulaCell::SetDirty() gets called. Although the cells are set clean during import after this, SetDirty() also uses ScDocument::TrackFormulas() which puts the cells in the formula tree. So when we call ScDocument::DoRecalc() at the end of import, the interpreter goes through all matrix cells because they are in the formula tree. This commit prevent that from happening, which gives us back our performance. Change-Id: I961f69b0117d4261f8afefb6d94173105f0925b2