Age | Commit message (Collapse) | Author | Files | Lines |
|
...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
|
|
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.
In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.
All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.
Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
|
|
Create a merged XLinguServiceManager2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I297bada1066cd74809108641b56ee4d5898112ec
|
|
The service already existed, it just did not have an IDL file.
|
|
Change-Id: Ief85da80e14078e1d5a0b2812a2959484717da76
|
|
Change-Id: I5835696a3246b4d8f401a1617d2b53ec8c7c5626
|
|
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
|
|
Convert the helper methods to take an XComponentContext parameter,
instead of XMultiServiceFactory.
Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
|
|
Change-Id: Ibcb45d7f0ad3f9469c61809528d7542a80d406b7
|
|
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx
but I was not able to fix it, because doing so appears to expose
bugs elsewhere!
Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
|
|
Change-Id: I30366e1a4d0648fc617c0cc20f61d3d54dd66d48
|
|
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
|
|
Change-Id: Ieb3ce841243797a119f1d1d40379ff2a4614168f
|
|
Create a merged XFolderPicker2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I4a2c2a8d491a8d5633c19ddcea547f0efe75b91d
|
|
This is similar to the error code ODF filters are using in sw/sc/sd,
except that it is not specific to any application, so any UNO filter can
use it. All you need to do is to throw io::WrongFormatException with a
"<row>,<col>" in the message of the exception, and then the error dialog
will show it, instead of the useless general error message.
Change-Id: I279c8d438f01498b44f14a6dc6aeef85f7dfa4e4
|
|
Create a merged XWriter interface for the service.
The xml.sax.Writer service already existed, it just did not have
an IDL file.
Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
|
|
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831
Reviewed-on: https://gerrit.libreoffice.org/887
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
|
|
Change-Id: I843afacf4bb6880ecd9848cae3fe6071439ed995
|
|
Change-Id: Id13086906e2f66de45356baa7593b6d0e7657714
|
|
Change-Id: Ie66f747242c7304a7ad9628fcc18c4315178eccb
|
|
Change-Id: Ifadad736ae39dff67ad7bc499f85bfbb484826ff
|
|
If there is no preview text here then aTextWidth will have no entries
and we crash when writing to the non-existing first element.
aText should come from the current SfxViewShell, from the font name
(unless that is ambiguous, e.g. a selection of text with multiple
fonts), or the Window text (Window::GetText(), whatever that is).
|
|
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
|
|
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
|
|
Change-Id: I9671715ce9ed06b032cf236e843c9ea0f09513a9
|
|
There is no reason to keep SvLBox separate.
Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
|
|
Change-Id: I93b48313501f97c9934b1a7368e289e9a3ca5a76
|
|
Change-Id: Ie283a02903b0bf420291e1e4e1e29232cc7ff3a9
Reviewed-on: https://gerrit.libreoffice.org/771
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
There are basicically two classes of cases:
1) Where the code is for obscure historical reasons or what I see as
misguided "optimization" split into a more libraries than necessary,
and these then are loaded at run-time. Instead, just use direct
linking.
2) Where dynamic loading is part of the functionality offered to some
upper (scripting etc) layer, or where some system-specific non-LO
library is loaded dynamically, as it is not necessarily present on
end-user machines. Can't have such in the DISABLE_DYNLOADING case.
Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
|
|
Change-Id: If16fcbb58234a9f1b7e07718f77909273f1fbbd4
|
|
Change-Id: I76828a865751a8f29aeff40ccf7feb400692c43b
|
|
The xml.sax.Parser service already existed, it just did not have
a new-style service to create it.
Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
|
|
* UUIInteractionHandler still needs to implement XInitialization.
* Moved ambiguating InteractionHandler typedef out of the way.
* Removed InteractionHandler.createDefault, as it was originally stated that "it
is strongly recommended that [the "Parent"] property is supplied."
* Added back documentation about Parent and Context.
* Simplified some call-sites to directly use XInteractionHandler2.
Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
|
|
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.
Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
|
|
Change-Id: I40a4efb5ffed5f8592651ef70eb99d4285a7cddd
|
|
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
|
|
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: If6fb0a2152041f65d2e4b38dfbf87491b323f28f
|
|
...and some further clean up.
Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
|
|
Never reference SC resource ID's in svx. That's just asking for
trouble.
Change-Id: I893de42891fbc05a2824360c52f2b74ead60f60c
|
|
Change-Id: I0f9de9ed23d160a8c3cf6a9db8eece95b4e8795a
|
|
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.
Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
|
|
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.
Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
|
|
Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0
|
|
... new gb_LinkTarget_add_standard_system_libs
Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
|
|
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
|
|
Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3
|
|
Change-Id: I5561c2684d0957b65aef0d139e9210ebdd703153
|
|
Change-Id: I7da387db88b8a4449dc1dc7099527f786b0d565e
|