summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)AuthorFilesLines
2012-11-03if/else placementLuboš Luňák1-10/+6
Change-Id: I1f1cd86b66123f9c14423de685263f295629e4b2
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin34-221/+216
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-29Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: I01e007a9e1dee12a8081e8b165fa7e090d594612
2012-10-29fdo#46808, Create new-style frame::AutoRecovery serviceNoel Grandin3-7/+7
The service already existed, it just did not have an IDL file.
2012-10-29Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: I198f25f556efd4ec3f6582cf8bfb40675c6e3570
2012-10-29fdo#46808, use service constructor for frame::DispatchRecorderSupplierNoel Grandin2-2/+1
2012-10-29Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: I25595ea67eb521e118f4b00337ef2a55dc52256a
2012-10-29inline #define that is only used in one placeNoel Grandin2-2/+1
2012-10-29remove unused #defineNoel Grandin1-1/+0
2012-10-29Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: If39ae761165bc4debd3c7d994be0446149f2c4ac
2012-10-29inline #define that is only used in one placeNoel Grandin2-2/+1
2012-10-29remove unused #defineNoel Grandin1-1/+0
2012-10-25ditch SYNCHRONIZED_START/ENDCaolán McNamara3-58/+33
Change-Id: I1c0c015f371346efc5712ead7abe9e7f2ec0f9d0
2012-10-24fdo#46808, use service constructor for frame::GlobalEventBroadcasterNoel Grandin3-4/+5
Add document::XEventBroadcaster interface to XGlobalEventBroadcaster, because a client uses it, and the service always implements it. This is safe to do because we haven't released an LO version with XGlobalEventBroadcaster in it yet.
2012-10-24Related fdo#46808: Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: Ie81ae8a75847fdbc70e69349d0646f0bb558b7d0
2012-10-24fdo#46808, use service constructor for frame::DispatchHelperNoel Grandin5-18/+10
2012-10-24Related fdo#46808: Improve previous commit slightlyStephan Bergmann1-1/+1
Change-Id: If633be759ab2aa4f42548f02a58fedb858783551
2012-10-24inline a #define that it only used in one cxx fileNoel Grandin2-2/+1
2012-10-24remove unused #defineNoel Grandin1-1/+0
2012-10-24fdo#46808, use service constructor for system::SystemShellExecuteNoel Grandin5-40/+34
2012-10-24remove unused #defineNoel Grandin1-1/+0
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin15-101/+80
Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin11-48/+50
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23Related fdo#46808: Improve previous commit slightlyStephan Bergmann4-10/+6
Change-Id: Ib4f44f745f7e3e2e1403d905cc16bee4c487b0b4
2012-10-23fdo#46808, use service constructor for frame::ModuleManagerNoel Grandin40-158/+132
Change-Id: Iae2bd22a22213274d4a7697345b879f6573a30f0
2012-10-23fdo#46808, use service constructor for xml::sax::WriterNoel Grandin12-87/+43
Change-Id: I2b216a0e3a9694568642e9de2f4f43ecd682555f
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin2-16/+63
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-22loplugin: various warningsCaolán McNamara1-21/+14
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-21loplugin: misleading else if indentCaolán McNamara1-8/+4
2012-10-14loplugin: fix some indents and unused OUStringsCaolán McNamara1-2/+1
Change-Id: I1d7256eea7a79453d3cdb85d1edcf824d58d775e
2012-10-13loplugin: what is it with the weird-ass else placement in frameworkCaolán McNamara1-17/+10
Change-Id: I81809a80242457147dba716daa92b83726f732ba
2012-10-12loplugin: bad else if placementCaolán McNamara1-4/+2
Change-Id: I56e88a675adf37fdf52637ecbff6778a5215a16a
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák1-1/+1
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12loplugin: unused StringsCaolán McNamara2-4/+3
Change-Id: Ie9c888a48716e4bfd24ae78eef5f6e4a54dd1810
2012-10-11loplugin: more unused OUString and misleading indentationCaolán McNamara2-6/+3
Change-Id: Ic21ca9e14520f4f16c2d665a07a79ee1a46ab91d
2012-10-11loplugin: more unused OUStrings and so forthCaolán McNamara1-4/+0
Change-Id: I4f3a51e1fd3ddca9442022a7134306fbf32e13ae
2012-10-11loplugin: misleading alignment of else ifCaolán McNamara1-70/+49
Change-Id: Id952fff88408bf47be9c255358a14c12c930abd5
2012-10-11loplugin: misleading indentCaolán McNamara2-15/+9
Change-Id: Ia3c27c2b2e869af09557ad50e51a65894943947a
2012-10-10loplugin: unused O[U]Strings and misleading else placementCaolán McNamara1-17/+27
Change-Id: Ifa11ada39c8d4ca29e3c90db18e5bbe618634131
2012-10-10loplugin: unused O[U]StringsCaolán McNamara1-7/+5
Change-Id: I020149a3073d8479887d108465cf5d3b727588d7
2012-10-06cppcheck: unreadVariable.jailletc361-2/+0
aLangMap is a std::map that is written but never used, so drop it. Change-Id: I8f5184c58fbe812beab8580349535920645e062e Reviewed-on: https://gerrit.libreoffice.org/781 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin14-33/+39
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2-2/+6
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-29Use comphelper::getComponentContextStephan Bergmann11-65/+30
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl6-12/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl1-1/+1
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solarisMichael Stahl1-1/+4
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl6-6/+12
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl5-0/+5
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara1-1/+1
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8