summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza23-45/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-18convert remaining String in SC to OUStringNoel Grandin88-215/+203
Change-Id: I3ee8c3b59bf9d6ef6516f1da64cbe5f0b35af2d0
2013-10-16re-added an omitted nFuncFmtTypeEike Rathke1-0/+1
Gone with 58380c11216cb9f03a98e3d53dcee702576fedb8 Change-Id: I6b076d635c3d2cd37ed6b65a83c758b30e0e1522
2013-10-16fixed MIN and MAX matrix case regressionEike Rathke1-2/+8
Introduced with 58380c11216cb9f03a98e3d53dcee702576fedb8 If in MIN matrix minimum was >0.0 the result was always 0. If in MAX matrix maximum was <0.0 the result was always 0. Change-Id: I59bd1e9815912eae6b4846c092d98a8949b30e8d
2013-10-16fixed out-of-bounds OUString accessEike Rathke1-1/+2
Change-Id: I971c339f2cb4cddcf4fbb447eb79282d34979220
2013-10-16CID#1103764 uninitialized scalar fieldCaolán McNamara1-7/+9
Change-Id: I828ab50e11546ba5f183e27dbff8ba87827bb426
2013-10-16CID#1103768 uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I05ce7f66ca76345eabb660a12d9cd85a34ef55dd
2013-10-16CID#1103722 resource leakCaolán McNamara1-1/+1
Change-Id: Ia08a0c8d4366bde572a7438ceff687f6028b066e
2013-10-16CID#1103728 malloc(1)Caolán McNamara1-1/+1
Change-Id: I89bbd213b7eddd5c55d4c8768929add326a63722
2013-10-15Resolves: fdo#47958 shrink cut/paste more and rework a bitCaolán McNamara6-127/+100
I'm concerned that the scoping of the dtor will cause events to happen in different order to the original. So rework the require explicit Notify calls rather than implicit dtor calls instead of going about the place putting in scoping brackets Change-Id: I7f3ac4ef3c073da74a9cc49888a59dec12805b0f
2013-10-15fdo#47958: gross cut/paste signal emission nonsenseJulien Nabet6-93/+93
Change-Id: I60b7a4c5b80410429e5489ee6517bbda8cf328dd
2013-10-15update pchThomas Arnhold2-13/+11
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-14Change sal_Bool to bool in viewfunc.cxx (Calc)Laurent Balland-Poirier2-135/+135
Change-Id: Ia65cffbf49929f44607c227a5c6167f4ca581e8a Reviewed-on: https://gerrit.libreoffice.org/6203 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-14String to OUString in viewfunc (Calc)Laurent Balland-Poirier1-2/+2
Conflicts: sc/source/ui/view/viewfunc.cxx Change-Id: If82a7c6e58af1cbba3748e42bf8ecce75cbebf18 Reviewed-on: https://gerrit.libreoffice.org/6202 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist5-24/+14
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-13Drop unused typedefs and #includesTakeshi Abe2-10/+1
Change-Id: I83f645ff93f7a351053b09d55ac23e9a5656d143
2013-10-12Use SAL_PATHDELIMITERTor Lillqvist1-9/+1
Change-Id: I5b5346dcf5b4ab3277fea28ee73bc36dc0579105
2013-10-12Bin pointless commentsTor Lillqvist2-4/+0
Change-Id: I651854e653ae863577bd1f0f22ef640dd7044ebc
2013-10-12Test _WIN32 instead of UNX as it's Windows that is the special caseTor Lillqvist2-7/+3
Change-Id: I6252f4737dbc297525792412e006b2ed0147a0d6
2013-10-11Unused ScExternalRefCache::mrStrPoolStephan Bergmann2-5/+2
Change-Id: Idc9d05cae6ebee4c5f88dbe53ab182da66781582
2013-10-11-Werror,-Wunused-functionStephan Bergmann1-5/+0
Change-Id: I27d1bd3f4a94ba6951e5082509980f45cf48650c
2013-10-11-Werror,-Wunused-variableStephan Bergmann4-22/+67
Change-Id: Ia69312b4adc11c256e57e69c0fd488eca441ce4e
2013-10-11Use OUString & a bit more fine-grained unit test error messages.Kohei Yoshida1-13/+24
Change-Id: I6d9ce2afd97d6011eaa93855c49f3d7071db0159
2013-10-11Spell check context can be NULL (when the live spell check is not on).Kohei Yoshida1-1/+1
Change-Id: I785f83b5c2c6329b7a18af9f9721c06894207ea5
2013-10-11Fix VLOOKUP calculation when the matching value is literal string.Kohei Yoshida3-19/+25
ScRawToken needed to store a shared string value rather than the normal unicode string array. This fixes a previously failed unit test. Change-Id: I87164c018ace0761c40d1493f44fe25909a4499c
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida48-392/+421
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11GetString() from ScMatrix to return SharedString.Kohei Yoshida11-70/+70
And adjust all its call sites. Change-Id: Ibb0c754e8fa105bd1a6035f2e0df5cee2d8491c4
2013-10-11Properly intern strings going into matrix objects.Kohei Yoshida15-94/+135
Change-Id: Ieb8befa4f19ebc31f4afa1370c924b469aa77382
2013-10-11GetEditUrlOrError() is no more. Just use GetEditUrl().Kohei Yoshida2-9/+1
Since it no longer checks for cells with misspelled words.... Change-Id: I372c283e0567c2e0e40d26eeb19dcf6e5d3f9e0f
2013-10-11Fix context menu launch on mis-spelled word in a cell.Kohei Yoshida2-35/+26
This was broken when the spell check handler was re-implemented after the cell storage rework. Change-Id: I4e7e718ffba45b2163bea4dd382f2a49f75fd5f9
2013-10-11We are supposed to keep track of max-length string.Kohei Yoshida1-0/+4
Change-Id: I3a0d999f55d89734b26ee66c16cf8cadbcbac246
2013-10-11Some cleanups to avoid unnecessary getString() calls.Kohei Yoshida4-11/+8
Change-Id: I334d64f7731915d27e3b81781c91e330dc446010
2013-10-11Make the same change to the orcus interface & remove unused methods.Kohei Yoshida4-94/+15
Change-Id: I1263026133b694e531c0a99b16d622e1ae12db48
2013-10-11Import shared formulas from xlsx without crashing.Kohei Yoshida6-31/+34
The key here is to only use the shared formula ID's and ignore the ref range. The ref ranges are not correct half the time. Change-Id: If65f9b1b44ab6239db37977b6dfe3f822a9cf67e
2013-10-11Use shared string's fast equality check for ValidQuery().Kohei Yoshida1-12/+26
Change-Id: Ib84087a10cc10a7533e64c4e8998354b52017df7
2013-10-11Add isEmpty() to SharedString. This simplies a lot of its call sites.Kohei Yoshida3-4/+4
Change-Id: I0ebc43abe59ac317c053a4f606dbe376d85c03b0
2013-10-11Store svl::SharedString in query entry items, and adjust all call sites.Kohei Yoshida22-150/+214
Change-Id: Ifd3bbb84c7abbe983a017a169c7e05914ef33450
2013-10-11yes, placement of parentheses is important :-/Eike Rathke1-1/+1
Change-Id: I606efefada9529571e5a400da65592905200b987
2013-10-11Simplify string literal concatenationsStephan Bergmann2-5/+2
Change-Id: Ibf5e9ed2716f2f22beb3b68ba7569b638f35a960
2013-10-11Resolves: #i123405# Allow to not limit size to PageSize...Armin Le Grand2-7/+16
when creating Metafile content (cherry picked from commit c4b76f0442c452693846a4c92970ba67f26f2226) Change-Id: I8536f4d55e422ad5550c1aaa311789ad31647611
2013-10-10fdo#50118 use English add-in function namesWinfried Donkers1-6/+14
This patch sets the function names of add-in functions as set in the golbal configuration of LibreOffice ('Use English Function names') Changing this setting has not yet an immediate effect. (I'm still working on that, which is a hard nut to crack.) The add-in function names are set at start up of calc. Change-Id: I5fffd9edb09647c1bcd0c3f35ffa6ab69ef48589 Reviewed-on: https://gerrit.libreoffice.org/6032 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-10fixed another "Out of bounds substring access"Eike Rathke1-6/+5
Introduced with 3c2a26c84e70fd996855181d319970e2230b2459 Didn't have consequences here because the result was used to check for a "startsWith" condition which it wouldn't had matched anyway. However, use the real startsWith() now. Change-Id: Ia1d558fc106d9a2010ad41c30f7eb2a2a480c59b
2013-10-10fixed !!br0ken CSV import previewEike Rathke1-3/+4
Regression introduced with 24c079605645cf29ba366ca39b7c1177da8b317f Previous String ctor accepted length > string length, whereas OUString::copy() does not. Change-Id: If51e6df4e236a59ab0302d2bb683ca8e6d148bd0
2013-10-09Fix for !HAVE_FEATURE_OPENCLTor Lillqvist1-2/+8
Change-Id: I98cc2819e5de88cdce235735518b64193610fdc6
2013-10-09ENABLE_OPENCL should be TRUE or emptyTor Lillqvist1-1/+1
Should make the Android tinderboxes happy. Change-Id: Idf33106514a1d0e34566d76d97d689e7543eda3c
2013-10-08CID#1038507 calm coverity nerves about a double freeCaolán McNamara1-1/+6
Change-Id: Idc1c8e93ecdf7b2992bf08d54f2f63d337bea7eb
2013-10-08breakKohei Yoshida1-0/+1
Change-Id: I7638de1d9993cf6f98e7f46cc934ec891c1d4553
2013-10-08No more getIdentifier*() calls because they are not efficient.Kohei Yoshida8-113/+61
They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08Support for passing non-double formula results from group interpreter.Kohei Yoshida7-3/+49
Change-Id: I1cbe6b32d8a9b86a575e9806802f7a2a45eee873
2013-10-08Add VLOOKUP to the list of functions we support for group calculation.Kohei Yoshida1-0/+1
Change-Id: I2a440b881af14076928e97918bdc5508804ff0ee