summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-10-14coverity#735849 Unchecked dynamic_castCaolán McNamara
Change-Id: Ia8f6b24db5d83337d56599214d0acdb9b144cfc3
2015-10-14coverity#1326292 Unchecked dynamic_castCaolán McNamara
Change-Id: I4fc0282463fdfd3e023dafae5b3184b3e016c624
2015-10-14Bump gtk+ version to 2.18Riccardo Magliocchetti
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 Grandin
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-13START CENTER: Set new open remote file icon and labelYousuf Philips
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 Holesovsky
...instead of setting background at various places. Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin
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 Grandin
Change-Id: I660b102e0e053e632ea6f1880e92652bc1ed5e5e
2015-10-12convert Link<> to typedNoel Grandin
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 Mohrhard
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 Mohrhard
Change-Id: I6fc8a928374de48910395685b500ba95e8621d39
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I539f08ed94326d27c9ae8808d006c31d8403cd18
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Iaa340068ed1361e6bc0160ae9c44873c06085abf
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Iaacaa3767398cea4c7850c3a8d186cf3754c4736
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I08c015da8f93b2c32c8c467ee633b4cd5a71a550
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I30263e362a30f9b625d4e87f82c2ad2c403a1882
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I325b4c71507ca64a42d773cd4c66f936dfe09743
2015-10-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet
+ 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 Nabet
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 McNamara
from 89d39bc100aabf5dccbe77c0b5c0c85736e85b39 Change-Id: Ia98ffdf9d0ffdb6c5037c9cbe911cb9d2212107c
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
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 Bergmann
Change-Id: I67ae937470f84ac1d62016d102083b55220dc128
2015-10-05tdf#83531 Opening WebDAV URL WebDav fails if write is restrictedGiuseppe Castagno
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 Castagno
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 Mohrhard
Change-Id: I0eacedbb3d96a059278bab0ef98a66ed49b827fc
2015-10-01coverity#1325256 Dereference null return valueCaolán McNamara
Change-Id: If4ae66b8f6aef172c5e616d94f9d804b72d3a774
2015-09-30drop unused headersCaolán McNamara
Change-Id: If28362f97b36e378c426c3747beaddce6933b771
2015-09-30Fix typosAndrea Gelmini
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 Gelmini
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 Gelmini
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 Heinemann
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.pearson
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 Bergmann
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
2015-09-25tdf#94228 comphelper: replace BOOST_PPDaniel Robertson
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 Grandin
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-21cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I53f9965609c04fd2f0b955fd04de8fc953917344
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21sfx2: add SfxViewShell::libreOfficeKitViewCallback()Miklos Vajna
This is similar to the existing LOK callback, the difference is that the existing one assumes there is only one SfxViewShell instance at the same time. This newer callback is precisely per-view, so model notifications can invoke all view callbacks, while view notifications can invoke only the callback of the relevant view. This is just the framework, all actual client code has to be still ported over (and then the existing callback can be removed). Change-Id: I3d8f27740c69fcf6ffbbdce12db2ea088321493d
2015-09-21SfxLokHelper::setView: check if view is already currentMiklos Vajna
Change-Id: I9cf3a4887774657e0e205114688b088fc11c6822
2015-09-21LOK: make getViews() be a member function of DocumentMiklos Vajna
Just to be consistent, as all other view-related member functions are there, too. No real impact, as only the unit test uses this so far, and it always works with a single document. Change-Id: I46f1ed8265ab95017986ab45c1b510e961192241
2015-09-21gtktiledviewer: use setView() before postKeyEvent()Miklos Vajna
Also in SfxLokHelper::setView() set the current view shell directly, GetFocus() in VCL may be a NOP for hidden windows. With this, the Writer layout dump shows that two Gtk windows can have different cursor positions correctly. Change-Id: I81890c1d8ad7972f1194db3d5f2e9d8a39fc2f87
2015-09-21Use SfxViewFrame::Current()Miklos Vajna
Allows getting rid of vcl::ITiledRenderable::getCurrentViewShell(), which would do the same, just not implemented outside Writer. Change-Id: Id26ceca560fb9002dc2d5c740c411b9c4a149523
2015-09-21lok::Document: add get/setView()Miklos Vajna
Change-Id: Ic3bce8f01d7e048e853c063c4bce1255845c60d0
2015-09-21lok::Document: add destroyView()Miklos Vajna
Change-Id: Id9e92593217541b4123e95279019cec3c958056c
2015-09-21lok::Office: add getViews()Miklos Vajna
Change-Id: Iabfb0f2a19106dc4a6bdae45f9e85d76c68a973e
2015-09-21sfx2: add SfxLokHelperMiklos Vajna
This is meant to be a class that is visible outside sfx2 (so e.g. desktop can use it later), but has access to various sfx2 internals. Change-Id: I83204963492b11c1c4a621e86528a64fba27acf3
2015-09-20convert Link<> to typedNoel Grandin
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>