summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-04-22tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls
Removes "virtualdbtools" and its implementation under "simpledbt", which are mostly wrappers around various dbtools functions and classes, previously aiding the now removed dynamic loading logic. Removes IDataAccessTools, IDataAccessTypeConversion and IDataAccessToolsFactory interfaces and their accompanying implementations which are completely unused. Removes IDataAccessCharSet (implemented by ODataAccessCharSet) and moves the implementation into a function which replaces ODataAccessCharsetHelper. Removes ISQLParseNode and ISQLParser and their implementation in OSimpleParseNode and OSimpleSQLParser, which simply wrap around OSQLParseNode and OSQLParser respectively. To avoid including "sqlbison.hxx" unnecessarily, includes to "sqlbison.hxx" are now only used where needed. Change-Id: Id882dfbf43514d84a1eaffc1f916d627830c8cd6 Reviewed-on: https://gerrit.libreoffice.org/15450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-21TableRef: relative sheet reference if table is on same sheetEike Rathke
Change-Id: I823b3495938d29242dabf88fc262f9d7d720434a
2015-04-21sc: -Werror=unused-variableMichael Stahl
Change-Id: Ia680b441a418a02148b9a2f27a38691f7c28c173
2015-04-21Get rid of trivial comphelper::in-/decrement wrappersStephan Bergmann
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
2015-04-20Resolves tdf#83366 Copy and Paste crashes Calc when original doc closedHenry Castro
Change-Id: I5ab279a7d7af6829735b47ef5228f56dc77580c9 Reviewed-on: https://gerrit.libreoffice.org/15292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-20only convert in svMatrix, not in external references, tdf#88547 follow-upEike Rathke
Change-Id: I7bc03f7ff3ec57317e7fbad4476874bac6c44877
2015-04-20clarify that only text in arrays is to be converted, tdf#88547 follow-upEike Rathke
Change-Id: I7cebaf1a2907f4beb10e128ea5d479df45c1e1c5
2015-04-20error handling per element and propagate, tdf#88547 follow-upEike Rathke
Change-Id: Ic7171f3b0c0931e476d8419257b33c760c6283a6
2015-04-20take different paths for performance if bAllowText, tdf#88547 follow-upEike Rathke
Change-Id: I93cd943f9b26e6e4bdc7c616e9fc7a46d07a9d91
2015-04-20tdf#88547 allow inline date-arrays for Calc array functionsWinfried Donkers
only allow for Calc functions NETWORKDAYS.INTL, WORKDAY.INTL for compatibilty with Excel Change-Id: Ic695fbb0c35fe3cac3857abe2d40fe2d71870e99 Reviewed-on: https://gerrit.libreoffice.org/14839 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-20java: remove some unused codeNoel Grandin
Change-Id: If1cdc67535b11d9309503b14ffad2aa3718661c6
2015-04-20convert SEARCH_OPTIONS constants to scoped enumNoel Grandin
Change-Id: Id0f0c7d692410cf5e1477c5180e7cfb8e7b0f52b Reviewed-on: https://gerrit.libreoffice.org/15345 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-18fix 500+ new assert failures on exportCaolán McNamara
soffice.bin: svl/source/config/languageoptions.cxx:167: static SvtScriptType SvtLanguageOptions::FromI18NToSvtScriptType(sal_Int16): Assertion `false && nI18NType && "Unknown i18n::ScriptType"' failed. assert is new since... commit a7b7c64afc523cfd9ff4e724b3efbec6567fc1c8 Author: Noel Grandin <noel@peralex.com> Date: Wed Apr 15 09:36:39 2015 +0200 convert SCRIPTTYPE_ constants to scoped enum this fix seems sane. Change-Id: Ic308bd34ac4ac76dd9e679f4387eb3ccea7a46c1
2015-04-18TableRef: set 3D flag if table is on different sheetEike Rathke
Change-Id: I1a25d603333b78dc89534e45fa23f99c18bd0ee6
2015-04-18TableRef: transform to reference if not supported, i.e. for ODFFEike Rathke
Change-Id: I64f751455fbba901bb41f91daaf64ee4878a19b4
2015-04-18const all CreateString... FormulaToken*Eike Rathke
Change-Id: I0e0f064357543e5dc86b178ce30ee005e5483e04
2015-04-18TableRef: scan any column specifierEike Rathke
Change-Id: I9eb51741d8c5ace52cff70b1954ebde678e6b338
2015-04-18TableRef: activate for OOXML importEike Rathke
Change-Id: I7ebe365c81af5ee9ea70b2efad8908b360a51a7c
2015-04-17add attribute mandated by ODFMarkus Mohrhard
Make sure that it does not confuse our importer by adding an attibute to ignore it when the new elements have been added. Change-Id: I15991be9dd993e2aeb18c440a14de3711f8001f4
2015-04-17simplify codeStephan Bergmann
Change-Id: I07e0b1689225a78db92bd7338291a128d671c0ab
2015-04-17TableRef: handle unresolved column specifiersEike Rathke
Change-Id: I8b4fa10da0a39df941f92b8bb074b9031f81fb8e
2015-04-17loplugin:implicitboolconversion clean-upStephan Bergmann
Change-Id: I165f9cff6c0e942213dddf3b5841c4bb22017330
2015-04-17SvStream: WriteUChar -> WriteBoolStephan Bergmann
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
2015-04-17Clean up conversions from ScBreakType (aka sal_uInt8) to boolStephan Bergmann
...assuming these shall indeed all convert everything but BREAK_NONE to true? Change-Id: Ib1c863bfbf9be58aa7867aa69c8347f6358f6550
2015-04-17fix for fdo#70886Noel Power
detective shape thingies set an anchor (with an invalid start address) no idea why, it seems intentional (for the case where the dependant stuff is on another tab) This screws up the alignment for zoom logic Change-Id: I0f2356da69caf705003e81c4f8020c466e031d69 Signed-off-by: Noel Power <noel.power@suse.com>
2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-17TableRef: use relative references where appropriateEike Rathke
Change-Id: I1c680186271f20b6c01c06dbcc642bc1cf90865a
2015-04-17TableRef: differentiate between cell and range referenceEike Rathke
Change-Id: I1243f8407e8301e0e4662b8839ab53d29dcfe5ed
2015-04-17TableRef: use errNoRef error token instead of setting compiler errorEike Rathke
So the ScTableRefToken always holds some RPN "reference". Change-Id: I69aa485b9b85286a3b272617781bb07198ea52c8
2015-04-17TableRef: add the resulting area to ScTableRefTokenEike Rathke
Change-Id: I142c0c39ab4bb3c1d099cba42491cc9928ab300c
2015-04-17TableRef: prepare ScTableRefToken to hold the resulting area in RPNEike Rathke
Change-Id: Iaf76cf298dd2f9f9b8d9fb56ecb9e7b29fdc6ca1
2015-04-17this confuses me here, move it elsewhereEike Rathke
Change-Id: Id1b53f7f05305f25ac0b78d3d6c7dbe0fdf52bba
2015-04-16Replace "sc design mode" sal_uInt8 with TriStateStephan Bergmann
...used values were 0, 1, and SC_FORCEMODE_NONE = 0xff Change-Id: Id6303b77a11d22c3d19cb22c3b5838cc7cec624f
2015-04-16coverity#1294409 Dereference after null checkCaolán McNamara
pDoc isn't null here Change-Id: Icf705f2bc67cb08a1920aea5965eb6f0e4786ada
2015-04-16Revert "make more classes dllpublic"David Tardon
This reverts commit add2ca7b3ab10ed9d18e60d8e50020168d922836. It causes too much breakage on windows. It is better to start again from scratch.
2015-04-16fix windows build, part 4David Tardon
error C2487: member of dll interface class may not be declared with dll interface Change-Id: I467670d483112ddbe8e608a7884a9c4e168e470d
2015-04-16fix windows buildDavid Tardon
error C2487: member of dll interface class may not be declared with dll interface Change-Id: I00d2a30490ab3ae5fa574e398fb6327089b8e770
2015-04-16make more classes dllpublicDavid Tardon
... to fix asan+ubsan+dbgutil build Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed
2015-04-16add test for tdf#90511Markus Mohrhard
Change-Id: Id4f338d8f19b796be10f035df0bdf28076f6511e
2015-04-16export and fix pretty printers for calc unit testsMarkus Mohrhard
Change-Id: Ifa5d097e3c09fa0c96339b4eb6fd2be81516856d
2015-04-16fix werror problem around sal_uInt32 vs sal_Int32Markus Mohrhard
Change-Id: Ifab0f5ad300882b1a014f6420094e5db503105e3
2015-04-16support tint for databar and colorscale colors, related tdf#90511Markus Mohrhard
Change-Id: I59b00ab856583ed08f70c9c90469bbb44cb5782a
2015-04-16same problem for color scales, related tdf#90511Markus Mohrhard
Change-Id: I980f42ff902da4f919a59d74b5a2834f5e601817
2015-04-15tdf#89957 prevent crash, not really fixedEike Rathke
See source code comment. Change-Id: I3ab7ab6aec1d782de0733064fea031c895f28965
2015-04-15more SAL_INFO sc.core.grouparealistenerEike Rathke
Change-Id: Ia3c75e626edee3ad28ad5b7eb80f729ae8aaa83f
2015-04-15use index as real index and not token, tdf#90511Markus Mohrhard
At least in calc a theme index is a zero based index into the clrScheme. A map is unsiutable for that task so let us use a vector and still allow to get them by their tokens. Change-Id: I09d56acaf22c3ed16387aae95c36382302c5a17e
2015-04-15don't crash on export of fdo60087-2.xlsx to xlsCaolán McNamara
Change-Id: I888828bc88deea16c46895d29f25526bd3c44ce7
2015-04-15convert LOCKFILE_ constants to scoped enum and cleanupNoel Grandin
Change-Id: I9a2339cc953a718403b3cd0960d5d8d34abae455 Reviewed-on: https://gerrit.libreoffice.org/15304 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_ITEM constants to scoped enumNoel Grandin
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e Reviewed-on: https://gerrit.libreoffice.org/15302 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_VIEW constants to scoped enumNoel Grandin
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>