summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-07sc tiled rendering: fix showing all search resultsMiklos Vajna1-1/+2
Calc can have multiple cells selected, but there is only one cell which has the black border around the cell. Code in ScViewFunc::SearchAndReplace() assumed that the two are always the same, and that's how find-all always highlighted the first match only. Fix this by avoiding emitting LOK_CALLBACK_TEXT_SELECTION two times, at least in the find-all case. Change-Id: Ifce789c7f5f11e94fb2445846279823096ecb2dd
2015-10-07lokdocview: invalidate after selection changeMiklos Vajna1-0/+1
Without this e.g. Calc search does not show the selection rectangle correctly. Change-Id: I5bc20a93ee861d3353bc2e1c1ed7ea8d0e6c8ed4
2015-10-07Link in calc, draw and edit stuff here, too, like for AndroidTor Lillqvist1-1/+1
No way to make use of that in the UI, though. Change-Id: Ic910d7960da9a17d4f7ce84a5f51e2cb9350819e
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: I0c0475ea6a38ecfd72772d287b8217a0754238d6
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I3659c9d7b0b88a59c60aaedc5305b354bb977768
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I95e230d3a16f742cf996beb3a93b2c0906cdd72a
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-9/+3
Change-Id: If0d69a8d3bfaef732e436fad6a91851095fdb3be
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I539f08ed94326d27c9ae8808d006c31d8403cd18
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: Iaa340068ed1361e6bc0160ae9c44873c06085abf
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+0
Change-Id: Iaacaa3767398cea4c7850c3a8d186cf3754c4736
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-7/+3
Change-Id: I08c015da8f93b2c32c8c467ee633b4cd5a71a550
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: I30263e362a30f9b625d4e87f82c2ad2c403a1882
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+0
Change-Id: I325b4c71507ca64a42d773cd4c66f936dfe09743
2015-10-07afl-eventtesting: quit on next cycle if testing stops earlyCaolán McNamara1-5/+4
Change-Id: Ie313009ee0d10872f5e705d017e6a73ff83c2761
2015-10-07fix some indentCaolán McNamara1-13/+13
Change-Id: I59f5a38f6c62b97eb73d85177be408996568e2cd
2015-10-07afl-eventtesting: it has learned to open the file dialogCaolán McNamara3-3/+9
but the system dialogs are not under our control Change-Id: Icb4029b2447e8cddbe4e48137fdefc377ef50414
2015-10-07cppcheck: noExplicitConstructorCaolán McNamara37-54/+54
Change-Id: I32c6728ce7423fd997cdbec66feb8a6ba39948d2
2015-10-07rename WEEKNUM_ADD to WEEKNUM_EXCEL2003 in UI, tdf#50950 follow-upEike Rathke4-13/+35
... and add description to clarify that it exists for interoperability and for new documents WEEKNUM should be used instead. Also NETWORKDAYS_ADD to NETWORKDAYS_XCL. Change-Id: I01e705d57f0b31983950ac0e47ecb894f657de88
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+2
Change-Id: I9570057473f844c55b88d38f24f8156ea7c6c90c
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-50/+18
Change-Id: Ia381f1b7558e2882a9dc5b8f6e127d24a4b841c3
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I58f6f4db6f5bdc30402f55aee233e465248becf6
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+1
Change-Id: Id5df4d888d0129c1084642ee65e8bba9f5f8ca74
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+4
...introduced with dc5383e2fa487a7599f2e317bba409dc3cde8339 "fdo#84229 - don't set error when seeking beyond end of valid data." Change-Id: Ic26872ce47ff27a0e1170ebc66cdf10587334192
2015-10-07Actually check the return values of the various Coin* callsStephan Bergmann1-7/+16
...the code had been like this ever since it got introduced with 6d492447a37ec268fb5924e7fc5631c29c67325d "118160: Use CoinMP as replacement for lp_solve," but it looks more plausible that the return values should be checked rather than be ignored. At least, CppunitTest_sccomp_lpsolver keeps succeeding after the change (with --enable-coinmp). Change-Id: If450827ae034079c9ee69b4e49c55b480ac0de06
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: Ia4444a059ed2b5349c39d87d60fd9875d0ab36f8
2015-10-07Abstract out repeated code into a lambdaStephan Bergmann1-18/+13
...to silence a clang-analyzer-deadcode.DeadStores on the last update of pBuffer Change-Id: I144b64c330c178f78109fefadacf62fca3765694
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+3
Change-Id: I823aab2038eb08f4061e353b5fafc12b8e60e671
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: I95404b553f594ced1e2e8b4b8ddf34c08180128f
2015-10-07afl-eventtesting: creating OUString from super long sal_Unicode* is slowCaolán McNamara11-71/+80
the mpStr and mnLength arguments are always created from an OUString and the OUString aRun(rArgs.mpStr); creates a duplicate of the original string. Its way faster to pass the original OUString around instead. Change-Id: I3de0cc31654eb215362548b6aee435f9c0c3c9db Reviewed-on: https://gerrit.libreoffice.org/19221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-07afl-eventtesting: it has learned to open dialogs, so...Caolán McNamara1-2/+14
close all open dialogs on quitting to avoid triggering the hang timeout and get things moving faster Change-Id: I7469a32549f20d6b0971932e3334cb322f57b1ff
2015-10-07afl-eventtesting: lets ditch the key repeat and timestamp fieldsCaolán McNamara3-4/+3
time stamp doesn't matter apparently for keyboard events so ditching it gives less surface area to fuzz repeat showed some interesting effects, but mostly just allows vast paragraphs to be generated causing timeout hangs which isn't what I'm super interested in right now. Change-Id: I955b91745a26d5044f0d53acd3fda0a160e53855
2015-10-07tdf#94829: Splash screen sets invalid XSizeHintsJulien Nabet1-0/+4
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-07tdf#73691 add compatible macosx keyboard shortcut for ToggleUnicodeJustin Luth1-2/+8
Change-Id: I948bee0bb7d6889b9bcfb75d0119b85cc6146094 Reviewed-on: https://gerrit.libreoffice.org/19224 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-07Revert "loplugin:mergeclasses" to fix mac buildCaolán McNamara6-14/+24
because fontsubst.cxx is not built on mac. move PreMatchFontSubstitution to PhysicalFontCollection.cxx ? This reverts commit 349700228e4449ace956b30bc65208b9196f0a78. Change-Id: I007f24313ddfd0eb3db3fd599abcf1eae3da4e9c
2015-10-07crashtesting: remove old fix for ooo55381-1.sxwCaolán McNamara1-1/+0
this reverts commit 9eb16c85d6af4b73de9a75716c3ff34f929f26b2 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Jun 3 14:15:03 2015 +0100 don't crash on layout of ooo55381-1.sxw The pLay here is getting joined and thus deleted in a stack of FormatLayoutTabs so set it as unjoinable for the duration that we expect pLay to remain valid because ooo31216-2.doc fdo57780-2.doc rhbz193771-1.doc assert when converting it to a more conservative SwFrmDeleteGuard. They would leave the function safely on the early return if the delete was allowed, so go more conservative again and restore to the original logic. ooo55381-1.sxw continues to apparently not fail.
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-5/+4
Change-Id: Ie8e69d2a39abf6538cf3f8b75b76042ca7b71521
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: I22b423b99c87070ab1b8ce7f3eff928384951947
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: I9c409cb2d7898ac6f395618cd950385cf036b002
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-9/+9
Change-Id: I273aee2d65f952afd78f6e2e504b5fa70dd65ef0
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+1
Change-Id: I6a903931fdb3ac1b13d2d9c39071cc27c08fe194
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-5/+7
Change-Id: Ic9d76c173d3948c973a96a97debccc771c2c9ede
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+5
Change-Id: I028994045b13625e09589190e3cc259c49714e20
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-4/+3
Change-Id: I4c9013fca76b213a725e39a47e61775caf5e8519
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-6/+2
Change-Id: Id193a3fa8c3832da783f8647d6fc6db8375149f4
2015-10-07Sane::SetOptionValue return values are unusedStephan Bergmann2-33/+18
Change-Id: Ie9310be6508fe828ca1ef36372d56596a02085aa
2015-10-07Improve polynomial trend line equationLaurent Balland-Poirier1-2/+6
Skip coefficient if its value is 1 (or near 1) Change-Id: I39a5630cc76250ded1ab22709522344d42fcc0e9 Reviewed-on: https://gerrit.libreoffice.org/19037 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07loplugin:mergeclassesNoel Grandin13-172/+80
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07loplugin:mergeclassesNoel Grandin5-36/+25
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07loplugin:mergeclassesNoel Grandin5-42/+33
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07loplugin:mergeclassesNoel Grandin7-26/+15
Change-Id: I9f56beebae1ea02a8914b7b25fe7565f7b0df053