summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: I4c4be0b7eb8957e454ec5fc494cf5f6e29d1dbeb
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: Ia073fff962e53b10a6c65c4898ba2883fa78dbbc
2014-05-24make sure that OpenGL charts are rendered after importMarkus Mohrhard
Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
2014-05-23fdo#76824: Proper way to parse cell address strings.Kohei Yoshida
Be aware of the variable address convention. Change-Id: I37ca38758f055e7799cadefafda61174ea3cbf9c
2014-05-23WaE: private field 'mnId' is not usedTor Lillqvist
Change-Id: I406ebb303b1f36f827c3cbf33f8f4cf3dcaed2f1
2014-05-23we need to map 100th mm to pixel also for the importMarkus Mohrhard
Change-Id: I09084d67283b10e024ed926dc0e8d38030d28713
2014-05-23fdo#79011: Properly implement the search results dialog as modeless.Kohei Yoshida
It's unfortunate that adding a modeless dialog is such a pain. But we still need to implemenet this properly else we'll leak at best, or end up with tons of weird bugs at worst. Change-Id: Ie03260f288fad76f994d0ca6a8b1feeade299ffd
2014-05-23coverity#1187682 Dereference null return valueCaolán McNamara
Change-Id: I52740129dc7c6c8d6f47850cf32702ead4643e63
2014-05-23coverity#708104 Uninitialized scalar fieldCaolán McNamara
Change-Id: I3b35046fd10a779b3a0f6efeadf0ea7f4d3132da
2014-05-23coverity#708018 Uninitialized pointer fieldCaolán McNamara
Change-Id: Iea2f47a8a65447ebe9d25cfa1f4704426872c093
2014-05-23coverity#707994 Uninitialized scalar fieldCaolán McNamara
Change-Id: I295cbb23529f614c35f39c756c555dd9eabe8623
2014-05-23coverity#1215280 Unchecked dynamic_castCaolán McNamara
Change-Id: Ie03bb8a870c544eef656594f5ebab35bc61b9030
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23Remove dead codeStephan Bergmann
Change-Id: I198fb0193fed891c4dd8a8a92c29e36f6c4d48b9
2014-05-22fdo#78903: Don't broadcast prematurely during cell deletion.Kohei Yoshida
We need to wait until all the affected cells get marked dirty at the end of the deletion process. Change-Id: I49618fcc386ec2209f5f0267d50257ecb8dd21d1
2014-05-22cp#1000077: Set 'modified' document property more consistently.Matúš Kukan
Update document info at one place, so that it works for other formats like .doc, .docx, ... too. Change-Id: If71799b491d2210f0d3bdbdb05f91f26c986a260
2014-05-21Label t-test and F-test for their respective dialogs.Kohei Yoshida
Change-Id: I8afab424c051453005432c5291af49eb208dd22c
2014-05-21Modify these stats dialogs to have OK and Cancel pair.Kohei Yoshida
Change-Id: I5707aea9965e0d288d4a0e742f5d3cccf08107eb
2014-05-21Keep only "Apply" and "Close".Kohei Yoshida
Change-Id: I963419baec24d7599ddb3e481738cbe6ec4e0a69
2014-05-21WaE: overriding virtual function declaration not marked 'SAL_OVERRIDE'Tor Lillqvist
Change-Id: I9251488743ec3801367600455ef9a22ad876d2d3
2014-05-21Avoid unnecessary cloning of ScRawToken during token check.Kohei Yoshida
Change-Id: Ia980054437394ef48f7df655411f81d20b9cfa32
2014-05-21cp#1000072: Skip styles import for external link cache documents.Kohei Yoshida
This reduces external link update time by 10%. Change-Id: Ic14d9ea7530818f839330a2004f6aa67ef1e831e
2014-05-21Finer grained ODS import mode selection.Kohei Yoshida
Change-Id: I18520837f8d25103bf8482a0204b8a7b7740feb1
2014-05-21Let's use constant uno name for these.Kohei Yoshida
Change-Id: I5e34f4d7561ef7f4f7b8b3b4d7d06cca072831c7
2014-05-21Let's not use ScDocument as a convenient "anything goes" storage place.Kohei Yoshida
Change-Id: I0ae2f44b89b0db915e78a9b07835000e843d016f
2014-05-21Turn the mouse cursor to the "wait hand" during the external link update.Kohei Yoshida
Change-Id: I983127828b28c72dd12d4778b88051964e9bceaa
2014-05-21cp#1000072: Populate cache tables when updating all external links.Kohei Yoshida
This way, even after the loaded doc shells get purged due to timeout, we won't reload those external documents from disk again. One caveat is that we currently don't pre-populate empty cells even if they are referenced by the host document. Change-Id: I1de2987836bf2fc5d9d7044b406fb99faa534164
2014-05-21Localize this string.Kohei Yoshida
Change-Id: I88b205d36eede5e63af46f8581896d980b6aa27d
2014-05-21cp#1000072: Purge one document shell at a time, to avoid freeze.Kohei Yoshida
Import especially when we have a whole bunch of large-ish documents open in the background. Change-Id: I614e6daab3481c09dae47c8407497d77aec40480
2014-05-21cp#1000072: Stop the external doc shell timer while mass-updating.Kohei Yoshida
To prevent collision with the timer wanting to purge the doc cache while updating external links. Also, show progress bar, and make the timer interval and the document cache life span longer. Change-Id: I325984c8fa68425a2621cf8f9c016463291afc89
2014-05-21cp#1000072: Load external documents when refreshing caches.Kohei Yoshida
Rather than just clearing the existing caches and loading the external documents on demand as the formula cells gets re-calculated. This has two advantages: 1) when the loading itself fails, we can keep the existing cache rather than turning all affected cells to error cells, and 2) this prevents on-demand loading after the external linkes get refreshed, which can make scrolling very slow & painful. Change-Id: Ie8243f6f94c5e477964413ab83f6b4b746fe3220
2014-05-21ODS load perf: 7% of the time re-creating sheet name strings.Michael Meeks
No need to create cached versions of stringified sheet tokens for a given grammar at great for every formula that we compile; defer until use. Is this a large cost on save ? Change-Id: I8058ed564dbdc00ff45c02cb483c1a20a48af272
2014-05-21ODS load perf: transfer ownership of the ScTokenArray to save cycles.Michael Meeks
Add API to wnsure we don't end up allocating 32k bytes of tokens for each ScFormulaToken, as happens when you Add a token to a new empty ScTokenArray. Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
2014-05-21ODS load perf: avoid excessive calls to uppercase to compare tab names.Michael Meeks
Change-Id: I37b9e49607c8c51f10bc8ff8fc342b02fdb8b7e1
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20Following fdo#78838, let's make this part safe tooJulien Nabet
(Thank you Eike) Change-Id: Icc7061c7f7296302d6ed21f0e74a48cbaa82011a
2014-05-20kill some old 16 bit column indicesMarkus Mohrhard
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
2014-05-20simplify and ensure valid miAutoPosColumn in all cases, fdo#78838 relatedEike Rathke
Unconditionally set miAutoPosColumn at the end of all operations so it is also valid in case of pColumnData->clear() and no entries inserted after pDoc->GetDataEntries(). Change-Id: I689632f696091fd9ce8e93c06d7918e5eaf05ab4
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20Resolves: fdo#78838 past-the-end iteratorJulien Nabet
Inserting data in pColumnData invalidated miAutoPosColumn See https://bugs.freedesktop.org/show_bug.cgi?id=78838#c6 Change-Id: Iece423cd8d14f5ae7bf382583c0369895a00f168
2014-05-19Register OpenGL windows to ScGridWindow upon file load.Kohei Yoshida
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19ODS load perf: don't allocate temporary strings un-necessarilyMichael Meeks
Of the 53bn cycles consumed loading a large test; this saves up to 30bn parsing tab names, plus ~1bn not copying strings to convert to integers. Change-Id: Ie768ff8c2159dec62418088e643fe468e4cd5d70
2014-05-19WaE: unused variable 'tmpCur'Tor Lillqvist
Change-Id: I328812513691f499871002633b9ac750af86243c
2014-05-19GPU Calc:Fixed compiling warning in opbase.cxx&op_math.cxxhaochen
Change-Id: I885bf77a85f7f479a8a9632e64af306be243cdd0
2014-05-19GPU Calc: Fix bughaochen
For arraybound of slidingwindows parameters in COVAR formula Change-Id: I17a601edfbc720d4e3e40fc31bf6efd73b4ac65b
2014-05-19GPU Calc: Fix bughaochen
For arraybound of slidingwindows parameters in Intercept formula Change-Id: I6c96073e859ef7550033e9a46e6cafb11e8bfe0a
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 5849-9461)haochen
Change-Id: I85f7bdeb153a8bcee0fe9678db93bc43cf2bc659
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 4037-5849)haochen
Change-Id: I5a24bcc91f8c19472aab529e82648d06d13e46d9
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 1-4037)haochen
Change-Id: I97f55bffd1e61bc9d3f7f85ab857f82df5475dc4