summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-04-16add missing test fileMarkus Mohrhard
Change-Id: I92c879c4efc84115556801fc9a3095ef6b876348
2016-04-15tdf#97499 Fixed containers parameters clearing #5tymyjan
Change-Id: If9868734b255605f2376c30e66ca144e6fd8b803 Reviewed-on: https://gerrit.libreoffice.org/24034 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-15add test for tdf#88849Markus Mohrhard
Change-Id: Id72d94799e20f0b290d5d5b05fb2b351d0750178
2016-04-15fix calc perfcheck buildMarkus Mohrhard
Change-Id: Ied1ca0c9c3e2c7cd34c4d21e27a95df21ab80bf9
2016-04-15add test for tdf#72240Markus Mohrhard
Change-Id: Ia27b84094e21758286422921e2bd017f9874dc06 Reviewed-on: https://gerrit.libreoffice.org/24104 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-15fix InsertTab and DeleteTab in ScMarkData, tdf#72240Markus Mohrhard
Change-Id: Id3168e4cac6c52b36833b454518cce55b51e36b4 Reviewed-on: https://gerrit.libreoffice.org/24103 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-15add CVE-2016-0122 testCaolán McNamara
Change-Id: I065f6d7c62ffa604fc5cc3e522c991068652c8bb
2016-04-15typo: Aggegration -> AggregationAndras Timar
Change-Id: Ica0bef9d0ac4a5d6a2c01a1f5abf859817713f85
2016-04-14-Werror=logical-op (GCC 6)Stephan Bergmann
"logical ‘or’ of equal expressions", as RTL_TEXTENCODING_DONTKNOW is defined to be zero Change-Id: I1df1579734a3b9b5ecce5a072916cd57dbcd1458
2016-04-14loplugin:passstuffbyref in scNoel Grandin
Change-Id: I75c483972db787ea9c941eaac0df023f1929b09c
2016-04-14no need to call rowHidden and rowFiltered repeatedly, tdf#90659Markus Mohrhard
Change-Id: Ie104a0d6c2ee0a88363fb461762e2bcca00976dd Reviewed-on: https://gerrit.libreoffice.org/24052 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-13Missing spacing in Show Detail dialogAdolfo Jayme Barrientos
Change-Id: I70ba6ec821d0d82b8c73810d7d3cf3acd0bad0f7
2016-04-13tdf#94306 remove unused boost dependenciesJochen Nitschke
remove <boost/noncopyable.hpp> in pch and remove boost from makefile if it was the only boost entry. Change-Id: Icb945ae59c137571f4f63807601738eea5c3e831 Reviewed-on: https://gerrit.libreoffice.org/24061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-13tdf#96996 sc: fix the data pilotMichael Stahl
ScDPSaveData::GetInnermostDimension() should iterate in reverse (that fixes the reported bug), and ScDataPilotFieldObj::setOrientation() loop needs an early exit. (regression from 37856f59d2351951b95cf5eb3a5e4f0c011a8762) Change-Id: I7e0309385f3444bfd3ad21268cce4d25e60d7b05
2016-04-13tdf#97087 Give comprehensible names to timersMuhammet Kara
Timers and idles should have programmer comprehensible, unique names Change-Id: I837d1890c687936f8a31278c0102391e6f87212d Reviewed-on: https://gerrit.libreoffice.org/23917 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-13Fix non-OpenCL buildsStephan Bergmann
...after ec53ac63e342d9d00e1aed4372a903630b6a191b "Move clew/clew.h into external, too" Change-Id: I33e9f839f9bcc86f009b90ed9579e61197657e1b
2016-04-13Stop assigning null to intrusive_ptrTakeshi Abe
which added at f6d61562d41b8a49449d881da66a3d8fa519487f. But they seems unnecessay because, even without them, soon the intrusive_ptr goes out of scope then its dtor decrements refcount. Change-Id: I6e35ecb7d5a0b5ccaef6ea9b7507300dcb589801 Reviewed-on: https://gerrit.libreoffice.org/24013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-12move xls export code from shared xls + xlsx part of codeMarkus Mohrhard
Change-Id: I016b8981c4399959e76fd5089ab8014b25a31bbe Reviewed-on: https://gerrit.libreoffice.org/24030 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-12Move clew/clew.h into external, tooStephan Bergmann
For consistency with what 38cd1d9a5f00dc69ba0d60e2fe6957090c7a26d1 "clew: move this foreign code to external/clew" did for clew.c. Library_scfilt depends on clew/clew.h, simply make it depend on the full clew external. Change-Id: Idcbf56a69084e108832c8970507ebea0f7ff400b Reviewed-on: https://gerrit.libreoffice.org/24035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-12Avoid reserved identifiersStephan Bergmann
Change-Id: I4d4e928f7542aee69362fdaab8015ab379327b95
2016-04-12fix crash in testMarkus Mohrhard
Change-Id: I0119575a33f28462d56fcc5aff7b3cf7f3493b84
2016-04-12fix broken testMarkus Mohrhard
Change-Id: I23b594f3e12a8f935e653356d4057f2913cc725f
2016-04-12xls does not allow 3D refs in cond format formulas, tdf#62770Markus Mohrhard
Change-Id: I4f2bf913d09452ccfed9976ccd56a82daf1c3ec8
2016-04-12conditional format formulas don't support 3d refs in xls, tdf#62770Markus Mohrhard
Change-Id: I5238a3be7bc11a33eb3b60f3950ebfb0f565e805
2016-04-12better variable names for range name case in xls formula importMarkus Mohrhard
Change-Id: Ib9de454b7445bfd4c3bb12202d53119c129a2369
2016-04-12Avoid reserved identifierStephan Bergmann
Change-Id: I3b1505e788af009a0ff4bb2502883de5bfb45617
2016-04-12Avoid reserved identifierStephan Bergmann
Change-Id: If9c507146855fa23df576d038e9b2f0e3d69ac20
2016-04-12Avoid reserved identifierStephan Bergmann
Change-Id: I8adf61a63e6e6102a44cd18652192fde0a89287a
2016-04-12lp#1566050: prevent cyclic reference zombiesBjoern Michaelsen
regression, likely from 2660d24a07866e083c5135ea263030f3e3a2e729: 1/ Since that change mxAccessible in ScCsvGrid holds a rtl::Reference on a ScAccessibleCsvGrid 2/ Which in turn holds a VclPtr<> (aka a rtl::Reference with lipstick) on the ScCsvControl These are a circular references, making both of them live forever and leak past the point where on LibreOffice close all of Vcl is long gone, when these are dtored. Clearing mxAccessible on disposing should help. Change-Id: Iebb2635ec4ea143e7f0dbfebad2e6141a68e72e8 Reviewed-on: https://gerrit.libreoffice.org/24020 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12clang-tidy performance-unnecessary-value-param in scNoel Grandin
Change-Id: Ia2255e1e3f7a8834a4b5d2a6bbab2c6dd498d356
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12clang-tidy performance-unnecessary-value-param in xmloffNoel Grandin
Change-Id: I8e6d8e66cdab2e50ee10882e139be29c14ce50f6
2016-04-11clang-tidy performance-unnecessary-value-param in formulaNoel Grandin
Change-Id: I9f90c55f74216c2f3452e5b30d85b304668330b3
2016-04-11tdf#84938 replace #defined constants with enum classJochen Nitschke
replace if constructs with switch remove temp variables tried to squeeze the enum in one of the 3 classes but it doesn't feel right anywhere. ScHeaderFooterContentObj doesn't use it, except for initialzing ScHeaderFooterTextObj. ScHeaderFooterTextData holds it but nothing more. ScHeaderFooterTextObj uses it but always has to get it via ScHeaderFooterTextData.GetPart() Change-Id: I838ebff2e116e24a1c9359d6652bf5b1d30da48a Reviewed-on: https://gerrit.libreoffice.org/23352 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-11tdf#94306 replace boost::noncopyable r.. to sdextJochen Nitschke
... in modules reportdesign to sdext Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Make some overloaded ctors explicit (most in sd slidesorter). Add deleted copy-assignment in sc/inc/chart2uno.hxx. Change-Id: I21d4209f0ddb00063ca827474516a05ab4bb2f9a Reviewed-on: https://gerrit.libreoffice.org/23970 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-11loplugin:constantparamNoel Grandin
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
2016-04-10tdf#94429, tdf#92198, tdf#95233: STYLE in conditional formattingMarkus Mohrhard
This is only a quick ugly hack and not a real fix. Basically we need to prevent either using STYLE with more than one parameter in conditional formatting functions or forbid the usage of STYLE completely. In some way the usage of STYLE in conditional formatting means that our current conditional formatting is not yet perfect. STYLE inside of a conditional format is just insane from an evaluation perspective. Change-Id: Ia1cc8c8cc8f00c8d4a055b1c2d128de3e1f8e4fa
2016-04-09coverity#738785 reorg to silence Uninitialized pointer fieldCaolán McNamara
Change-Id: If2225e77215e2a6fb6b9e9dfc6021a2c20babe50
2016-04-09add test case for tdf#96549Markus Mohrhard
Change-Id: I2df85972b92a9caf780ccacec102e6a9cdd652a6 Reviewed-on: https://gerrit.libreoffice.org/23933 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-09import all formatting properties for column style, tdf#96549Markus Mohrhard
Change-Id: I782f3ea7cfa9af335bd117b9f4ad6ac9c719115b Reviewed-on: https://gerrit.libreoffice.org/23932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-09add test case for tdf#98554Markus Mohrhard
Change-Id: I7437a1ed8dd915411f6014bc01d4224fe5604f1d
2016-04-09use the better color import method also for databars, tdf#98554Markus Mohrhard
Ideally we would move some of the magic here into the ThemeBuffer class but this requires a lot more test cases. Change-Id: I29adadda6b40cd1863ad3d68554acf7f27c57900
2016-04-09work around Excel theme color bug, tdf#98554Markus Mohrhard
Change-Id: Id0cd37b37394a0759ee6ffccafd8def719c14312
2016-04-08unit test for replacing fragments of shared formula groups, tdf#97897Eike Rathke
Change-Id: If17b0f812c33f338e7ff5af381c1ed17b9965eba
2016-04-08lok context menu: Expose context menuPranav Kant
Change-Id: I0968689630e10f838c075e86357eb36a9a220d0d
2016-04-07coverity#1358119 Uninitialized scalar fieldCaolán McNamara
arguably a false positive seeing as coverity ignores implicit default ctors but not explicit ones Change-Id: Id01f6a2728c197239563081c92275d44869b5d96
2016-04-07add test for tdf#99093Markus Mohrhard
Change-Id: Id47abea42867f418e80a40357baa5f6435ecbdd6
2016-04-07we need the position in the formula converter, tdf#99093Markus Mohrhard
Change-Id: Ic3dd13aa4d4b8190b78f3e6f1cdda844e39cc719 Reviewed-on: https://gerrit.libreoffice.org/23884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-07ScHeaderFooterTextData default ctor had been added in errorStephan Bergmann
...with be3c2ff9233e8d4c5afe9c696cb5a60b24b25efc "tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors" Change-Id: I817b96fea3056f5d9914e5d1c829d07ca9755d34
2016-04-07Resolves: tdf#97897 (re)broadcast if formula groups were splitEike Rathke
DeleteSelection() and DeleteSelectionTab() remove listeners for split formula groups, broadcast change after listeners of new groups have been established. Change-Id: I017e92b5cbc5f866768f3732e9997028c0c065fa