summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26ignore #include inside #ifLubos Lunak1-1/+2
2012-12-26fix operator lookup with clangLuboš Luňák1-8/+3
I'm not sure if this is clang being more strict or buggy, probably the latter. Change-Id: I900ba2cd2b1d4c23e41e4787be4263954ce8b4c0
2012-12-26add a unit test for new method in ScRangeListMarkus Mohrhard1-0/+33
Change-Id: Id27973cc82c71daffec62cbaccba30777c08612b
2012-12-26one more improvement around cond format rendering, fdo#57896Markus Mohrhard1-1/+4
Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
2012-12-25simplify cond format copy&paste code, fdo#58677Markus Mohrhard4-50/+51
This should also help with fdo#57896 and some other problems I found Change-Id: I8cb3eb69a7ec1413cb57ce81c5f4d806250474e5
2012-12-25one more fix for fdo#58686Markus Mohrhard1-1/+3
Change-Id: I02e29441fa5d9573cb179dfde2357416102ff341
2012-12-25Get rid of (most uses of) GUITor Lillqvist1-1/+1
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-24be safe against invalid cond format cell info, fdo#58686Markus Mohrhard1-0/+3
Change-Id: Ie89aee95755d9abd3b82062fac271cfe774174ec
2012-12-22C4701: potentially uninitialized local variable 'bTestEqualCondition' usedTor Lillqvist1-1/+1
Change-Id: I01c9a166d0faabed4a92a0aa42a123432cb7e847
2012-12-22storing the chart doc while loading is a bad idea, fdo#57530Markus Mohrhard1-1/+0
There seems to be no obvious reason why we would need to store the chart doc during xls import. The chart test docs don't show any difference without this call. This speeds up xls chart import quite a bit. With the test doc from the bug report I'm able to open the doc nearly instantly now. Change-Id: I0b80462b9d1c405ab1d4cf456e12ebfe4428db98
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin8-32/+16
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-20Forgot to add checkbox to the dialog & saving the option when checked.Kohei Yoshida2-4/+15
Also remove a printf statement. Change-Id: I29c89a19f0c75b21f912d12903d1fceea535a6c7
2012-12-20Make use of the recalc option when loading ODF documents.Kohei Yoshida1-8/+21
Change-Id: If33dd77c1b54cdfb5a8ff75c5b6e13db09b0c19f
2012-12-20Add ODF recalc option bits to the UI and configuration.Kohei Yoshida6-35/+109
Change-Id: I2a72956f3e91b650b7434c676722d34b2f3394e4
2012-12-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat3-9/+0
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20Group undo actions when showing/hiding several notes once, fdo#39454Rodolfo Ribeiro Gomes1-0/+5
This is a complement for fdo#39454 bugfix. Change-Id: I3f406ae151b92419a86abb8f050c8b032d080838 Reviewed-on: https://gerrit.libreoffice.org/1452 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-12-19Refactored pivot table dialog code for better modularity.Kohei Yoshida6-678/+623
Moved much of the field area specific storage from the parent dialog to its child field area control. It's much cleaner this way. Change-Id: I603fbebc2d9d62742a3808d6f72ca23357d84046
2012-12-20fdo#39454 Allow (show/hide) comments for selected cells (cell range)Rodolfo Ribeiro Gomes8-6/+239
Change-Id: I1a4caea70ef8e2fc177a966e7e267ca4df139864 Reviewed-on: https://gerrit.libreoffice.org/1412 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-12-20some small fixes for UI around date cond formatsMarkus Mohrhard1-3/+7
2012-12-20handle last week/next week betweek different years, fdo#58340Markus Mohrhard1-9/+25
2012-12-19regenerate pchPeter Foley1-135/+135
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-19Little optimization when detecting if there is cell notes to be deletedRodolfo Ribeiro Gomes1-0/+3
Change-Id: I6f7a79459f3d0431adc45f339854b1a9339444c0 Reviewed-on: https://gerrit.libreoffice.org/1415 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-12-19even simpler way to get the whole rangeMarkus Mohrhard1-22/+1
2012-12-19Little optimisation when getting the whole rangeRodolfo Ribeiro Gomes1-8/+5
Just avoid "if" statement every iteration since the condition is true only at the first run Change-Id: I0f2f93196b2b28d457dfbb7b18f568abb45adcbb
2012-12-19wrap vararg sax functions in typesafe overloadsLuboš Luňák2-3/+37
Now automatic conversions can take place (no getStr() needed), and there are compile errors when used improperly. The FSEND terminator is also no longer needed, but it's better to dump it only after forgetting it no longer silently breaks backports. Change-Id: Ib47e6eda2d5e12ce889b69bf2affbda3679c2d3f
2012-12-19Remove unused method from sc: importBiffRecordMarcos Paulo de Souza2-30/+0
As Thomas Arnhold pointed, these method eems to be useless. After removing and running calc, it seems to work perfect. Change-Id: I3e3eb7ba3e2e71bb615f64d5f63ca7f8cac00e9c Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1410 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-12-18Check the validity of row ranges after after the data area shrinkage.Kohei Yoshida1-1/+10
Or else it might crash again in the pivot layout dialog. Change-Id: I2254e5901f4736fffc6940346a866fc1f22b7c7f
2012-12-18fdo#56937 - mac a11y hang related to traversing vast, broken hierarchies.Michael Meeks2-5/+17
Change-Id: Iff0537a69b2c6ae929da6a05f26c0d55415d6d8a
2012-12-18finalize pivot *before* scenario sheet to ensure table numbers are correctNoel Power1-5/+6
Change-Id: I15cf378b51b1ecfbd05c7013e5a5b69fb87fdafb
2012-12-18Remove unused ScTabPopShellMarcos Paulo de Souza3-130/+0
As Thomas Arnhold pointed, it seems that ScTabPopShell is useless. I did a full compile without ScTabPopShell and run sometimes cal, writer and all still works. Change-Id: Ia05d4fb53999b816101b5757153942df0c606022 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1392 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-12-18we need to use a copy of the original ScPatternAttr, fdo#58338Markus Mohrhard1-5/+7
Change-Id: Ic231347cb864bff073d46ddef06f65b7517c45c3
2012-12-18fix the test for cond format exportMarkus Mohrhard1-5/+5
Change-Id: I01e0b3e76e39bf26d2398745bf706cfa60d5621f
2012-12-17first check that the number of cells has not been reached yet, fdo#58346Markus Mohrhard1-8/+8
Change-Id: I0fea5719f524584acdbbc560c47b3c427c174845
2012-12-17UI does not update correctly for icon sets, fdo#58308Markus Mohrhard2-1/+5
Change-Id: Iceeab1ea3624fbefa8cb626899262e857b445ac1
2012-12-17workaround FORMULA is not part of the condition is in the UIMarkus Mohrhard1-0/+4
Change-Id: I6c51ecfbddeeaed3f8747cde90996f7e236a0afd
2012-12-17fix the month date formats, related fdo#58340Markus Mohrhard1-2/+12
Change-Id: If9f716fd2d2f5a8488451121067ee068673b3b7a
2012-12-17checking for the month is wrong, related fdo#58340Markus Mohrhard1-3/+3
Change-Id: I9920e8ad84da58f32a61a4bd864ea80b011ad746
2012-12-17Change the order of always, never, ask enumerations.Kohei Yoshida6-24/+26
This tri-state option is commonly ordered ask-always-never or always-never-ask, but not always-ask-never, which is not very common. Change-Id: Ie3a3d1b40397b5cd7d28e64948a2b946bb619b49
2012-12-17Re-arranged formula options page to make room for re-calc option.Kohei Yoshida3-47/+50
Change-Id: If144ffa1c5d868f41f6303b0f99fbe2e4d23a6b8
2012-12-17Use check box "Always perform this in future" rather than 4 buttons.Kohei Yoshida4-45/+16
Change-Id: Ib04debaf3c2d06e694e965c1ece01d6cc7a43fa8
2012-12-17callcatcher: update unusedcode code listCaolán McNamara7-117/+1
Change-Id: I3ba30e0745c8f2adac29a6c4ff15a8156cee4baf
2012-12-17UniString::Fill -> OUStringBuffer::padToLengthCaolán McNamara1-3/+4
none of these strings starts out before "Fill" longer than the size they are asked to be filled to so there are no trailing unfilled bits to consider all of which means that we can get rid of UniString::Fill now Change-Id: I8da21e9787017da9243a2c1d7118d3fbcca2a7fb
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara2-11/+10
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-16PCH for Library_scLuboš Luňák3-0/+945
2012-12-15check conditions before checking for matrix fragmentEike Rathke1-3/+6
Was omitted in ab0096ed68cdc08906f518d3499a8e1afc5ba80c Change-Id: If3e1c141f02751ca7e6104ba21c246926fca843d
2012-12-15add missing *IFS pieces to Excel filterEike Rathke1-11/+8
These were omitted in ba950a50b0d0863e18ef781214eaaff9a8684790 because oox/source/xls/formulabase.cxx was moved to source/filter/oox/formulabase.cxx AVERAGEIF, AVERAGEIFS, COUNTIFS, SUMIFS Merged from Apache OO, parts of http://svn.apache.org/viewvc?rev=1381452&view=rev Original Apache OO committer: Andrew Rist <arist@apache.org> Original Author: Daniel Rentz [dr] <daniel.rentz@oracle.com> Original Committer: Daniel Rentz [dr] <daniel.rentz@oracle.com> # HG changeset patch # User Daniel Rentz [dr] <daniel.rentz@oracle.com> # Date 1299664669 -3600 # Node ID 89feb2fb2947d76a15e2de8bc1def1edf20e4f88 # Parent 1bf6d73db8a4ee709aa4d9d9d827efafc9c611d2 Change-Id: I0756e1da4aa2acaefb86b5813e047b2768c192a1
2012-12-15AVERAGEIFS with FUNCFLAG_PARAMPAIRSEike Rathke1-1/+1
Change-Id: I51fa0259df84327db7dd07ae9ed5b109d40b6660
2012-12-15EvalMatrix<XorEvaluator> for XorEike Rathke1-20/+9
Change-Id: Ib0fdf7f8916a9d31fbcbedad925361d0cbe03b10
2012-12-15EvalMatrix: do not short circuit, propagate errorsEike Rathke1-10/+14
Change-Id: I3118fb2a4d30e1626a05e9872b34a3c33bd487be
2012-12-15aString not rStringEike Rathke1-13/+13
Change-Id: Idb1f2db3377bbbf71067a27944b2f07865798972