summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-05-09fdo#77056: Treat empty cells as if they have a value of 0.0.Kohei Yoshida
Change-Id: Ibe64cf7177a5298c1878e0014c049dc9c82b1344
2014-05-09fdo#77056: Modify existing test to cover the reported scenario.Kohei Yoshida
Change-Id: I6d0fe13e6756d8b6c3e7ac9ffba828e3f9c2a7b5
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold
I had to fix some source files because of macro redefinitions and such stuff. Small modules like basic have a great win, too: make basic.clean && time make basic: with w/o pch pch accessibility 23s 1m59s basctl 30s 1m42s basic 56s 1m35s comphelper 23s 51s editeng 48s 2m04s forms 40s 1m40s unotools 19s 38s sd 3m37s 4m33s Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f Reviewed-on: https://gerrit.libreoffice.org/9293 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-09fdo#77379: Don't return from the call. Notes are handled at the end.Kohei Yoshida
Returning prematurely would end up skipping pasting of notes. Change-Id: I79e0968023342a68fe729f31eb6cfc3cfacd5850
2014-05-09fdo#77379: Write test for this.Kohei Yoshida
Change-Id: Iccc0b499abae90f5b780aebab17ff6315b5690ec
2014-05-09Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8Julien Nabet
Change-Id: I6d15c7869e94b8b6d92b0a4c65bbc5866a657889
2014-05-09fdo#77806: Check the boundaries before accessing an array....Kohei Yoshida
Change-Id: I0878f734599f566cde83183947cd7613c0f8d5c6
2014-05-09fdo#77806: Write test for this.Kohei Yoshida
Change-Id: Ic05b6fec2bfc89688cb1670a163f27caccc7f213
2014-05-09coverity#1209709 Dereference null return valueCaolán McNamara
Change-Id: Ic5cf8a5f52a7219f32ec2ce9259e5aa0153da9bb
2014-05-09Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I6542885b0de6dad0244726f1ee8bf9cdc851e746
2014-05-09Start with the mode lineTakeshi Abe
Change-Id: I0156daaa12cfe147df26be061bc037d291d4f0c6
2014-05-09callcatcher: update unused codeCaolán McNamara
Change-Id: I954a5dd88cb9ae9a2a36509507385e68b88f8cd5
2014-05-09resolve fdo#77509 memory corruption / crash in ConsolidateEike Rathke
Regression introduced with c81dec478ab0618f2acd2580654a93d3a7185444 memcpy some sizeof(OUString) is doomed to fail. Change-Id: I81dc9cc7eaf02607ed05b4d284a7e5e462eeeb0a
2014-05-08Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part7Julien Nabet
Change-Id: I88c8bf8c52d18e07fb8c96b2c4ecb4548740b311
2014-05-08typosThomas Arnhold
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08coverity#735474 Logically dead codeCaolán McNamara
Change-Id: I63ccafff98feb998e7632801ec8c7161f50c7991
2014-05-08typo fixesAndras Timar
Change-Id: Ibd4f9821c62a76b76d9d811e0f7e61cf4c3df6ee
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08Translate German comments, fix some wsPhilipp Weissenbacher
Change-Id: I73867affd44a9c252f6892fb36ae5a25289d4d10 Reviewed-on: https://gerrit.libreoffice.org/9263 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-08fix another crash on exitMarkus Mohrhard
Change-Id: I580d17b16760516b73ac9f882fd8f9707ce6337b
2014-05-08don't put the parent window as child into itselfMarkus Mohrhard
Change-Id: I961b92d47c35d63fa852bab2b478b93314e9add7
2014-05-08Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part5Julien Nabet
Change-Id: Iea68803e0889288d6d7f21e61e731284f0ad1011
2014-05-07Need vclopengl nowTor Lillqvist
Change-Id: I6f0aca371212fc51eefa29e526ccb646bdac70c3
2014-05-07fix crash on exitMarkus Mohrhard
Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61
2014-05-07fix crash when canceling the chart wizardMarkus Mohrhard
Change-Id: Iebd9db279e9db22bc273509cf480737d7c7a1dd6
2014-05-07let us use the new OpenGLWindowMarkus Mohrhard
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-05-07provide the OpenGL windowMarkus Mohrhard
This approach looks much better. We get size and position correct without much work and can easily plug the window into the sc window hierarchy. We still have a crash on exit as the ScGridWindow goes out of scope and the SystemChildWindow is still alive. We need to fix it and bind the lifecycle of the SystemChildWindow to ScGridWindow. Another open item is the OpenGL context work. Right now it looks like the best way forward is to create a subclass of SystemChildWindow that contains the OpenGLContext. Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2
2014-05-08Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Idf1460e5207e0797390593535f2b2c080609a77b
2014-05-07remove uncompiled source filesThomas Arnhold
Maybe this can be completely replaced by SfxEnumItem Change-Id: I049dcd3e5a03f859f8b1dddad801db4ca772ef6a
2014-05-07fdo#77944: No need to store updated formulas in undo document when moving.Kohei Yoshida
This causes crash with dbgutil build, and I'm sure would cause issues with the release build as well. We now use broadcasting to handle reference update during undo of block move, so this old way of handling undo for block move is redundant and obviously causes issues. Change-Id: I9dcbb9d9e3808da3f8510eab16ad21b626f881d9
2014-05-07Drop unused #includeTakeshi Abe
Change-Id: If2ec3ba8fb6b5affa7e20b4586a60852e2b818df
2014-05-06fdo#77990: Write test for this, using the 2nd test document submitted.Kohei Yoshida
Change-Id: I70d71bb21ff43aeb49339ff1f1d9e73c923e0201
2014-05-06fdo#77990: Intern strings for hybrid strings during import.Kohei Yoshida
Change-Id: I269497cac645e486ac08bb2b011df1b5b23dc021
2014-05-06Let's make this non-inline...Kohei Yoshida
Change-Id: Ib427cea392c953e6bce121bfe82e9215eb1bb99a
2014-05-06fdo#77647: Fix the column insertion use case.Kohei Yoshida
Change-Id: I7c78f54c9386eced16113e69e625d23ed4acedd7
2014-05-06fdo#77647: Test for reference adjustment on column insertion.Kohei Yoshida
Change-Id: Ic95ff3892efbfc003ae9976b4fba4129de11bbef
2014-05-06fdo#77944: Put updated formula cells into undo document.Kohei Yoshida
Change-Id: Ib9d6a73d485878bfe6c2a1875936025eb4d0a30a
2014-05-06fdo#77944: Write test for this.Kohei Yoshida
Change-Id: I0dae7533121d5501b35c289bd48ef8d139e37d3e
2014-05-06remove uncompiled source filesThomas Arnhold
how to find possible candidates: find . -name *.cxx | grep -v compilerplugins > cxx.list for i in `cat cxx.list`; do basename $i .cxx; done > cxx.base.list for i in `cat cxx.base.list | sort -u`; do echo $(git grep -w $i -- '*.mk' | wc -l) $i; done > cxx.count Change-Id: I15c6cc7195e58d79967388850a0c90b915b001b7
2014-05-06simplify ternary conditions "xxx ? true : yyy"Noel Grandin
Look for code like: xxx ? true : yyy; Which can be simplified to: xxx || yyy Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d
2014-05-06fix typoMarkus Mohrhard
Change-Id: Ic54d87505ac628abfec6942403a066cdb3e02a01
2014-05-06consistent percent sign in commentsThomas Arnhold
Change-Id: I9906b4e58fd8672e51f6aa2e56ec68bb28772500
2014-05-06Related: #i56998# english doesn't put a space between numbers and percentThomas Arnhold
Also put a missing space before MAX Change-Id: Ie2def48ec66d4de91bd16c39ed821c4028b6d1c6
2014-05-05fdo#78054: Initialize drawing layer when the document contains notes.Kohei Yoshida
Don't be fooled even when the document doesn't have a drawing layer initialized. Sometimes a note creates caption on demand later, but if the drawing layer isn't there the caption will not get created, which ultimately causes this crash. Change-Id: I37f4902fa84de91c9f793dc352127d9345a725e3
2014-05-05remove some commented out lines from src filesThomas Arnhold
Change-Id: If872737d2a7db5d9053a256f7e3d57007c24230e
2014-05-05resolved fdo#78294 default null-date for document import is 1899-12-30Eike Rathke
Change-Id: I9dfe76d422ad732a081442b95a995d8d395a098e
2014-05-06Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I8914e0dc253c636a1393672f7a20bcb5d39d4276
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-04sc: Fix bunch of testsMaxim Monastirsky
Change-Id: I7ea90d4be037d9935ef23822512f48b100a446a2