summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2015-10-17Revert "sfx2: -Werror=unused-parameter"Christian Lohmaier1-2/+0
This reverts commit 7ad750aed1f97ae195e7db896d101116d0c23534. A fixup that now as a leftover causes build-breaks on its own after 192e1cd86f0b072c3efaa7ad32afb303efbff9d9 did revert the reason for it
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky24-214/+148
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky9-97/+74
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky8-73/+69
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky23-161/+146
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16Revert "tdf#95095: Don't create thumbnails on load."Jan Holesovsky2-4/+4
It looks more ugly than I had hoped :-( I'll try to fine-tune it more. This reverts commit 468b55301f385771d65d2f15f9ad7879af29f1cf.
2015-10-16convert Link<> to typedNoel Grandin6-19/+18
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-16sfx2: -Werror=unused-parameterMiklos Vajna1-0/+2
Change-Id: I942976f995bffe0ae47720a6bc4692e20d2a3377
2015-10-15tdf#95095: Don't create thumbnails on load.Jan Holesovsky2-4/+4
Creating thumbnails is quite an expensive operation, so let's avoid that on load, and do that only on the document save or document close. In case the user chooses not to save a modified document, thumbnail is not generated which can lead to document that has no thumbnail; but that's probably a good tradeoff for the speedup. Change-Id: I61bf5ec3fae9596e87963ac7a28ba6e4e52c4e99
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin6-18/+9
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15convert Link<> to typedNoel Grandin5-25/+25
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14java:remove unused importsNoel Grandin1-2/+0
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14coverity#735849 Unchecked dynamic_castCaolán McNamara1-4/+2
Change-Id: Ia8f6b24db5d83337d56599214d0acdb9b144cfc3
2015-10-14coverity#1326292 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I4fc0282463fdfd3e023dafae5b3184b3e016c624
2015-10-14Bump gtk+ version to 2.18Riccardo Magliocchetti1-4/+2
2.18 is the version available in RHEL 6 released in 2010. Change-Id: I4cd4fc89f6b51e6f58ca72b8182f80316b1f4f88 Reviewed-on: https://gerrit.libreoffice.org/19330 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-14convert Link<> to typedNoel Grandin1-1/+1
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13START CENTER: Set new open remote file icon and labelYousuf Philips1-2/+7
Change-Id: I7bede0cb520f446582d01bc0e5f583ddf4655ce0 Reviewed-on: https://gerrit.libreoffice.org/19178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-12tdf#92217: The infobar text should have a transparent background...Jan Holesovsky1-4/+2
...instead of setting background at various places. Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann96-708/+708
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann3-5/+5
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin7-31/+22
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12loplugin:mergeclassesNoel Grandin1-1/+17
Change-Id: I660b102e0e053e632ea6f1880e92652bc1ed5e5e
2015-10-12convert Link<> to typedNoel Grandin1-3/+2
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09correctly dispose the chart sidebar when leaving chart, tdf#94292Markus Mohrhard1-9/+20
This is a much better approach than my old one that tried to use the correct XModel with the chart sidebar. Now everytime we leave the chart edit mdoe we destroy the chart sidebar panels and recreate them when we go back to chart edit mode. As a result we no longer need to have worry that much about using the correct ChartModel and about the lifecycle of the ChartModel. Change-Id: Ie85ad82968e20a81f059d4bd930a83a70da35fc9
2015-10-09no need for using rtl::OUString in core codeMarkus Mohrhard1-1/+0
Change-Id: I6fc8a928374de48910395685b500ba95e8621d39
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-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet6-10/+11
+ tweak files of other modules which needed it Change-Id: Ibb673eba6609734addd233ac1477698c01b94678 Reviewed-on: https://gerrit.libreoffice.org/19180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-06Simplify a bitJulien Nabet1-8/+14
1) change if/else if/... into switch for readability 2) no need to use a #define for something which appears once Change-Id: Ia27d1bd07e4ed0761daa90df0f209c3a4c6cb8f0
2015-10-06revert executable perm changeCaolán McNamara1-0/+0
from 89d39bc100aabf5dccbe77c0b5c0c85736e85b39 Change-Id: Ia98ffdf9d0ffdb6c5037c9cbe911cb9d2212107c
2015-10-06loplugin:unusedmethodsNoel Grandin1-6/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht30-131/+124
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-05loplugin:stringconstantStephan Bergmann1-1/+1
Change-Id: I67ae937470f84ac1d62016d102083b55220dc128
2015-10-05tdf#83531 Opening WebDAV URL WebDav fails if write is restrictedGiuseppe Castagno1-0/+14
Happened because LOCK method was not allowed without credentials. Change-Id: I7b204e67079791a08211410ced4b0b4f015d524a Reviewed-on: https://gerrit.libreoffice.org/17856 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-05tdf#82744: fix WebDAV lock/unlock behaviour - part 3Giuseppe Castagno3-12/+174
Changes done to the code in sfx2, ucbhelper, ucb, unotools in no particular order - add method helpers to call the ucb lock/unlock - add lock/unlock 'real' management - make DateChange property retrieval working for WebDAV as well - add check for changed content of a WebDAV file, in order to reload it correctly when 'Edit Mode' command is activated from GUI - Unlock WebDAV file while saving only if explicitly enabled Needed in order to avoid the small window of file unlocked state that opens while saving a file. When saving LO actually does as follows: - unlock the prevoius version of the file - prepares operations to save the modified version - lock the new file - save the new version - the lock method is enabled if the DAV resource supports it. In case the lock is not supported, for example example DAV with lock disabled, the lock method is disabled. Exception: when the resource is first created and the lock is not supported: a lock command is sent anyway, because if the resource is not yet present, there is no method to detect the lock/unlock availability in this case. - cppcheck:noExplicitConstructor Change-Id: I0aa876c4e3364d86e5740977b97f3db9a01e4491 Reviewed-on: https://gerrit.libreoffice.org/17189 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-03don't show area and line panel in pie chart Chart selection, tdf#94320Markus Mohrhard1-0/+1
Change-Id: I0eacedbb3d96a059278bab0ef98a66ed49b827fc
2015-10-01coverity#1325256 Dereference null return valueCaolán McNamara1-2/+2
Change-Id: If4ae66b8f6aef172c5e616d94f9d804b72d3a774
2015-09-30drop unused headersCaolán McNamara2-2/+0
Change-Id: If28362f97b36e378c426c3747beaddce6933b771
2015-09-30Fix typosAndrea Gelmini2-2/+2
Change-Id: Ib96bf8adc3f94fa0b8b306d2a609dd2eea940dd1 Reviewed-on: https://gerrit.libreoffice.org/18974 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini15-17/+17
Change-Id: Iea53373ab35bbd0189a6de1cb06ed632178a3e20 Reviewed-on: https://gerrit.libreoffice.org/18975 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini13-16/+16
Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c Reviewed-on: https://gerrit.libreoffice.org/18976 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann8-50/+50
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29tdf#93243 replace boost::bind with C++11 lambdas in SidebarController.cxxn.r.pearson1-9/+8
Change-Id: I9a8b6679204fd31af012bf7b9840446ef0b35dfa Reviewed-on: https://gerrit.libreoffice.org/18504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-28Return std::unique_ptr from SvTreeListBox::CreateContextMenuStephan Bergmann2-7/+11
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
2015-09-25tdf#94228 comphelper: replace BOOST_PPDaniel Robertson2-4/+1
Remove makeSequence. Change-Id: If07dc8702d811111fc634c9c7eb4c9a331517ca5 Reviewed-on: https://gerrit.libreoffice.org/18647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-24convert Link<> to typedNoel Grandin2-26/+18
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>