summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
AgeCommit message (Collapse)Author
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-03-31sfx2: fix VBA crash when disposing SfxBaseModelMichael Stahl
Crash on WNT in CppunitTest_sw_globalfilter testSkipImages() SfxBaseModel::dispose() calls some event listener that deletes the BasicManager instance; unfortunately SfxObjectShell_Impl has a SfxBasicHolder member that still refers to the deleted BasicManager and then something calls vba::getVBAServiceFactory()... Try to fix that by clearing the SfxBasicHolder member via SfxListener. Change-Id: I65f2ec8e9eb598be218136c06ed8de35a464a971
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I872e6010b1068fe0f19f5f934c1124c7073160e1
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
2015-03-28Bin a few SAL_INFOs that basically just say "we are here"Tor Lillqvist
Such are fairly pointless to keep permanently in the code. Use a temporary SAL_DEBUG if you need tracing output when you reach a certain lines while hacking. Change-Id: I13a898486731c6d2995e92e2c5dcd0d1429e47cc
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I59526bea5104def80e98902e4cf16e7bcfaa250c
2015-03-24convert SvxZoomType to enum classNoel Grandin
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24convert sfxlink to enum classNoel Grandin
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-24convert SfxChildAlignment to enum classNoel Grandin
Change-Id: I9013bc6dace79421b0a9ad0401a4fb59365d4dcf
2015-03-23HAVE_FEATURE_SCRIPTING, but no config_features.h include.Jan Holesovsky
Change-Id: I46119fbae611a762930db9cccdd11c35788c9f9c
2015-03-19loplugin:constantfunction: sfx2Noel Grandin
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18sal_uIntPtr->SotClipboardFormatIdCaolán McNamara
Change-Id: I087c82cb5f0e5194ddd799b393d1fd55a4ad06d0
2015-03-18SotClipboardFormatId::FILE->SotClipboardFormatId::SIMPLE_FILECaolán McNamara
Change-Id: Ice4963da8a856b1d2ada13e5b699157a0217e06c
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-12sfx2: PVS-Studio V595 'm_pResMgr' pointer could be nullMichael Stahl
Change-Id: I0701631c928f198e4bb0884c78b3586402a6fcd6
2015-03-11convert CHILD_ constants to enum classNoel Grandin
Change-Id: I1aca134fcc0384df4797cacafa9fbc1ed88d6617
2015-03-11convert SfxDockingConfig to enum classNoel Grandin
Change-Id: I2cfc9f2f165f970daa2dc42ec4d733dde968b55a
2015-03-11convert SfxChildIdentifier to enum classNoel Grandin
Change-Id: I7fb7b76d0642653efb9f3cfe2b55e3a7c5972c5e
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06Idle Timer: Invented Base ClassTobias Madl
Change-Id: I03db46afcc0cb5e5d7a134b1bdd327abb542e63c
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06idle includes and enum useJennifer Liebel
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-02-25convert SFX_CHILDWIN constants to enum classNoel Grandin
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
2015-02-25remove unused header definitions in SotExchangeNoel Grandin
Change-Id: I795ce25011509de8f2aff488d4d46b86290ab3a3
2015-02-25convert SFX_SLOT_ constants to enum classNoel Grandin
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
2015-02-21Typo: "window" not "widow" hereJulien Nabet
Change-Id: I68fc6c2f6564ea61fd83bb610813a5476dcced39
2015-02-21-Typo: (dis)apear(s)->(dis)appear(s)Julien Nabet
Change-Id: Ie5d18aa59885172bd701ddcfb0e62f5ad3816de9
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin
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-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ib9e704c3b27dad81eea44583c99ecdbc5449dd13
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
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 McNamara
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-02callcatcher: remove some unused methodsCaolán McNamara
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
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-25coverity#1266505 Useless callCaolán McNamara
Change-Id: I13934ef5b18668044fbe3a2e7d916f2f7c477723
2015-01-21slot:5500 -> .uno:NewDoc(FromTemplate)Caolán McNamara
try and strip out the slot:5500 magic/lunacy Change-Id: I7236c83fba6cb8264f76aca90242775a3de58645
2015-01-20Some more loplugin:cstylecast: sfx2Stephan Bergmann
Change-Id: I19f3ce00e5e19dd34db2d92cae1b532d3c3eae6a
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-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