summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2015-05-28Resolves: tdf#90960 toggle out of paste-mode on editing an objectCaolán McNamara1-0/+6
otherwise pressing return in the object goes to the sheet and attempts to paste over the current cell reproduce with insert->comment in A1, insert some text and click in e.g. A5, ctrl c, right click on A1 and show comment, double click on comment to edit, go to end of text and press enter, either "bad things happen" if a11y is enabled , or "nothing happens" instead of a new line appearing in the object Change-Id: Ie44851cf3394652e1a60eecb59a999889094b3c5 (cherry picked from commit 7b75dc8ccca61988392779d4c61eef15f1211c16)
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung10-11/+11
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-28Resolves tdf#67712 form controls and draw objectsHenry Castro5-0/+327
anchored to cell but changes position after reopening Also included tdf#68797 "FILEOPEN lost position of lines anchored to cell". It was marked as duplicate but the step to reproduce are different. Conflicts: sc/qa/unit/subsequent_filters-test.cxx Conflicts: sc/qa/unit/subsequent_export-test.cxx Reviewed-on: https://gerrit.libreoffice.org/15523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 487880b6882ec01c1b4679eae60bec484272a86b) Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: Ia1c4010f118749256077a0ecad6ca16b867d22f7
2015-05-27tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks2-2/+2
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe (cherry picked from commit f849d96463d967214bc063f6de912a082272c395)
2015-05-27Resolves: tdf#91416 setting progress -> resize -> destroy formula contextCaolán McNamara4-7/+35
i.e. setting progress triggers ScTabView::DoResize and an InterpretVisible and InterpretDirtyCells which resets the mpFormulaGroupCxt that the current rCxt points to, which is bad, so disable progress for the duration of the GetResult loop Change-Id: I8e88cee4dd2308ef61dee934d300a38978833703 (cherry picked from commit e3c1a394a00cef416a81b89b6d5c204891abb286)
2015-05-27Fix accidental mis-uses of VclPtr address-of operatorStephan Bergmann1-1/+1
Change-Id: I3a82423378d3198a25f90ddfbf42af55d85c96fb (cherry picked from commit 668408fa1c69eaf0f0a37f24e2ec8b4a38fe3db7, w/o the accidentally included sw/htmlexport-swobjects.patch)
2015-05-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks4-4/+4
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-26tdf#91499 - cleanup AnyRefDialog VclPtr's with an explicit dispose method.Michael Meeks2-1/+16
Change-Id: Ib3571fc6d2aa9343bcfd2d6a5bdbd6b1d193c0f1 Reviewed-on: https://gerrit.libreoffice.org/15883 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-22tdf#54346 remove confusing description for function WEEKDAYWinfried Donkers1-1/+1
The output range mentioned in the function wizard is not always 1-7, but dependent of the value of argument Mode. The output range for each possible value of argument Mode is clearly described in the regular help for Calc. Change-Id: I23eae9be6f8f38319496aaf4a1b7f2349e2be3eb Reviewed-on: https://gerrit.libreoffice.org/15852 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org> (cherry picked from commit b2cf675b827912feb5edfbca1ea902d1ab92ed6b) Reviewed-on: https://gerrit.libreoffice.org/15868 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-20ScIconSetFormatData::mbCustom read uninitialized...Stephan Bergmann1-1/+2
...in ScIconSetFormat::GetIconSetInfo, e.g. during CppunitTest_sc_ucalc Change-Id: Ia4380110cafdb0f220b99a8e1aeb5c3efde60d7f (cherry picked from commit 186b1e00017c163fdef5e8ceb1221c2d416b32cf)
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier12-54/+54
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20Those #define-s are still usedKatarina Behrens1-0/+4
Maybe they don't have to be, but this fixes the build at least Change-Id: I278ecafcc96d8febc802c7a7ce907c98df95271c
2015-05-20tdf#91126: Enable click-on-column-header sortingKatarina Behrens1-7/+3
in the same way as in f92ab4da51647a4353038 Change-Id: I209475499307c5564774e1cd5808e3792a10be25
2015-05-20tweak to try and silence coverityCaolán McNamara1-1/+1
Change-Id: I990ad07784266e2b48638ece6a84471b3bef173a
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin6-8/+8
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin4-15/+15
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-20convert GRID constants to scoped enumNoel Grandin2-4/+4
Change-Id: I73ae63bc5f41f38d1a4e396152808b22e88681d8
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin2-2/+2
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-20forgot to include that partMarkus Mohrhard1-2/+3
Change-Id: I8d905ca573e1ff15c4bf6049ce8884b223ff146c
2015-05-20better algorithm for OOXML column width import, tdf#91267Markus Mohrhard1-1/+22
This patch contains a magic factor of 1.047 that is necessary as the set value and retrieved value are not the same. When we ahve too much time (propably never) we should explore why the value that we set for the column width is not equal to the one that we see on the screen. Change-Id: I317127ea5b8af2d5e8386758e66907a44fe58579
2015-05-20add missing DoClose at end of testMarkus Mohrhard1-0/+2
Change-Id: Ia06522ba4d3e6b4495e17d260d0bc3618b1a7cf2
2015-05-19Typo: SetCharAttriutes->SetCharAttributesJulien Nabet3-3/+3
Change-Id: I889f67f1bc097b171ba416cd07d1a54a0cbc542d
2015-05-19draw Note mark before text for correct ZOrder tdf#89182Laurent Godard1-5/+5
the cell content is now drawn over the cell note rectangle Change-Id: Idce05497b7a9f67e5e315f5bc2f9c59e53898131 Reviewed-on: https://gerrit.libreoffice.org/15802 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-19tdf#91364 - fix data-pilot and auto-filter popup lifecycle.Michael Meeks2-1/+3
Change-Id: I6bc94025da3d6536b38cb43eef262d1d5f4c4c4c
2015-05-19fix Windows buildNoel Grandin1-1/+1
after my commit 10749bbf8247f0b17201b33f95a090dfc4fc3211 "remove the last of the OUString #defines in header files" Change-Id: I0db573b59571ed859d14e5e7d5550cfa0335234d
2015-05-19remove the last of the OUString #defines in header filesNoel Grandin3-7/+7
Change-Id: Id9e8ce7987e055e83b52c7024413570f262e6e8d
2015-05-19sc: simplify code by replacing std::find_if with std::any_ofTakeshi Abe10-41/+23
... or std::none_of. Change-Id: I84808bedbaf098f7c4c987ea62d0ccc4a2b7c2f5 Reviewed-on: https://gerrit.libreoffice.org/15780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-19coverity#1298899, resource leakMarkus Mohrhard1-1/+1
Change-Id: I2bf0df28c23af19bf417e70a0039c7bdccefd6cf
2015-05-19coverity#1298900, init memberMarkus Mohrhard1-0/+1
Change-Id: I0d4e3e96a376e2d0e7232bb1bbe397ec80047320
2015-05-19add test for OOXML ref string conversionMarkus Mohrhard2-0/+18
Change-Id: Icef24eb47b34f1609026a4ead01329846034405a
2015-05-19add test for tdf#91335Markus Mohrhard2-0/+17
Change-Id: I27d70b5c3bdba01a57fa66416da725a426c6b784
2015-05-19don't use default style as parent for OOXML cond format style, tdf#91335Markus Mohrhard3-2/+13
Change-Id: I1388bb5ab71f6f6d174872023f085240f3bff916
2015-05-19use XL_A1 as ref string syntax for excel produced documentsMarkus Mohrhard2-1/+21
Change-Id: Ieed3521674ef713d9c09313cd41d1edd6ba3dcc5
2015-05-19replace import with direct ScCompiler calls, related tdf#91367Markus Mohrhard2-4/+18
Change-Id: Ib605536d002071ae753e7da87137deae00529272
2015-05-18render vertically merged cells togetherMarkus Mohrhard1-3/+20
This helps with databars and color scales in merged cells. Change-Id: Ice2054a03d031012645a1f2537da1ea636cbbaef
2015-05-18callcatcher: update unused codeCaolán McNamara6-111/+3
Change-Id: I43dd399368953c629916dad8104a296f837a6344
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl2-9/+9
- Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
2015-05-17add a few more databar length testsMarkus Mohrhard1-0/+20
Change-Id: I178a028d65acaf80fdfe23c3911c1f178650b9c1
2015-05-17add tests for last round of fixesMarkus Mohrhard2-6/+55
Change-Id: I5c6d079e8da8797edae4f0649524fcd70c84f2bf
2015-05-17a few more databar length fixesMarkus Mohrhard1-4/+4
Change-Id: I29f27d3a84d16d9d6e9d51c4e86881fff6aa4b96
2015-05-17also test zero positionMarkus Mohrhard1-3/+5
Change-Id: I74dac1362acb04453c51d93ce9fd400a4ce22f2f
2015-05-17add more databar length testsMarkus Mohrhard1-3/+26
Change-Id: I16ea569d360e75290b9b5a54b915c83dd99db759
2015-05-17more databar length bugs fixedMarkus Mohrhard1-2/+4
Change-Id: I921e6dbbf62c3bd5c3c8552161ba6f5d25a0185b
2015-05-17extract code into own methodMarkus Mohrhard2-25/+45
Change-Id: I13fe9fcdbc056480b7eb66304f9ddef48bab3bd4
2015-05-17initial test for databar length calculationMarkus Mohrhard2-0/+49
Change-Id: I6fb47b7987733e4047008430a62f77d58cc592ad
2015-05-17another databar length calculation bugMarkus Mohrhard1-0/+2
Change-Id: I164e1da11fe43b87c9fba32249439cbce860da6a
2015-05-17add missing DeleteTab in testMarkus Mohrhard1-0/+1
Change-Id: I396b9416e60aeba6576be7e3accdc9b2ae6575c4
2015-05-17fix more conditional format crashes, tdf#90982Markus Mohrhard1-0/+4
Change-Id: I009df010f93641310c31031f535d50fb42a655ba
2015-05-17fix incorrect databar length calculationMarkus Mohrhard1-11/+8
Change-Id: I8d6fda8b78daa228fff62f2af8f5f14c7aa03312
2015-05-17little refactoring in databar codeMarkus Mohrhard1-48/+46
Change-Id: Icf2943604106440ff0b1979ebe10497f01fea784