summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
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
2013-10-08Turns out we are not using OpenCL here in the existing interpreter.Kohei Yoshida1-49/+3
Change-Id: I4d511ef8099b5d7fcff07adf401901c9ee089ad3
2013-10-08Let's not do this.Kohei Yoshida3-6/+2
Change-Id: I93fe9f8c5edbfb08b78b6694771db2dd18d8868c
2013-10-08Handle edit text cells here as well as the string cells.Kohei Yoshida1-7/+31
Change-Id: I46934341dbde93d963764152f663c4d2d310bea0
2013-10-08Get the string ID's for case insensitive comparisons.Kohei Yoshida1-7/+7
If we ever need to use this for case sensitive comparisons, we'll have to find a way to conditionalize it. Change-Id: Ibb862c4700d2fb660570fc80a80a03eed1d556c3
2013-10-08Rename GetCellStringPool() to GetSharedStringPool().Kohei Yoshida13-30/+30
Change-Id: I99d373f7887424bb103cff60d53f5cd8ce337ef7
2013-10-08Use the document's string pool rather than a separate one for the formula.Kohei Yoshida2-7/+6
Change-Id: Id13bca1ed493328fb0b8a664275af8c98e3f46c8
2013-10-08Unused methods.Kohei Yoshida6-42/+0
Change-Id: I8e70d2c730f0d8fa43a4270fddeca431bd7a5048
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida48-188/+285
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-10-08Re-implement interning in order to return both string arrays.Kohei Yoshida3-7/+7
One is for the cased string and the other one for the non-cased one. Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
2013-10-08Slight optimization when copying OUString.Kohei Yoshida1-4/+4
Change-Id: If934e18c0fd68d89d838ca9717aa2e4616bc3b6a
2013-10-08CID#1079199 uninitialized memberCaolán McNamara1-2/+2
and CID#1079200 Change-Id: Icf00324c0a1fa669c17d41be83abcd5bacd398ca
2013-10-08can drop casts nowCaolán McNamara1-4/+4
Change-Id: If54ee50dd3d3d856257882c40e4424bbbe3eac45
2013-10-08just copy everything remainingCaolán McNamara1-1/+1
Change-Id: I32a7b82eae664a60bf4bc73cb2645d3132ddaa81
2013-10-08drop intermediate stringsCaolán McNamara1-5/+1
Change-Id: I603031739aef12393084b14a51aa2a61311e5709
2013-10-08make sure length is within boundsCaolán McNamara1-1/+2
Change-Id: I86819211de809a57c240778a747ddad175137a9b
2013-10-08Fix leftover typo from String conversionStephan Bergmann1-1/+1
Change-Id: Ib50e3c827ef99b4f534e39f55cfd8c450c5ddd9c
2013-10-08-Werror,-Wunused-variableStephan Bergmann1-1/+0
Change-Id: I50b99a129f6a102be7120da318533cbbdd0af105
2013-10-08convert sc/source/core/data/*.cxx from String to OUStringNoel Grandin19-137/+134
and fix a bug in ScDPCache::ValidQuery where an inner loop was re-using an outer loop counter. Change-Id: Ie750234a079646bdb7174983814d8d9caf52f491
2013-10-08convert sc/source/core/tool/*.cxx from String to OUStringNoel Grandin21-225/+213
Change-Id: Iaefd1108c4bbb953b711b3e87ab24c733035274c
2013-10-08convert sc/source/filter/excel/*.cxx from String to OUStringNoel Grandin31-313/+312
Change-Id: Icbfb7a601a01bf8fb2a30cb49a1522a25e6022f1
2013-10-08convert sc/source/filter/ftools/*.cxx from String to OUStringNoel Grandin2-12/+12
Change-Id: I9bd526369a7840a430f014f23dc60d8dad671e2b
2013-10-08convert sc/source/filter/html/*.cxx from String to OUStringNoel Grandin3-36/+36
Change-Id: I7bbad36c0a8b616929794ebd3522a645fcbdc8d5