summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
2015-10-18tdf#94960, Revert "it is insane to not map line and ..."Markus Mohrhard1-3/+3
This reverts commit 84254268bf5902d2405815970218e1893a7a673e. Change-Id: Id99bc1f44a4e23daaf2f12585981c0be66cbeda5
2015-10-18mark numbers as untranslatableStanislav Horacek1-2/+2
Change-Id: I44c44f96c0ece4d9412df234f57d0acb26b10f2d Reviewed-on: https://gerrit.libreoffice.org/19423 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-17coverity#1327446 Unchecked dynamic_castCaolán McNamara1-2/+1
Change-Id: Ib409b7fe4244b89f8767b20adcfae060f121b2f2
2015-10-16convert Link<> to typedNoel Grandin4-6/+5
Change-Id: I51d39d9d1688c4c734cd132213ef654fdc7d9b8e
2015-10-16convert Link<> to typedNoel Grandin21-83/+67
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15-Werror,-Wunused-private-fieldStephan Bergmann1-1/+0
Change-Id: I936ddbabb22e3dc16080ef0b11d585ea98442e57
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin1-6/+3
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-13remove some useless commentsNoel Grandin5-6/+3
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12disable arrow heads in chart sidebar, tdf#94971Markus Mohrhard1-0/+1
Change-Id: I631f34faf2befeb7cc61027c8fd59ef7b3543785
2015-10-12update the line panel for data points, related tdf#94969Markus Mohrhard1-3/+3
Change-Id: Ieffdfd1cc0d6b5cc0dd8394896aeb49838096a6b
2015-10-12update area panel for data points, tdf#94969Markus Mohrhard1-1/+3
Change-Id: I700ae8ff591ef1ea82887b1ec2cd7b4be04978db
2015-10-12Replace "SAL_FINAL" with "final" in LIBO_INTERNAL_ONLY codeStephan Bergmann3-4/+4
Change-Id: Ifa5ba21308e32df44571fa2941370f2f11179580
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann247-2302/+2302
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann8-11/+11
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin22-56/+38
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12loplugin:mergeclassesNoel Grandin3-105/+37
Change-Id: Icd01de71fe87e0bf17eba39f5b00fc9a46765509
2015-10-10also update line panel for axis, related tdf#94933Markus Mohrhard1-1/+4
Change-Id: Ie280fa01dbe25287d01b7f36d152ee55ce5dbe07
2015-10-10also update line panel for average and trend line, tdf#94933Markus Mohrhard1-1/+1
Change-Id: I7ab991e94005665809ec52b8d4310209eb6ef75b
2015-10-10we need to take the SolarMutex when we change the UIMarkus Mohrhard1-0/+2
Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
2015-10-10use trendline context for trendlines, tdf#94931, tdf#94934Markus Mohrhard1-0/+3
Change-Id: I0cb9cdec33924e560b24744cc78d632025a189fc
2015-10-09don't put the checkbox into the HBox, tdf#94870Markus Mohrhard1-21/+19
Change-Id: I28f4895814d9fc419274de5681efa535e815f822
2015-10-09correctly dispose the chart sidebar when leaving chart, tdf#94292Markus Mohrhard1-2/+2
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 Mohrhard1-2/+0
Change-Id: I6390f16a6c2346c4c903a34d702277b931bc0079
2015-10-09loplugin:literaltoboolconversionStephan Bergmann1-1/+1
Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920
2015-10-09Moving average trendline equation: remove initialisationLaurent Balland-Poirier1-5/+1
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-Poirier1-36/+25
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 Robertson14-164/+77
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-Poirier1-2/+6
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 Cecchetti7-11/+83
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-Poirier1-7/+9
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-Poirier1-8/+4
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 Grandin4-59/+9
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
2015-10-07remove another custom refcounting base classNoel Grandin3-29/+2
Change-Id: Icd8a8d79da0ada68e9ee869c3c2a7b93db5b2733
2015-10-07tdf#90839: follow-up workMarco Cecchetti1-1/+1
- 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 Bergmann1-5/+2
Change-Id: I96ab1c0683eadef1f7012b346705450e69ca5a65
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: Ibde6ee93edae124da52e2a03528a240d4066baa7
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+1
Change-Id: I7243c1590384472bf40cdbdb5af0614fffcb253b
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-13/+13
Change-Id: I3f34115b7d73e71441404866fc45894f78ab28f6
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I09d518a81b392bef444d7e01aa08ce30a2aee984
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-7/+5
Change-Id: I12efd66cdacbe73080855694fe397136ea59aabd
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+1
Change-Id: If852229c04eb5787fb017cf13f483d406d60bf07
2015-10-05Return rtl::Reference from ShapeTypeHandler::CreateAccessibleObjectStephan Bergmann2-22/+19
...and handle related fallout Change-Id: Ie82d853a9bf28b359d5aab9d0af01b728d68ed70
2015-10-03hide grid and axes options in chart elements if not supported, tdf#94297Markus Mohrhard2-1/+65
Change-Id: I358340bd1b17f0e2eb5a119a60b623e489044dd3
2015-10-03don't show area and line panel in pie chart Chart selection, tdf#94320Markus Mohrhard1-0/+27
Change-Id: I0eacedbb3d96a059278bab0ef98a66ed49b827fc
2015-10-02Fix typosAndrea Gelmini3-3/+3
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 Grandin5-126/+0
- 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-Poirier2-8/+3
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 Specht5-9/+9
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 Gelmini15-17/+17
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 Heinemann1-3/+3
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>