summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)AuthorFilesLines
2014-03-14No need for a virtual OPropertyContainer::getTypesStephan Bergmann1-1/+1
(and rename to getBaseTypes for clarity) Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-03-14OAccessibleContextWrapperHelper does not implement XAccessibleContextStephan Bergmann1-6/+6
...but rather some (non-virtual) base functionality for use in derived classes (that do implement XAccessibleContext) Change-Id: Idb0023906108db22bb9696245f07b9a4c053a0d1
2014-03-14Fix races in AsyncEventNotifier::executeStephan Bergmann1-68/+28
* m_aDeadProcessors was useless; for one, removeEventsForProcessor could never have run (and set m_aDeadProcessors) between execute's reading from aEvents and checking m_aDeadProcessors (because of the use of aMutex in both functions), and if that were addressed, there would always be a race that execute would run a processor that has just been removed. Clients have to be aware that a call to removeEventsForProcessor is just an optimization hint, but does not guarantee that the given processor is not called from the execute thread after removeEventsForProcessor returns. * The sequence aGuard.clear(); aPendingActions.reset(); aPanedingActions.wait(); could cause calls to aPendingActions.set() to get lost, both for signalling new content in the queue and for signalling termination. Change-Id: I43293e3d5090c2d46db8bc8ed6fb9c71e049d55c
2014-03-14comphelper,connectivity: prefer passing OUString by referenceNoel Grandin2-3/+3
Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a
2014-03-13forward*PropertyValue functions need not be SAL_CALLStephan Bergmann1-4/+4
...and _bSuccess parameter is unused Change-Id: Iee5e1d5c2d4272f342b2867bfe76f8c87dcd69d4
2014-03-13comphelper::OIHWrapNoFilterDialog does not implement XInitializationStephan Bergmann1-10/+0
Change-Id: Idce153607c3deb3f0a1809b9d18cbcc6f30cf04d
2014-03-11Leftover SAL_CALLStephan Bergmann1-1/+1
Change-Id: I895b2132ee752f191f30d6adc0af35cad005afe5
2014-03-11OPropertyStateHelper::getTypes isn't an override of XTypeProvider::getTypesStephan Bergmann1-1/+1
Change-Id: I633c711aabbd2ec7d1385d106b512f14672393f1
2014-03-10comphelper: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2-16/+2
Change-Id: I8da24ffd5eb1ac1fe6a6d2312ddc4ab13828bf07
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann1-2/+2
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-01Clean up uses of rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLengthStephan Bergmann1-5/+2
Change-Id: Ie37614dac882bfe05f8ce595ae6b20326dce872e
2014-02-27coverity#1187647 try and help coverity out hereCaolán McNamara1-4/+4
Change-Id: I94a0dad8113b8b6ac06ddf5456ff8c35d7c64fc1
2014-02-27coverity#1187646 unused mpAbortCaolán McNamara1-6/+4
Change-Id: I1fc3f0253c2af4779ba59b5b85ea7fc400226177
2014-02-27Remove visual noise from comphelperAlexander Wilms57-398/+398
Change-Id: I7e5512b43240beee05404cff9d49a87d0217ea89 Reviewed-on: https://gerrit.libreoffice.org/8242 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann56-605/+605
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25coverity#983702 Uncaught exceptionCaolán McNamara3-6/+12
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
2014-02-24comphelper: EmbeddedObjectContainer::GetObjectStream methodsJacobo Aragunde Pérez1-0/+40
These methods were added to provide access to the stream to the embedded object itself. Change-Id: I0a47a54852cddbd5ddd0a6599bba21999afd96ba
2014-02-24comphelper: code refactorJacobo Aragunde Pérez1-15/+1
Change-Id: Ica71d0691cf02aeaa03b6570015d9828cd7daeed
2014-02-23Remove unneccessary commentsAlexander Wilms57-747/+739
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19comphelper: sal_Bool -> bool sequelStephan Bergmann2-6/+6
Change-Id: I2b9bd19abf4510fccef0374a539069cb8222ccae
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann45-306/+306
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17ucbhelper: sal_Bool -> boolStephan Bergmann1-2/+2
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-12Unwind comphelper::OPropertyContainer_Base typedefStephan Bergmann1-2/+2
Change-Id: Ied87e18f8297fb8e85fdbcab38d719664e3ed066
2014-02-07silence coverity#1027865 Out-of-bounds accessCaolán McNamara1-2/+14
and coverity#1027864 Change-Id: Ic3d1b91ef77ab3510c7428b7135dd9f249d56b4b
2014-02-06typo fixes in commentsAndras Timar1-1/+1
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-05fdo#54938 Convert comphelper and vcl to cppu::supportsServiceAlexandre Vicenzi3-21/+6
Change-Id: I391a7324bf92208fe632dac17874943343b1f65a Reviewed-on: https://gerrit.libreoffice.org/7757 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-03Remove needless SAL_DLLPRIVATE annotationsStephan Bergmann1-1/+1
Change-Id: Ib8d1eae0dce29756da626c73db75f59666bb0ea5
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann2-4/+0
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
2014-01-29coverity#1079000 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: I7ffee42abe03c34d68b6168328143666d72e7efc
2014-01-28bool improvementsStephan Bergmann1-2/+2
Change-Id: I17c451d33d6d5e4edf0304ff47d63ac878d7e5d9
2014-01-27coverity#706277 Uncaught exceptionCaolán McNamara1-4/+4
Change-Id: I1941e0a3a662faaac1fb9374437f3984b3a5c6d8
2014-01-27coverity#707679 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I41c98456506a3ef843362b20c4db4a8d409319d6
2014-01-27coverity#705787 Dereference before null checkCaolán McNamara1-8/+6
Change-Id: I4d6e4ddaa104a025349c55ab75263004a6b2b6bf
2014-01-26coverity#1130481 : Uninitialized scalar fieldNorbert Thiebaud1-0/+1
Change-Id: I41025a3dfe16af9417b1ae8c7668c76cb501c7b9
2014-01-22Maybe this bool clean-up avoids false -Werror=maybe-uninitialized on AndroidStephan Bergmann1-4/+4
Change-Id: Iab12cc703d190e79650f73c646a2fbb60c6685c5
2014-01-19fdo#73549 do not resolve empty locale here if not determined yetEike Rathke1-1/+1
Change-Id: Iad03d6209a2b4024b27c6195195e5aa557c295fe
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-9/+9
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19css.logging.SimpleLogRing.create() calls initialize w/ empty ArgumentsStephan Bergmann1-6/+9
Change-Id: Iffcab3831b40ce309aa20fdb825328ebb4dd1064
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-12Some clean-upStephan Bergmann2-52/+17
Change-Id: I8ea3018efb01069b9a0555d9ac4ddfa89a990ba8
2013-12-12Remove newly unused comphelper/TypeGeneration.hxxStephan Bergmann2-232/+0
Change-Id: Ia63e07fa6f56f4797e2741f6800cb96559ff4928
2013-12-12Simplify comphelper::PropertyInfoStephan Bergmann2-38/+23
...as its sole two uses (in sw) are already fine with initializing arrays of it dynamically, there is no harm in changing it and thereby getting rid of the last use of comphelper/TypeGeneration.hxx. Change-Id: I11931dbbec48dac5a694a59cf6425206c806fbfb
2013-12-12Do not use C++-UNO internal static_type functions in client codeStephan Bergmann3-4/+4
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann3-35/+26
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann3-26/+35
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann3-35/+26
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann2-2/+0
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann1-2/+1
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671