summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-02-05Updated all precompiled headers.Ashod Nakashian
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 McNamara
Change-Id: I540d192a361938cd4dca811e7170d762841662ee
2015-02-04rename MenuConfiguration::Attributes->MenuAttributesCaolán McNamara
Change-Id: I2ada1394c4cbee7c27b02f241ee4a254597a5dd8
2015-02-03valgrind: fix leakCaolán McNamara
==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 McNamara
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-02seeing as it assumed it was non-null since day 0, so can weCaolán McNamara
Change-Id: I64632ecaab720c9c8d6be0b597b990b55682f296
2015-02-02callcatcher: remove some unused methodsCaolán McNamara
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
2015-02-01coverity#440978 Dereference before null checkCaolán McNamara
Change-Id: Ib58f88c0756bdcedeb1f478364e0d89640fd3d11
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
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 Bergmann
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-28tdf#60739 code factorisationMichaël Lefèvre
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 Grandin
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 McNamara
Change-Id: Ic50ace9d1421c9207ac95c54f363072c69b9ad00
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
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 Grandin
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 McNamara
Change-Id: I13934ef5b18668044fbe3a2e7d916f2f7c477723
2015-01-25coverity#1266510 Useless callCaolán McNamara
Change-Id: I4e3127243b103ea77a56aa9cfbcb61793a644ce3
2015-01-24Typo: syncro->synchroJulien Nabet
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-21add has-focus .ui supportCaolán McNamara
Change-Id: Ifd95d9fa74f6cbba989c05aae2a225a85b78c9f1
2015-01-21slot:5500 -> .uno:NewDoc(FromTemplate)Caolán McNamara
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 McNamara
Change-Id: I56205bf5c28b6196aae10ecfa658111768f0e433
2015-01-21Related: fdo#88562 Nothing actually sets ID_FILETP_READONLY or ID_FILETP_TITLECaolán McNamara
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 McNamara
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 Bergmann
Change-Id: I19f3ce00e5e19dd34db2d92cae1b532d3c3eae6a
2015-01-19Remove unused STR_SAVECOPYDOCStephan Bergmann
(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 Bergmann
...(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 Bergmann
...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 MacAlpine
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 MacAlpine
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ž Vajngerl
Change-Id: Ic206ebff28683da2b1daf23039820c2184788595
2015-01-14do TODO: replace ImplCallEventListeners() by CallEventListeners() in vclCaolán McNamara
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
2015-01-14infobar: add buttons one by one with addButtonTomaž Vajngerl
Change-Id: I5c9da630fe800df8da8ff32d7bb3e6b19fc37a8d
2015-01-14infobar: reuse gathering the dark/light colors from settingsTomaž Vajngerl
Change-Id: I923221f502c4efd200f77d5c73f03d124490ee39
2015-01-14infobar: combine anon. namespace, light/dark color to constantTomaž Vajngerl
Change-Id: Ie22c9b2997031146ee3a25ad55b2198ed50ee028
2015-01-14Scale the infobar controls correctly with DPI scale factorTomaž Vajngerl
Change-Id: I7d5b3daf4ae4da05bb7f09e80e790edae24e0eaf
2015-01-14Further cleanup style in infobar, remove basegfx namespace in codeTomaž Vajngerl
Change-Id: I0201d87d631413fc75230535e25c8eac189ede10
2015-01-14Cleanup infobarTomaž Vajngerl
Change-Id: I2479b8df69da3c05021a82d269925a6374709c72
2015-01-14reuse Resize to set control size and placement in infobarTomaž Vajngerl
Change-Id: I4e11cd8f02c41f73b2dda05effbcc17db036f3fc
2015-01-14infobar: unique_ptr and make more readableTomaž Vajngerl
Change-Id: Iadaba3d9c16bdde3715d4836fa0d5661b90ccab4
2015-01-14ptr_vector & unique_ptr for infobarTomaž Vajngerl
Change-Id: Id0d9be65aff504ff6092fa64e8207ddb1b7aeea5
2015-01-14Resolves: fdo#87353 Start Center 'Help' button not functioning any moreCaolán McNamara
Change-Id: I81607ea1951c4a71c003e639b3ebe871a6943374
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-12java: simplify sleeping and waiting in testsNoel Grandin
- remove the SHORT_WAIT test parameter, no-one is using it - inline the various independent shortWait() methods - use the util.utils.shortWait() utility method everywhere Change-Id: I93cd4a2580172a1441d2ff3d390f52b9505e2721
2015-01-10Fix long/sal_IntPtr mismatch on x86_64 platform on windowsDavid Ostrovsky
25e291438231611823dadc195fd26d26a1b8ece4 changed Link class to use sal_IntPtr instead of long, but missed to adjust number of occurrences. Change-Id: I966185083a41b41c7385947a03369a8ce65c61b8 Reviewed-on: https://gerrit.libreoffice.org/13852 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-09fdo#84938: replace SYSTEMWINDOW_MODE constants with 'enum class'Noel Grandin
Change-Id: I1c761482cb78efc26d3beda75381557268e1bc0d
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07Completed TODO: simplify appending to sequence.Matthew Pottage
File sfx2/source/appl/appopen.cxx. Fixed by using std::vector instead of Sequence; Simplifying the code. Change-Id: Iecb45ba3429be86d03fad5275d0f0a92b659a542 Reviewed-on: https://gerrit.libreoffice.org/13605 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>