summaryrefslogtreecommitdiff
path: root/chart2/source/controller
AgeCommit message (Collapse)Author
2014-08-29opengl charts: Move the init from sc to chart2, to have the right parent.Jan Holesovsky
Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: I1e23329345e00e7d8e1f269c832e84d015824c0a
2014-08-28EE_PARA_WRITINGDIR should presumably use an SvxFrameDirectionItemStephan Bergmann
...rather than an SfxInt32Item, just as it does everywhere else outside chart2. At least, running CppunitTest_chart2_export under -fsanitize=undefined complained about an invalid cast to SvxFrameDirectionItem. Change-Id: Ia7ea43a00d659de9642f801f390f45b9239d9c32
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-19Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I41392572692bc219ae18ad89d95fc8be47d6812c
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16Delete commented-out declaration of function membersMatteo Casalin
Change-Id: I118b7a788ee62f75af8b7669cad285952f0e968a
2014-08-15drop FixedLines from wizards to be consistent with the rest of the uiCaolán McNamara
and two virtual methods don't need to exist after that Change-Id: I50ea8eaa99fddfed7e0c61e99e76631aa595f2dc
2014-08-09directly include ResourceIds.hrc headerThomas Arnhold
Change-Id: Iaef6876ac2838f8727fea21c03a4cdc50683e675
2014-08-09remove now unused tabpage.hrcThomas Arnhold
as TP_WIDTH and TP_HEIGHT are unused now Change-Id: I06ec7af8c2b3386d76e36284eb56ea1ab6b9ec5d
2014-08-06deleted TP_LAYOUT resourceSzymon Kłos
Change-Id: Id0c60b43160f2447cfddfd7cf1c06c1becc419e9 Reviewed-on: https://gerrit.libreoffice.org/10784 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-04Consistency around SdrOnOffItem in svx/sdtagitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I6d8b3709d6d55bd6958d38f262141c43779dfdcc
2014-08-04prevent memory leakMarkus Mohrhard
Found by Lsan. Returning this or a heap allocated object asks for trouble. Let the caller handle it and return null instead of this. Change-Id: I7586e103bef5a8c2727adfe214b052d6962d4467 Reviewed-on: https://gerrit.libreoffice.org/10716 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-03cosmetic clean-upMarkus Mohrhard
Change-Id: I7b34e021c9f193643c89f20dc1ba42aad8e065d6 Reviewed-on: https://gerrit.libreoffice.org/10715 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-26bnc#885825: Handle ODF import and export of data label border properties.Kohei Yoshida
Change-Id: Ic8c7bc873768008537cd52a3fd4b11031b403139
2014-07-26bnc#885825: Support borders around data labels.Kohei Yoshida
Change-Id: Ib141413e523cbf73746876f727e9f80dda9f5f7c
2014-07-23Revert "opengl charts: Move the init from sc to chart2 ...Markus Mohrhard
This reverts commit 46cea34638b371570073c0e86f79969753c543ed. Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: Ia29ea6a95b8b9eb870d14538d0cadaa40472582f
2014-07-23Revert "Fix OpenGL chart reinitializing"Markus Mohrhard
This reverts commit cbc50c90ad63f0e59b8cf3bbfb6b5b1f61db09b9.
2014-07-23convert SfxItemState constants to a proper enumNoel Grandin
and while we're at it - use the enum type all over the place instead of passing around sal_uInt16 - don't use bitwise logic on enum values - use enum values instead of numeric constants Change-Id: I7f24cb4d242e1c00703e7bbcf1a00c18ef1e9fd4
2014-07-23drop DLG_CHART_WIZARD via .resCaolán McNamara
Change-Id: I394a42bfb761e2f7cf8c3186f5ec412331b5950c
2014-07-22fdo#81547, part2: show only relevant widgets in layout tabpageKatarina Behrens
Set initial status of most of the widgets in .ui file to hidden, *ResourceGroup::showControls() method will take care of showing them when appropriate Change-Id: I19d8df661ea7ee122e06ab854a9eb0a5edf62320
2014-07-22callcatcher: update unused codeCaolán McNamara
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
2014-07-22printf crept in.Kohei Yoshida
Change-Id: I18303af0a2898610566233b814e317cd2fe9f6d0
2014-07-22boost::checked_deleter will do.Kohei Yoshida
Change-Id: I952d9dfcffd85aaae49fc1f1eba9ba070900f672
2014-07-21Perhaps it's time we put ItemConverter etc into the right namespace.Kohei Yoshida
Change-Id: I8082c51ff82568b8a00f92e5ab20263c017f1265
2014-07-21LongAndWordyVariableNameReallyGetsToMyNerveReallyAndEvenMisspelled.Kohei Yoshida
Change-Id: Ifc6f876ca9e2ca77b2ab336ea0668697f32d4066
2014-07-21scoped_ptr will do just fine here.Kohei Yoshida
Change-Id: I35701126963047f3e405a6560a90930de99ed3fa
2014-07-21More on removing (unreasonable) use of std::auto_ptr.Kohei Yoshida
Change-Id: I98f5fb22eecb7749e4c86e1ce52965b0c73641ca
2014-07-21Remove auto_ptr from CharacterPropertyItemConverter.Kohei Yoshida
And adjust all that's necessary. Change-Id: I121e5aa4d117da2e5e6b11e4fd85960a8b3aa727
2014-07-21Compiler macro in lieu of literal "Label" to make it easier to track it.Kohei Yoshida
Change-Id: I6bc694fcc8f97b308747c097c4fa977d20524377
2014-07-20SchLayoutTabPage: that ctor wants a pointerMichael Stahl
Change-Id: I7f500186c2ce485e7f6a857286c14d0a64354c31
2014-07-20fdo#81547, part1: use ctor reading .ui file, not a resourceKatarina Behrens
This fixes a crash when this tabpage is one of the tabpages in data series properties dialog (e.g. 3D column chart) Change-Id: Iacbc689fb410b30515e433bcf4a96c087047ca73
2014-07-20Fix OpenGL chart reinitializingZolnai Tamás
Problem after ChartWindow was disabled and enabled again, OpenGL content was lost. Two things: -After setting a new OpenGLWindow the corresponding IRenderer must be set (x3DWindowProvider->update) -InitOpenGL() call should not depend on DummyChart, but on OpenGLWindow (OpenGLContext). Change-Id: If74e1945de9973d3921ceea1ca6fef39311add7a
2014-07-20opengl charts: Move the init from sc to chart2, to have the right parent.Jan Holesovsky
Change-Id: I1e23329345e00e7d8e1f269c832e84d015824c0a
2014-07-17fdo#77319: set spinbox value AFTER adjusting no. of decimal placesKatarina Behrens
Doing it the other way round truncates the values Change-Id: Ieb14c9d1b9dde496eac24737aced7c8da8ce1346
2014-07-04add parenthese to fix precedence issueNorbert Thiebaud
Change-Id: Ifb4c750f4ddedd27593acde4e93331e74e9d37c4
2014-07-04coverity#735602-3 Division by zeroNorbert Thiebaud
Change-Id: I2da9857e4d526b60b3bf50e10ab180c493fb288f
2014-07-02remove whitespacesMarkus Mohrhard
Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
2014-07-02coverity#705359 Mixing enum typesCaolán McNamara
and coverity#705361 Mixing enum types coverity#705362 Mixing enum types Change-Id: I557d7178277e5d497e3bbab12b75724c05653f57
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-30CreationWizard already inherits boost::noncopyable via OutputDeviceMiklos Vajna
Change-Id: Ie155742ea9fc29b5b1adfa219c0bc6fdd78cb637
2014-06-27Flush modified data to the model when pressing OK in the data table dialog.Kohei Yoshida
This dialog used to have no OK / Cancel buttons, and the data would get flushed when the dialog got dismissed. This behavior got lost during the dialog conversion. Also, SaveModified() does check whether or not the data table is modified. No need to call IsModified() before calling SaveModified(). Change-Id: I5cea88cb52127cc5c7c1be67a5a592d87df92d0c
2014-06-26fdo#79151: No need to offset column index by category labels.Kohei Yoshida
In fact, doing so would lead to a corrupt internal data table. The internal data stores category labels separately from the column data, so there is no reason why we need to offset for category labels here. Change-Id: I29dd99e53837cba7a1e28d2a1ef39a5384378805
2014-06-26Track all uses of ErrorBarX and ErrorBarY UNO property names.Kohei Yoshida
Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
2014-06-26clang: Uninitialized argument valueCaolán McNamara
Change-Id: Id65c5815185cf022171e3523c6ad92545830104c
2014-06-26Clarify the code a little more.Kohei Yoshida
Change-Id: Idc0ff4913695ade9543cd30511aff61d24e7c495
2014-06-26Move the category level removal code into its own method.Kohei Yoshida
Change-Id: I4f0cfb4b15bc145b7a5c3491a7acbff13999bf5d
2014-06-25Remove these pesky ::com::sun::star ....Kohei Yoshida
Change-Id: I5c8e1418cc7e01426b67233e48289497a92868d3
2014-06-25Tuck this anonymous namespace inside chart namespace.Kohei Yoshida
This way we can eliminate those explicit '::chart' qualifications. Change-Id: I764e0ca57c8e10f7eac47f48a4cabf28d0562113
2014-06-24Re-use DataSeriesHelper::getRole().Kohei Yoshida
Change-Id: Ia880bc03400d4cbf4c3033e01affafccc0a384fb
2014-06-24Annotate the code a little more, to make it easier to follow.Kohei Yoshida
Change-Id: Iefc61fdc132a18e73b0136f0248d69ab9e07a5e8