summaryrefslogtreecommitdiffstats
path: root/chart2
Commit message (Collapse)AuthorAgeFilesLines
* fix loplugin:cppunitassertequals in chart2Markus Mohrhard2016-08-032-14/+14
| | | | | | | Change-Id: Iefcbc438159046adef8fce216e5c9477e11e2931 Reviewed-on: https://gerrit.libreoffice.org/27841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist2016-08-032-5/+5
| | | | | | | | | | | | ENABLE_OPENGL means whether to enable the OpenGL slideshow transition code. It does not mean whether to enable use of OpenGL in general. So rename it to ENABLE_OPENGL_TRANSITIONS while at it. ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11 (and Wayland) platforms, I think, meaning Linux and maybe Solaris and the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL. Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
* tdf#100726: Improve readability of OUString concatenationnadith2016-08-013-25/+11
| | | | | | | | | this bug fixed in the modules between canvas - cppu Change-Id: I2022b022897dafde20251352376e3facdb9b8d75 Reviewed-on: https://gerrit.libreoffice.org/27663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Revert "temp tinderbox fix"Caolán McNamara2016-07-282-0/+2
| | | | | | This reverts commit d4cb9c3a8851cb874fd8b6c77d4d7521da7579b7. Change-Id: Ifd11427ea6b4137d0e0c007e7f140fbc6caa3f31
* returning reference to local breaks crashtesting buildCaolán McNamara2016-07-281-4/+4
| | | | | | | | | | | | since.. commit 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf Author: Noel Grandin <noel@peralex.com> Date: Mon Jul 18 09:22:27 2016 +0200 improve passstuffbyref return analysis Change-Id: I29b2751c17df9ef7b4b3421d42575dbf001e6784
* add uui component to some other placesCaolán McNamara2016-07-271-0/+1
| | | | Change-Id: Ia1e449f8f52e7d353944b8e80f9fc586f1eab2f7
* improve passstuffbyref return analysisNoel Grandin2016-07-2716-20/+20
| | | | | | | Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* masses of MessBoxes not being disposed promptlyCaolán McNamara2016-07-263-4/+4
| | | | | | | | | | | | | | | | since... commit ba81e5c6bd420b41a84ade6ccd774011a8089f7f Date: Thu May 28 21:35:43 2015 +0100 tdf#91702 - fix stack-based MessBox allocation. There is no special ScopedVclPtr<X>::Create or ScopedVclPtrInstance<X>::Create just VclPtr<X>::Create and a raw VclPtr<X>::Create()->foo doesn't call dispose on the owned X Change-Id: Ifacc8d5e742820701307c3c37b9b86487667d84f
* new loplugin overrideparamNoel Grandin2016-07-252-2/+2
| | | | | | | | | | verify that parameters on override methods have the same set of default values for their params as their parent/super-methods do. Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2 Reviewed-on: https://gerrit.libreoffice.org/27437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* chart2: missing header <iterator> reportedly breaks MSVC2015Michael Stahl2016-07-221-0/+1
| | | | Change-Id: I09b5a292e38044f14cd033a05e459cc69197de57
* improve unnecessaryoverride pluginNoel Grandin2016-07-194-28/+0
| | | | | | | | | to ignore ImplicitCastExpr when calling superclass method Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1 Reviewed-on: https://gerrit.libreoffice.org/27279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:staticcallStephan Bergmann2016-07-171-1/+1
| | | | Change-Id: I4ec0585bec93c7bc79a31c699df7d68b955eef56
* loplugin:passstuffbyrefStephan Bergmann2016-07-172-2/+2
| | | | Change-Id: I0114bd98b92b9810d7d829ddce8461a2844e0506
* tdf#100913 Remove tOID typedefs in ObjectHierarchy classkrishna keshav2016-07-175-52/+52
| | | | | | | | | Replace use of toID with ObjectIdentifier in 'ObjectIdentifier.hxx'. Change-Id: Ic0157974eca2992167319f7d19a0224056cc985e Reviewed-on: https://gerrit.libreoffice.org/27243 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: provide wrapper for chart objectsMarkus Mohrhard2016-07-162-3/+107
| | | | | | This allows now to operate on chart objects and call commands on them. Change-Id: I399b275c563deb507aaf4f3f49373871e733af91
* no need for this temporary OStringMarkus Mohrhard2016-07-161-3/+2
| | | | Change-Id: I8b5d69f7e64a83e52a41c285f5ef186a666ccd55
* uitest: provide all the children for chartsMarkus Mohrhard2016-07-163-9/+37
| | | | | | This now also includes legend entries and data points. Change-Id: I0e4d1f21a20035cd632a7755dbbea17baec4b083
* uitest: some initial work on the chart selectionMarkus Mohrhard2016-07-163-2/+51
| | | | Change-Id: I3317eba5383206de6f619da548ee3047861eef07
* uitest: add initial support for selecting chart elementsMarkus Mohrhard2016-07-165-0/+108
| | | | Change-Id: I3af11d44067618b5188f3dbf4abccc171dd98d0c
* new loplugin unnecessary overrideNoel Grandin2016-07-158-29/+1
| | | | | | | Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb Reviewed-on: https://gerrit.libreoffice.org/27135 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* chart2: avoid use of reallocJochen Nitschke2016-07-149-64/+35
| | | | | | | | | | by using ctor initializer list, removing redundant realloc and other small tweaks Change-Id: I73775ef3677244de5c04e8743c43228d6cb3b008 Reviewed-on: https://gerrit.libreoffice.org/27174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* chart2: inline local macrosJochen Nitschke2016-07-132-43/+16
| | | | | | | | | | | make use of Sequence initializer_list constructor and use makeAny to simplify further. removed unused includes Change-Id: I7d5b901a8bb375533c8ab945632dc8668806ca1a Reviewed-on: https://gerrit.libreoffice.org/27173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* chart2: remove unused ContainerHelper.hxx includesJochen Nitschke2016-07-1360-66/+3
| | | | | | | | | | remove using namespace ::chart::ContainerHelper; to match other uses Change-Id: I343086a6b7d70c84499b209680973431c7317219 Reviewed-on: https://gerrit.libreoffice.org/27184 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
* no need to create temporary OUString for comparisonNoel Grandin2016-07-131-1/+1
| | | | | | | Change-Id: I0a321e8ffbe379588a288084ec2e74e1a8c296b2 Reviewed-on: https://gerrit.libreoffice.org/27171 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* chart2: cleanup local var assignmentsJochen Nitschke2016-07-1310-31/+7
| | | | | | | | | | | and remove comments about a gcc 3.3 workaround. some comments went obsolete with other commits like 367105e0248c7b80b60b2554d04f5f248b4259b3 Change-Id: I15fff464e2f71a6ade29c141bb17216770f54ced Reviewed-on: https://gerrit.libreoffice.org/27127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Avoid global data with (non-constexpr) ctors/dtorsStephan Bergmann2016-07-121-4/+5
| | | | Change-Id: I787ec685275d119dd4eea86f51b6dd85bc0260d1
* chart2: make m_aEntryMap a non member constantJochen Nitschke2016-07-122-11/+8
| | | | | | | Change-Id: Ic45ba10808ea2ce6bc6520bb4222cd8b3ebd8ea6 Reviewed-on: https://gerrit.libreoffice.org/27098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Resolves: tdf#100452 class Date full (BCE,CE) proleptic Gregorian calendarEike Rathke2016-07-083-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... implementing signed years with year 0 gap. Date(31,12,-1) last day BCE Date(1,1,1) first day CE New class Date member functions: * AddYears(sal_Int16) to be used instead of aDate.SetYear(aDate.GetYear()+sal_Int16) to handle year 0 gap. * convenience GetNextYear() to be used insted of GetYear()+1 * convenience GetPrevYear() to be used insted of GetYear()-1 * AddMonths(sal_Int32) * operator=(const css::util::Date&) New class DateTime member functions: * operator=(const css::util::DateTime&) Made some conversion ctors explicit, specifically Date(sal_Int32) Adapted hopefully all places that used a sal_uInt16 year to use sal_Int16 where appropriate. Eliminated some quirks in date handling found on the fly. Added era handling to i18npool icu calendar setting interface, which missing was responsible for 0001-01-01 entered in Calc being set as -0001-01-01, hence subtracting one day resulted in -0002-12-31. Change-Id: I77b39fba9599ebd5067d7864f6c9ebe01f6f578f Reviewed-on: https://gerrit.libreoffice.org/27049 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann2016-07-0710-27/+27
| | | | Change-Id: I5c973d41381f2bfd39e7a8cf48fd5807852bdc72
* merge LineProperties with chart::ErrorBarNoel Grandin2016-07-057-161/+60
| | | | | | | Change-Id: Ic3490a15339ff981e90a86cb69c206c231db9161 Reviewed-on: https://gerrit.libreoffice.org/26932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2016-07-011-4/+2
| | | | | | | ...after 0f17e343306fd457c542067c09242ddd04ca39e9 "loplugin:singlevalfields in chart2" Change-Id: I111d6a0eb5380d9559799db348deb43594f90630
* loplugin:singlevalfields in chart2Noel Grandin2016-06-2816-81/+18
| | | | | | | Change-Id: I8b8bf093736a191c90d765dce82b00e15bb398d6 Reviewed-on: https://gerrit.libreoffice.org/26708 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* GSoC notebookbar: switching tabs depending on contextSzymon Kłos2016-06-279-10/+10
| | | | | | | | | | | | + sfx2::sidebar::EnumContext moved to the vcl module + TabPage contains vector with context values + vcl builder reads control's contexts from the "class" mark + ContextTabControl shows tabs depending on context Change-Id: I661b0d3f35d46ace2a2e8eb1d374148f0c60017d Reviewed-on: https://gerrit.libreoffice.org/26447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* support for ms binary format validation in chart2 module export testsVasily Melenchuk2016-06-232-1/+6
| | | | | | | | | | | Validation is done with Microsoft Office Binary File Format Validator if it is enabled. However binary files are failing validation, so validation is disbled in corresponding tests. Change-Id: I9f6ff5c3dd9e3e3c0bb37ce895e60e38a0b43e9a Reviewed-on: https://gerrit.libreoffice.org/26510 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* uitest: set id for chart windowMarkus Mohrhard2016-06-201-0/+1
| | | | | | | Change-Id: I443dcccf6d560c252da38a0f0c63cc48a212c127 Reviewed-on: https://gerrit.libreoffice.org/26494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Clean up uses of Any::getValue() in chart2Stephan Bergmann2016-06-174-19/+15
| | | | Change-Id: I53224053ea05c715f5e359a4c68e1ae5efbfe792
* try auto rotate tick labels only when useful tdf#99883Jochen Nitschke2016-06-112-17/+24
| | | | | | | | | | | | | | | | | | By default we try to fit as many tick labels as possible on an axis. One way is (auto) rotating the labels at 45 degrees. But rotating only works for horizontal axes with horizontal text or vertical axes with vertical text, else rotated tick labels need more space. Join the check for this prerequisite with isAutoStaggeringOfLabelsAllowed. while here make isAutoStaggeringOfLabelsAllowed local and wrap stuff in anonymous namespaces Change-Id: I5784d0e5aa42ff90927e19d0bd2c6fed488d39f4 Reviewed-on: https://gerrit.libreoffice.org/25792 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
* Move accessibility relations to .ui files, Part 8: tdf#87026Muhammet Kara2016-06-104-45/+20
| | | | | | | | | | By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. Change-Id: I04244b360b4bb32ccbbe5bde4756a9166ae1fcaf Reviewed-on: https://gerrit.libreoffice.org/26018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
* Try to get rid of svt::ContextMenuHelperMaxim Monastirsky2016-06-091-27/+24
| | | | | | | Change-Id: I7b43e417607b20c300e3c18e7da76a6173a18b7d Reviewed-on: https://gerrit.libreoffice.org/26098 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Jenkins <ci@libreoffice.org>
* tdf#94004 Wrap Power trendline equationLaurent Balland-Poirier2016-06-092-14/+37
| | | | | | | | | | Wrap equation trendline if it is longer than chart width Continue https://gerrit.libreoffice.org/18397/ Change-Id: If805f712a29c412a01209533842f9a6c797cbaf1 Reviewed-on: https://gerrit.libreoffice.org/25418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* tdf#94004 Wrap Logarithmic trendline equationLaurent Balland-Poirier2016-06-091-23/+49
| | | | | | | | | | Wrap equation trendline if it is longer than chart width Continue https://gerrit.libreoffice.org/18397/ Change-Id: Iee374e5db56178a9e87b0f462c3e7deb5e913ab8 Reviewed-on: https://gerrit.libreoffice.org/25416 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* tdf#94004 Wrap Exponential trendline equationLaurent Balland-Poirier2016-06-092-19/+52
| | | | | | | | | | Wrap equation trendline if it is longer than chart width Continue https://gerrit.libreoffice.org/18397/ Change-Id: I3938aaeec6c56582ecfe50dbfc54ec711f1b963d Reviewed-on: https://gerrit.libreoffice.org/25393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-095-20/+5
| | | | | | | | | | | | | | | | | | | | This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* Let loplugin:passstuffbyref also look at fn defn not preceded by any declStephan Bergmann2016-06-081-1/+1
| | | | Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
* only init the OpenGL context if we need itMarkus Mohrhard2016-06-072-1/+5
| | | | | | | Change-Id: Ia88a1720d204b9933f1476bd703b99180e45abde Reviewed-on: https://gerrit.libreoffice.org/26023 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* follow up fix: initialise PointSequenceSequence directlyJochen Nitschke2016-06-061-2/+3
| | | | | | | | | | commit e95be04a73e977022455335d7cbf56804638f761 uses wrong ctor: Sequence( sal_Int32 len ) Change-Id: I08751c10942f705ead008155a6e7e9dcfb0a2ca9 Reviewed-on: https://gerrit.libreoffice.org/25945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Convert DeactivePage return code to scoped enumNoel Grandin2016-06-064-8/+8
| | | | | | | Change-Id: Idd5372ad20fc6676864b31b3796f8b9bc0ad73dd Reviewed-on: https://gerrit.libreoffice.org/25918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* remove unused constants in HRC filesNoel Grandin2016-06-061-4/+0
| | | | | | | Change-Id: Ia034fb16ce75caeb69fd746d4a602cd5fcfef6d1 Reviewed-on: https://gerrit.libreoffice.org/25817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* initialise PointSequenceSequence directlyJochen Nitschke2016-06-041-12/+3
| | | | | | | | | | this list initialisation is short enough to remove the local helper function Change-Id: I17fab47e51fc0b1a0aa0462d517d7861f8a278e0 Reviewed-on: https://gerrit.libreoffice.org/25884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Remove SetAccessibleRelationLabeledBy calls tdf#87026Muhammet Kara2016-06-022-23/+16
| | | | | | | | | | And make proper changes in the related .ui files Change-Id: Iea998b6de25831c08950a8afa725713288113bfa Reviewed-on: https://gerrit.libreoffice.org/25807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>