summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2015-10-12loplugin:mergeclassesNoel Grandin
Change-Id: Icd01de71fe87e0bf17eba39f5b00fc9a46765509
2015-10-10also update line panel for axis, related tdf#94933Markus Mohrhard
Change-Id: Ie280fa01dbe25287d01b7f36d152ee55ce5dbe07
2015-10-10also update line panel for average and trend line, tdf#94933Markus Mohrhard
Change-Id: I7ab991e94005665809ec52b8d4310209eb6ef75b
2015-10-10we need to take the SolarMutex when we change the UIMarkus Mohrhard
Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
2015-10-10use trendline context for trendlines, tdf#94931, tdf#94934Markus Mohrhard
Change-Id: I0cb9cdec33924e560b24744cc78d632025a189fc
2015-10-09don't put the checkbox into the HBox, tdf#94870Markus Mohrhard
Change-Id: I28f4895814d9fc419274de5681efa535e815f822
2015-10-09correctly dispose the chart sidebar when leaving chart, tdf#94292Markus Mohrhard
This is a much better approach than my old one that tried to use the correct XModel with the chart sidebar. Now everytime we leave the chart edit mdoe we destroy the chart sidebar panels and recreate them when we go back to chart edit mode. As a result we no longer need to have worry that much about using the correct ChartModel and about the lifecycle of the ChartModel. Change-Id: Ie85ad82968e20a81f059d4bd930a83a70da35fc9
2015-10-09remove whitespaceMarkus Mohrhard
Change-Id: I6390f16a6c2346c4c903a34d702277b931bc0079
2015-10-09loplugin:literaltoboolconversionStephan Bergmann
Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920
2015-10-09Moving average trendline equation: remove initialisationLaurent Balland-Poirier
Change-Id: I3fa01a2d03e7de6438d0db0685e53e6b7ca6c25a Reviewed-on: https://gerrit.libreoffice.org/19218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09tdf#70673 Improve exponential trend line equationLaurent Balland-Poirier
Use negative Y if there is only 1 positive Y Skip some 0 or 1 in some corner case. Add minus sign if intercept is missing Simplify writing of equation Change-Id: I4b164568c87c54934a38ff2d0cd72133f7fece26 Reviewed-on: https://gerrit.libreoffice.org/19033 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-08chart2: replace for_each with range-based forDaniel Robertson
Replace complex uses of ::std::for_each with a range-based for-loop. Change-Id: I6f3d8488a63a5bed271ab70ad6f024e9869906cc Reviewed-on: https://gerrit.libreoffice.org/19143 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-07Improve polynomial trend line equationLaurent Balland-Poirier
Skip coefficient if its value is 1 (or near 1) Change-Id: I39a5630cc76250ded1ab22709522344d42fcc0e9 Reviewed-on: https://gerrit.libreoffice.org/19037 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07tdf#88154 workaround and unit testMarco Cecchetti
Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: https://gerrit.libreoffice.org/18889 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-07Improve Power trend line equationLaurent Balland-Poirier
Skip intercept value if it is near 1 Change-Id: Ie52b2ac06c53c2e85b3c465be28081f6dc0ad2cb Reviewed-on: https://gerrit.libreoffice.org/19038 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07Log trend line equation: Remove useless variableLaurent Balland-Poirier
Change-Id: I70e960742b4af2c1ab234b6d1c681254c0627b03 Reviewed-on: https://gerrit.libreoffice.org/19138 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
2015-10-07remove another custom refcounting base classNoel Grandin
Change-Id: Icd8a8d79da0ada68e9ee869c3c2a7b93db5b2733
2015-10-07tdf#90839: follow-up workMarco Cecchetti
- Removed the data-label-wrap token and related code in xmloff module. - Using the already present `fo:wrap-option` seems to be the preferred solution: investigated to see how the token is imported exported: the class `XMLWordWrapPropertyHdl` takes care of that, luckily it converts the token to a boolean property. - Fixed a minor issue in the code for the data label dialog. Change-Id: Id050fdfeedd3af7fb79be96bfe157c61c4b44191 Reviewed-on: https://gerrit.libreoffice.org/19197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I96ab1c0683eadef1f7012b346705450e69ca5a65
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ibde6ee93edae124da52e2a03528a240d4066baa7
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I7243c1590384472bf40cdbdb5af0614fffcb253b
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I3f34115b7d73e71441404866fc45894f78ab28f6
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I09d518a81b392bef444d7e01aa08ce30a2aee984
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I12efd66cdacbe73080855694fe397136ea59aabd
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: If852229c04eb5787fb017cf13f483d406d60bf07
2015-10-05Return rtl::Reference from ShapeTypeHandler::CreateAccessibleObjectStephan Bergmann
...and handle related fallout Change-Id: Ie82d853a9bf28b359d5aab9d0af01b728d68ed70
2015-10-03hide grid and axes options in chart elements if not supported, tdf#94297Markus Mohrhard
Change-Id: I358340bd1b17f0e2eb5a119a60b623e489044dd3
2015-10-03don't show area and line panel in pie chart Chart selection, tdf#94320Markus Mohrhard
Change-Id: I0eacedbb3d96a059278bab0ef98a66ed49b827fc
2015-10-02Fix typosAndrea Gelmini
Change-Id: I776c517ba87838c0c3391f79010a30fa7fe2abd3 Reviewed-on: https://gerrit.libreoffice.org/18939 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Trend line equation: remove useless definesLaurent Balland-Poirier
Change-Id: I9a2089f1f7e3b0e881d4136293d557efb3c1ef1c Reviewed-on: https://gerrit.libreoffice.org/19001 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30 tdf#94559: second step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in chart2, connectivity, editeng, extensions, filter, forms, framework, idl Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99 Reviewed-on: https://gerrit.libreoffice.org/18920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Icf15b5ea2e5b9cd62645bab2f9ccaada948322a7 Reviewed-on: https://gerrit.libreoffice.org/18940 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29coverity#1325069 Resource leakCaolán McNamara
Change-Id: Ie02b77e17403474c65fbafa9ee2aa17bf0132417
2015-09-28Return the std::unique_ptr itself here, not a raw pointerStephan Bergmann
Change-Id: I25d9bc5c969d00642613971c88f864285ecdddbc
2015-09-27enable z axis objects when changing chart type, tdf#94290Markus Mohrhard
Change-Id: I4c1e3ff061692a9457557a4fecea55371f2aadb5
2015-09-27gcc3 is not supported anymore, so remove thatMarkus Mohrhard
Change-Id: Iddc481e13d40a6399a4a23a45c812b34a3a109f6
2015-09-25convert Link<> to typedNoel Grandin
Change-Id: Ic39135b39f1389fdf94fb16746100209ee63f492 Reviewed-on: https://gerrit.libreoffice.org/18856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23CppCheck : reduce variables scopeMichaël Lefèvre
Change-Id: Ief402017b693a4337f330fb07bb7a6dc6e749f72 Reviewed-on: https://gerrit.libreoffice.org/18753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-20fix regression with chart sidebar list positionMarkus Mohrhard
regression from 66f1e65fde85168ae582ea75f72ebb290caa0a08 Change-Id: I92a5d6926ee912d4802f074d1e4aae63cf672ab1
2015-09-20use localized string for title text, tdf#94294Markus Mohrhard
Change-Id: Id27e5c3794b728ce79d63b6c7d552df0cc1ba239
2015-09-20remove unnecessary base classMarkus Mohrhard
Change-Id: Iaa1890d11f9bfba7a8b0996b9adf79b781bcd8bf
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-17tdf#91063 Improve the elements content panel of the chart sidebarYousuf Philips
Change-Id: I6fa83512a1a4949eb4f4dd9f849aab04b5f58374 Reviewed-on: https://gerrit.libreoffice.org/18658 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-15convert Link<> to typedNoel Grandin
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-15remove chart sidebar when leaving chart edit modeMarkus Mohrhard
Change-Id: Ie6fc01b2a610fb861ddade996ebb8480be217085