summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2015-02-17boost->stdCaolán McNamara6-71/+71
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara2-263/+263
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin3-7/+7
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-14coverity#1267643 Logically dead codeCaolán McNamara1-1/+3
Change-Id: Ib55dc6c32ec37fe022d268129de12567652c96ba
2015-02-14related tdf#89004 move to std:set instead of std::vectorUrsache Vladimir1-2/+2
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629
2015-02-11Fold INetRFC822Message into INetMIMEMessageStephan Bergmann1-1/+1
Change-Id: I9b02b8f758c3f0613a7b017d8822fc16ebfc9dec
2015-02-08Typo: we has->we haveJulien Nabet1-1/+1
Change-Id: Ib225351c908f5a2e64b039e07030e5d91a9b8dd7
2015-02-07coverity#440978 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I9a58c59932fbe164a05f5088881a11f4f2708cee
2015-02-07loplugin:deletedspecialStephan Bergmann6-87/+78
Change-Id: Ib9e704c3b27dad81eea44583c99ecdbc5449dd13
2015-02-06fdo#87675: Disable 'edit' when next style is same as current one.Heena Gupta2-5/+18
Change-Id: Ifd149890460c44dc3eececc06a36f1b76d46929b Reviewed-on: https://gerrit.libreoffice.org/13811 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-06fdo#87675-"Edit" Button for next style in edit paragraph styleHeena Gupta2-1/+67
Change-Id: I1a4888b869df7f242244bed2fef36996450eec23 Reviewed-on: https://gerrit.libreoffice.org/13639 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage8-16/+12
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara7-37/+33
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-05Updated all precompiled headers.Ashod Nakashian1-0/+10
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-05callcatcher: update unused codeCaolán McNamara1-20/+0
Change-Id: I540d192a361938cd4dca811e7170d762841662ee
2015-02-04rename MenuConfiguration::Attributes->MenuAttributesCaolán McNamara2-10/+10
Change-Id: I2ada1394c4cbee7c27b02f241ee4a254597a5dd8
2015-02-03valgrind: fix leakCaolán McNamara1-1/+1
==1739== by 0x7A93F1C: SfxUInt16Item::Clone(SfxItemPool*) const (in core/instdir/program/libsvllo.so) ==1739== by 0x7047E11: SfxShell::PutItem(SfxPoolItem const&) (shell.cxx:196) ==1739== by 0x27FCA298: SdModule::GetSdOptions(DocumentType) (sdmod.cxx:172) none of the other uses of pCache->SetState clone, and I don't see why this one does. Change-Id: I7d3cf6969c433c890776dfbcc1dc57d72420b6e2
2015-02-03callcatcher: shave off some moreCaolán McNamara5-54/+0
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-02seeing as it assumed it was non-null since day 0, so can weCaolán McNamara1-6/+2
Change-Id: I64632ecaab720c9c8d6be0b597b990b55682f296
2015-02-02callcatcher: remove some unused methodsCaolán McNamara3-26/+3
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
2015-02-01coverity#440978 Dereference before null checkCaolán McNamara1-2/+1
Change-Id: Ib58f88c0756bdcedeb1f478364e0d89640fd3d11
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara7-148/+0
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-28Some more loplugin:cstylecast clean-upStephan Bergmann1-1/+1
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-28tdf#60739 code factorisationMichaël Lefèvre1-0/+14
Limit duplciation for SfxRequest SID_OPEN_XML_FILTERSETTINGS in sw shells Change-Id: I316e7df50df5c6d24feb953415ebf61ca822066d Reviewed-on: https://gerrit.libreoffice.org/14184 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-28remove unused typedefsNoel Grandin3-3/+0
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26coverity#1266518 Use after freeCaolán McNamara1-1/+2
Change-Id: Ic50ace9d1421c9207ac95c54f363072c69b9ad00
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin2-15/+15
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin7-53/+24
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-25coverity#1266505 Useless callCaolán McNamara1-5/+0
Change-Id: I13934ef5b18668044fbe3a2e7d916f2f7c477723
2015-01-25coverity#1266510 Useless callCaolán McNamara2-5/+2
Change-Id: I4e3127243b103ea77a56aa9cfbcb61793a644ce3
2015-01-24Typo: syncro->synchroJulien Nabet1-6/+6
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-21add has-focus .ui supportCaolán McNamara1-0/+1
Change-Id: Ifd95d9fa74f6cbba989c05aae2a225a85b78c9f1
2015-01-21slot:5500 -> .uno:NewDoc(FromTemplate)Caolán McNamara2-6/+3
try and strip out the slot:5500 magic/lunacy Change-Id: I7236c83fba6cb8264f76aca90242775a3de58645
2015-01-21Resolves: fdo#88562 convert filename widget from ro-edit to selectable-labelCaolán McNamara1-5/+6
Change-Id: I56205bf5c28b6196aae10ecfa658111768f0e433
2015-01-21Related: fdo#88562 Nothing actually sets ID_FILETP_READONLY or ID_FILETP_TITLECaolán McNamara2-61/+62
so docs cannot be toggled r/o r/w from properties page or the file name changed. Unkink the logic a bit based on that and move now static widget settings to .ui and remove unused checkbox Change-Id: Ic55e41be8ffd02e214a233a2eb90736c070b5418
2015-01-21Resolves: fdo#88594 crash on F1 with local helpCaolán McNamara2-7/+12
regression from commit 1049511c0c5d881df4ba8042744d63d37878296f Date: Tue Jan 13 21:43:27 2015 +0900 infobar: add buttons one by one with addButton Change-Id: Icf758a9671191836bbe5bc7ca7d978574cb74479
2015-01-20Some more loplugin:cstylecast: sfx2Stephan Bergmann11-34/+34
Change-Id: I19f3ce00e5e19dd34db2d92cae1b532d3c3eae6a
2015-01-19Remove unused STR_SAVECOPYDOCStephan Bergmann2-5/+1
(and identical copy that is actually used is in framework/source/classes/resource.src) Change-Id: I2b010af459e6d59ab8cfae33e6f9c009ede1d514
2015-01-19fdo#86147: Do not reset r/o mode for SID_SAVETOStephan Bergmann1-2/+7
...(aka "Save Copy as...", as is used when the document is actually a DB form) but only for true "Save As..." For reasons remaining un-debugged, calling SetReadOnlyUI(false) on the former would somehow lose the connection to the embeddedobj Interceptor instance. Change-Id: I334cd6c5ebd596e408357bb6820800075217d2d1
2015-01-19Re fdo#80538: Remove read-only infobar after "Save As..."Stephan Bergmann1-0/+1
...on a doc in r/o mode, which will switch to the newly saved document in r/w mode. Was missing from c6270de939d5ee51b61dc4ac02c52f1d9b5b1e47 "fdo#80538 Show an infobar when document is in read-only mode." Change-Id: Ie17f4213f989cb4b9d3f7fc114392ec6f516a965
2015-01-19fdo#88241 Floating sidebar second call to same item should dismiss itTrent MacAlpine1-2/+11
Note that this was written to be used in combination with commit 304e2002a053e9eb54e36462165eca831da8aeb2 to give back the behavior of calling and dismissing the styles and formatting dialog. Change-Id: Ic05db180425b0a2dcd05774b6fa0227b01464731 Reviewed-on: https://gerrit.libreoffice.org/13980 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-01-19fdo#87217 Inconsistent floating sidebar close behaviorTrent MacAlpine1-11/+2
Remove code that caused an undocked sidebar to reenable a docked sidebar when you attempt to close it using the window manager. It should simply be closed instead. Change-Id: Ib058d167b6c89f42df3ce4c80e4d97435b31c31d Reviewed-on: https://gerrit.libreoffice.org/13979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-01-16Provide thumbnail size via constructor for RecentDocsViewItemTomaž Vajngerl2-5/+2
Change-Id: Ic206ebff28683da2b1daf23039820c2184788595
2015-01-14do TODO: replace ImplCallEventListeners() by CallEventListeners() in vclCaolán McNamara1-2/+2
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
2015-01-14infobar: add buttons one by one with addButtonTomaž Vajngerl3-46/+39
Change-Id: I5c9da630fe800df8da8ff32d7bb3e6b19fc37a8d
2015-01-14infobar: reuse gathering the dark/light colors from settingsTomaž Vajngerl1-18/+21
Change-Id: I923221f502c4efd200f77d5c73f03d124490ee39
2015-01-14infobar: combine anon. namespace, light/dark color to constantTomaž Vajngerl1-57/+56
Change-Id: Ie22c9b2997031146ee3a25ad55b2198ed50ee028
2015-01-14Scale the infobar controls correctly with DPI scale factorTomaž Vajngerl1-9/+23
Change-Id: I7d5b3daf4ae4da05bb7f09e80e790edae24e0eaf
2015-01-14Further cleanup style in infobar, remove basegfx namespace in codeTomaž Vajngerl1-47/+50
Change-Id: I0201d87d631413fc75230535e25c8eac189ede10
2015-01-14Cleanup infobarTomaž Vajngerl1-67/+66
Change-Id: I2479b8df69da3c05021a82d269925a6374709c72