summaryrefslogtreecommitdiff
path: root/chart2/source/model
AgeCommit message (Collapse)AuthorFilesLines
2015-08-11tdf#92459 Cleanup unclear lambdasDaniel Robertson1-2/+2
Replace lambdas used to select the first/second member of a pair with the new simplified select1st/2nd from o3tl/compat_functional. There should be no side effects due to this change. Change-Id: I17f37796e0c4defe96a10aa491d192adb9eebb89 Reviewed-on: https://gerrit.libreoffice.org/17656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-01tdf#92459 replace deprecated o3tl featuresDaniel Robertson1-2/+2
Replace all uses of deprecated features from o3tl/compat_functional.hxx with lambda expressions. Change-Id: I6370c80dbe675da517904e535e19bf63830c3e2c Reviewed-on: https://gerrit.libreoffice.org/17450 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-07-30it is insane to not map line and border properties to the same idMarkus Mohrhard1-3/+3
Change-Id: I6f4eb2509dc731cb281350b2bb0cce94b66a8ad6
2015-07-30provide also LineTransparence for DataPointPropertiesMarkus Mohrhard1-0/+14
Change-Id: I9c3e547831d3d876c228c8b9b566f17a4d95ce5b
2015-07-28chart2: fix duplicate entries at index 0Takeshi Abe1-6/+6
... introduced at 6949629e35f308ce7efc890319ecf9a46a5f154c. Change-Id: Ifc5c2f92584aabe668eb8c87abdc5085d4a7b075 Reviewed-on: https://gerrit.libreoffice.org/17377 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-28reflect the property name changes also in the idl filesMarkus Mohrhard1-1/+2
DataPoints now support the whole css::drawing::FillProperties properties which makes handling fill properties in chart2 a lot easier. The new names are just aliases for the old property names. Change-Id: I5b85010fe2557eeb5376de71ff3605b3abbcd488
2015-07-28use common fill property names in chart2Markus Mohrhard1-0/+47
Change-Id: I9445344efc70d872fdb9c9a8cc49838210861a7b
2015-07-20loplugin:unusedmethods chart2Noel Grandin23-173/+0
Change-Id: Ib7e8824e9e7f912963fbf07111ee3aa97773ceca Reviewed-on: https://gerrit.libreoffice.org/17167 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe17-34/+34
with the variadic variants, in chart2. Change-Id: Ib145860cf757d932fd5710f92c7f9ce33904b619
2015-07-09tdf#91725: Use lighter default colour for minor grid linesKatarina Behrens1-0/+1
Change-Id: I4be2adac1004ad4ace474c9a271cf8e21986da07 Reviewed-on: https://gerrit.libreoffice.org/16819 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-08s/Coordiante/CoordinateTor Lillqvist11-12/+12
Change-Id: Iac584b09844b5877586061e9a44b1f7473bffed4
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-2/+3
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-3/+2
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-18Fix typosAndrea Gelmini1-1/+1
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann23-26/+26
Change-Id: If5ab427ab320e2623df182e6143c4e7123610eae
2015-06-08cppcheck: noExplicitConstructorCaolán McNamara19-20/+20
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
2015-06-04uno::Sequence provides now begin and endNoel Grandin3-8/+8
use begin() and end() when calling std::copy on an uno::Sequence Inspired by commit b34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 "uno::Sequence provides now begin and end" Change-Id: I08e8c3fd6144e77b95a26f85bc0daf6a9edeeb0b Reviewed-on: https://gerrit.libreoffice.org/16057 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-19fix old GCC buildNoel Grandin2-2/+2
after my commit 10749bbf8247f0b17201b33f95a090dfc4fc3211 "remove the last of the OUString #defines in header files" Change-Id: I7666cfb28d8a28d541c9d7a51f014ebe53c50551
2015-05-19remove the last of the OUString #defines in header filesNoel Grandin1-2/+2
Change-Id: Id9e8ce7987e055e83b52c7024413570f262e6e8d
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini2-4/+0
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-23loplugin:staticmethodsNoel Grandin27-51/+51
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann1-1/+1
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-02loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann17-46/+46
Change-Id: I5bc47d62afa9cf43f4f1978e082bba43920eb10d
2015-03-23loplugin:constantfunction: chart2Noel Grandin2-12/+0
Change-Id: I2ec1eaf9faa23779fbdf53771dbba1936c6aa3f9
2015-02-19Clean upStephan Bergmann1-34/+0
Change-Id: Id91be8ec8a97d8fad398d798cd2a9b77773a39e2
2015-02-13Add an overlooked constructor to chartcore.component.Jan Holesovsky1-0/+7
com.sun.star.comp.chart2.report.XMLFilter was pointing to com.sun.star.comp.chart2.XMLFilter by mistake. Change-Id: Ia3c96cc98a4f81f2bb918200dc39eae1dbafdb58
2015-02-12Use constructors for services from chartcore.component.Ursache Vladimir26-335/+182
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
2015-02-12But then again, no need to go via UNO here anyway (cf. previous commit)Stephan Bergmann2-12/+9
Change-Id: I2e5015b9c360fadb6747b5e2e0bd0a62b252312d
2015-02-12Add missing registration of GL3DBarChartType in g_entries_chart2_charttypesStephan Bergmann2-9/+12
...looks like it just got forgotten in 05efb605b36ea340762ef1583b3aea6a6b5cdddb "Add a new skeleton plotter for the GL3D bar chart." Change-Id: I54b7164d3702de6bdbcc3c3e21ea5569ada0336b
2015-02-07loplugin:deletedspecialStephan Bergmann2-18/+8
Change-Id: Ifdbeea8d4e49ae38b843675758fcc29aee974bdf
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin1-1/+1
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin2-3/+3
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-2/+2
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2014-12-18fix buildCaolán McNamara11-11/+11
Change-Id: I920227cd175dace306ebb16a8e476f483cf11a7a
2014-12-18chart2: Use appropriate OUString functions on string constantsStephan Bergmann4-10/+10
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
2014-12-18bCategoriesUsed is always false at this pointLionel Elie Mamane1-1/+1
Change-Id: I7e6851ce3f24ef3c5051eb7431b6aa1df845836d
2014-12-09fix buildCaolán McNamara1-2/+2
Change-Id: Iaeb995ef4dad03babb5df1b034a476d90681768a
2014-12-09fix build under gccNoel Grandin1-2/+2
after my commit feb92a5 "inline some strings, they don't need to be in a shared header file" Change-Id: I60a6fa11d56f3d4648dbedeca062ab27206f2a02
2014-12-09inline some strings, they don't need to be in a shared header fileNoel Grandin2-0/+6
Change-Id: I058489d207510024ce722c4d03f9aac628b120b5
2014-12-09inline UNO helper macrosNoel Grandin57-96/+840
Change-Id: Ia401dd2f51108d2f3b08cd3d6d433a12ac17ee74
2014-12-09inline UNO helper macro APPHELPER_SERVICE_FACTORY_HELPERNoel Grandin24-28/+125
Change-Id: Ib416efb59ae166bb8d55dd7f3c84b7e5f72864e8
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin7-22/+22
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-31Removed duplicated includesAndrea Gelmini1-1/+0
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-23loplugin: cstylecastNoel Grandin1-2/+1
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
2014-09-123D charts: Update the 3D charts when a value changes.Jan Holesovsky1-2/+2
Change-Id: I9c4052108446959ff6f5215d704b496e7a8e6aee
2014-08-29the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl chartsMarkus Mohrhard1-0/+7
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
2014-08-29opengl charts: Move the init from sc to chart2, to have the right parent.Jan Holesovsky1-1/+0
Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: I1e23329345e00e7d8e1f269c832e84d015824c0a