summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-10-15fdo#47958: gross cut/paste signal emission nonsenseJulien Nabet
Change-Id: I60b7a4c5b80410429e5489ee6517bbda8cf328dd
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-14Change sal_Bool to bool in viewfunc.cxx (Calc)Laurent Balland-Poirier
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-Poirier
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 Lillqvist
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 Abe
Change-Id: I83f645ff93f7a351053b09d55ac23e9a5656d143
2013-10-12Use SAL_PATHDELIMITERTor Lillqvist
Change-Id: I5b5346dcf5b4ab3277fea28ee73bc36dc0579105
2013-10-12Bin pointless commentsTor Lillqvist
Change-Id: I651854e653ae863577bd1f0f22ef640dd7044ebc
2013-10-12Test _WIN32 instead of UNX as it's Windows that is the special caseTor Lillqvist
Change-Id: I6252f4737dbc297525792412e006b2ed0147a0d6
2013-10-11Unused ScExternalRefCache::mrStrPoolStephan Bergmann
Change-Id: Idc9d05cae6ebee4c5f88dbe53ab182da66781582
2013-10-11-Werror,-Wunused-functionStephan Bergmann
Change-Id: I27d1bd3f4a94ba6951e5082509980f45cf48650c
2013-10-11-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ia69312b4adc11c256e57e69c0fd488eca441ce4e
2013-10-11Use OUString & a bit more fine-grained unit test error messages.Kohei Yoshida
Change-Id: I6d9ce2afd97d6011eaa93855c49f3d7071db0159
2013-10-11Spell check context can be NULL (when the live spell check is not on).Kohei Yoshida
Change-Id: I785f83b5c2c6329b7a18af9f9721c06894207ea5
2013-10-11Fix VLOOKUP calculation when the matching value is literal string.Kohei Yoshida
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 Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11GetString() from ScMatrix to return SharedString.Kohei Yoshida
And adjust all its call sites. Change-Id: Ibb0c754e8fa105bd1a6035f2e0df5cee2d8491c4
2013-10-11Properly intern strings going into matrix objects.Kohei Yoshida
Change-Id: Ieb8befa4f19ebc31f4afa1370c924b469aa77382
2013-10-11GetEditUrlOrError() is no more. Just use GetEditUrl().Kohei Yoshida
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 Yoshida
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 Yoshida
Change-Id: I3a0d999f55d89734b26ee66c16cf8cadbcbac246
2013-10-11Some cleanups to avoid unnecessary getString() calls.Kohei Yoshida
Change-Id: I334d64f7731915d27e3b81781c91e330dc446010
2013-10-11Make the same change to the orcus interface & remove unused methods.Kohei Yoshida
Change-Id: I1263026133b694e531c0a99b16d622e1ae12db48
2013-10-11Import shared formulas from xlsx without crashing.Kohei Yoshida
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 Yoshida
Change-Id: Ib84087a10cc10a7533e64c4e8998354b52017df7
2013-10-11Add isEmpty() to SharedString. This simplies a lot of its call sites.Kohei Yoshida
Change-Id: I0ebc43abe59ac317c053a4f606dbe376d85c03b0
2013-10-11Store svl::SharedString in query entry items, and adjust all call sites.Kohei Yoshida
Change-Id: Ifd3bbb84c7abbe983a017a169c7e05914ef33450
2013-10-11yes, placement of parentheses is important :-/Eike Rathke
Change-Id: I606efefada9529571e5a400da65592905200b987
2013-10-11Simplify string literal concatenationsStephan Bergmann
Change-Id: Ibf5e9ed2716f2f22beb3b68ba7569b638f35a960
2013-10-11Resolves: #i123405# Allow to not limit size to PageSize...Armin Le Grand
when creating Metafile content (cherry picked from commit c4b76f0442c452693846a4c92970ba67f26f2226) Change-Id: I8536f4d55e422ad5550c1aaa311789ad31647611
2013-10-10fdo#50118 use English add-in function namesWinfried Donkers
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 Rathke
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 Rathke
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 Lillqvist
Change-Id: I98cc2819e5de88cdce235735518b64193610fdc6
2013-10-09ENABLE_OPENCL should be TRUE or emptyTor Lillqvist
Should make the Android tinderboxes happy. Change-Id: Idf33106514a1d0e34566d76d97d689e7543eda3c
2013-10-08CID#1038507 calm coverity nerves about a double freeCaolán McNamara
Change-Id: Idc1c8e93ecdf7b2992bf08d54f2f63d337bea7eb
2013-10-08breakKohei Yoshida
Change-Id: I7638de1d9993cf6f98e7f46cc934ec891c1d4553
2013-10-08No more getIdentifier*() calls because they are not efficient.Kohei Yoshida
They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08Support for passing non-double formula results from group interpreter.Kohei Yoshida
Change-Id: I1cbe6b32d8a9b86a575e9806802f7a2a45eee873
2013-10-08Add VLOOKUP to the list of functions we support for group calculation.Kohei Yoshida
Change-Id: I2a440b881af14076928e97918bdc5508804ff0ee
2013-10-08Turns out we are not using OpenCL here in the existing interpreter.Kohei Yoshida
Change-Id: I4d511ef8099b5d7fcff07adf401901c9ee089ad3
2013-10-08Let's not do this.Kohei Yoshida
Change-Id: I93fe9f8c5edbfb08b78b6694771db2dd18d8868c
2013-10-08Handle edit text cells here as well as the string cells.Kohei Yoshida
Change-Id: I46934341dbde93d963764152f663c4d2d310bea0
2013-10-08Get the string ID's for case insensitive comparisons.Kohei Yoshida
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 Yoshida
Change-Id: I99d373f7887424bb103cff60d53f5cd8ce337ef7
2013-10-08Use the document's string pool rather than a separate one for the formula.Kohei Yoshida
Change-Id: Id13bca1ed493328fb0b8a664275af8c98e3f46c8
2013-10-08Unused methods.Kohei Yoshida
Change-Id: I8e70d2c730f0d8fa43a4270fddeca431bd7a5048
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida
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 Yoshida
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 Yoshida
Change-Id: If934e18c0fd68d89d838ca9717aa2e4616bc3b6a