summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin16-38/+30
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-21vcl: rename Font::GetFamily to Font::GetFamilyTypeChris Sherlock2-4/+4
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254 Reviewed-on: https://gerrit.libreoffice.org/21633 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20loplugin:unusedmethodsNoel Grandin1-38/+0
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e Reviewed-on: https://gerrit.libreoffice.org/21603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-18basebmp now only used from vcl/headless codeCaolán McNamara1-3/+0
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
2016-01-18drawmodes header goneCaolán McNamara1-1/+0
Change-Id: Ia1b9ad96dbe41bebc5c2819385950a6d2980608b
2016-01-18vcl: change Font::SetName() to Font::SetFamilyName()Chris Sherlock2-2/+2
Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5 Reviewed-on: https://gerrit.libreoffice.org/21560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-17vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock2-4/+4
Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16revert vcl patch series that brok Mac and WindowsNorbert Thiebaud4-6/+6
revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16vcl: change Font::SetName() to Font::SetFamilyName()Chris Sherlock2-2/+2
Change-Id: I54a4036544c680c4a49607677af776aa7a433fbc Reviewed-on: https://gerrit.libreoffice.org/21510 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock2-4/+4
Change-Id: I83927e0992dfe0a2a79d139818a9f45d3761aae5 Reviewed-on: https://gerrit.libreoffice.org/21509 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11loplugin:privatebase: Make various derivations publicStephan Bergmann1-1/+1
...assuming they were implicitly made private by accident rather than by design. (And private derivation can cause unexpected failure of dynamic_cast, cf. 63b67ab5cab8cf7576a68cabe5fb1a42c6ad800c "Use public derivation, and remove then-unnecessary downcasts.") Change-Id: Id821afba34fd2f155e30fac903567707e46d1fde
2016-01-11loplugin:privatebase: Make derivation from noncopyable explicitly privateStephan Bergmann1-1/+1
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
2016-01-11loplugin:unusedmethods unused return value in chart2Noel Grandin17-119/+15
Change-Id: Ibd8ae8ade2a1037deac1e29ce1b867c2847a9dff
2016-01-10Fix typosAndrea Gelmini5-9/+9
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-08tdf#96807 Reset min/max of auto scaleLaurent Balland-Poirier2-2/+13
Y minimum for auto scale was accidentaly set to 0. This avoided correct calculation of Y auto log scale (tdf#96807) But also set linear Y auto scale from 0 (tdf#85690) This fix detects if both min and max are equal to 0, and reset them (+-inf) Change-Id: Ifaf306831f3b5a18a86483c88e807f478b447c77 Reviewed-on: https://gerrit.libreoffice.org/21055 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-01-06Fix typosAndrea Gelmini14-17/+17
Change-Id: Ie0578dcca6cbf4edb62544109d616a081888f369 Reviewed-on: https://gerrit.libreoffice.org/21140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-05Make SotFactory private to sot/ and clean a bitMatúš Kukan1-0/+1
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
2016-01-05tdf#94205: Use o3tl::make_unique insted of new+std::move.Sheikha AL-Hinai1-3/+2
Change-Id: I9ff14760479d2ac882546e2e5b74ab750ba2fa4b Reviewed-on: https://gerrit.libreoffice.org/20984 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-04use correct decimal separatorMarkus Mohrhard1-2/+11
Change-Id: I342e9b5355c3ea09eede6c47b0f209f538ee82cb
2016-01-02cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: Ic6407a57440fbd887f9ec9d5963e5748aa89a29e
2015-12-24loplugin:unusedfieldsNoel Grandin4-10/+4
Change-Id: I979592adb978c3757a1e54615021ee424a2e02bf Reviewed-on: https://gerrit.libreoffice.org/20892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-23loplugin:unusedfields in chart2Noel Grandin48-172/+63
Change-Id: I8203f84ad8b138932c990032e17ea5d2daf384bb
2015-12-22tdf#91063 Better organize Error Bar content panelYousuf Philips1-188/+159
Change-Id: I7c85cb926187ff757a75f985ee1e5cbfe265f9dc Reviewed-on: https://gerrit.libreoffice.org/19577 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-12-16assert that no ODF import happens without a BaseURLMichael Stahl1-0/+1
Change-Id: I4520a9d0350349cb083ed627a19264a3a97e090f
2015-12-15chart2: add DocumentBaseURL in ChartFrameLoader::load()Michael Stahl1-0/+5
... as seen in JunitTest_chart2_unoapi Change-Id: Ibe0cd210b8f2ddf730483705292e9027654b6fd4
2015-12-15chart2: fix obvious mis-use of wrong member in XMLFilter::impl_Import()Michael Stahl1-1/+2
... so we get a BaseURI set. Change-Id: I01176a8a0b0a1f4386f4d58bdf36bd5cb29cf3e5
2015-12-12Make .mk files more portableBaptiste Daroussin2-4/+4
Replace some -ldl by $(DLOPEN_LIBS) Add some FREEBSD tests Change-Id: Ic30fe29b938d877694db2927775f89de15c02d87 Reviewed-on: https://gerrit.libreoffice.org/20652 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2015-12-12No need for a separate <vcl/lstbox.h>Tor Lillqvist1-1/+1
Change-Id: Ib8d0e3d240e693c678d575b4791f69ca760919ec
2015-12-11No need for a separate <vcl/graph.h>Tor Lillqvist1-1/+0
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11Return std::unique_ptr from svt::AcceleratorExecute::createAcceleratorHelperStephan Bergmann1-1/+1
...to prevent errors like 5ac6e00274e732435b55c2908db9cea658fe549b "Memory leak" Change-Id: I3e20393af628849d8a387b491b75e1aacdea982a
2015-12-11No need for a separate <vcl/combobox.h>Tor Lillqvist1-1/+0
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
2015-12-10tdf#69977: constructing and destructing AccessibleElementInfo...Noel Grandin1-1/+1
... is surprisingly expensive shaves about 5% off the time to build this chart Change-Id: I8e5d071edba50d264c2ab01c6bc0b2cad0e41ec6 Reviewed-on: https://gerrit.libreoffice.org/20588 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-07Clean up use of libxml2 BAD_CASTStephan Bergmann1-14/+17
Change-Id: Ia48681f1be4fb3c51ea6805a2dab1b8b957540d0
2015-12-04chart2: replace boost::ptr_map with std::mapMichael Stahl3-10/+9
Change-Id: I07a8b2eaa11ca29e3303d323060c3a4c52823967
2015-12-04chart2: replace boost::ptr_map with std::mapMichael Stahl2-11/+10
Change-Id: Id647a5b681e10defd944ccb2ec8509689df704af
2015-12-04chart2: replace boost::ptr_map with std::map<std::unique_ptr>Michael Stahl1-11/+10
Change-Id: I0b80042bdab33b52b339267292249add6f70ac3c
2015-12-03WaE: comparison between signed and unsigned integer expressionsTor Lillqvist1-1/+1
Change-Id: I051e2682bdff3bf88fecd726bd57652e5f9e8806
2015-12-03uno::Sequence->std::vector in SfxIntegerListItemNoel Grandin2-7/+7
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
2015-12-03Use comphelper::containerToSequence()Noel Grandin1-19/+21
Change-Id: I18d6ef04ff00f971a4c54ba259733c07501c6c1a
2015-11-30loplugin:unusedfieldsNoel Grandin2-2/+0
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-28tdf#88154 - added unit test for rotated layoutMarco Cecchetti2-0/+68
Change-Id: Ie0243bda8ec253d68f3bc5e469623d1f4edddcf5 Reviewed-on: https://gerrit.libreoffice.org/19297 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-27Resolves: tdf#96072 export Chart format codes in Excel notationEike Rathke1-1/+1
As for the change in chart2/qa/extras/chart2export.cxx Chart2ExportTest::testAxisNumberFormatXLSX() unit test: also Excel writes string parts of format codes quoted, including minus sign in negative subformat. Change-Id: I201bb012df818129cbc65de0eee8eca59e57d829
2015-11-26-Werror,-Wunused-private-fieldStephan Bergmann3-49/+11
Change-Id: I70e753b1532fe465d378b8b4b0bbd2b7582130fe
2015-11-26mark UNO structs as SAL_WARN_UNUSED, where possibleNoel Grandin1-1/+0
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-25loplugin:unusedfields variousNoel Grandin2-3/+0
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara2-2/+2
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara2-2/+4
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt2-7/+7
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20loplugin:unusedfields in chart2Noel Grandin11-29/+14
Change-Id: I7da22cc193d9fadf9a3b5dc1453f5574d2357c31
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin4-57/+5
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>