summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)AuthorFilesLines
2014-04-07Clean up function declarations and some unused functionsStephan Bergmann18-51/+66
Change-Id: I5817a5ad3966918cfb1920be568b7401dd6f948c
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin12-39/+39
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann2-3/+3
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-29typo: tempoary -> temporaryThomas Arnhold1-1/+1
2014-03-29typo: previos -> previousThomas Arnhold1-1/+1
2014-03-29typo: decription -> descriptionThomas Arnhold1-7/+1
2014-03-29typo: temorary -> temporaryThomas Arnhold1-1/+1
2014-03-29typo: Exceptiopn -> ExceptionThomas Arnhold1-1/+1
2014-03-29typo: enoungh -> enoughThomas Arnhold1-1/+1
2014-03-29typo: unfortunally -> unfortunatelyThomas Arnhold1-1/+1
2014-03-29typo: sicne -> sinceThomas Arnhold1-1/+1
2014-03-29typo: tranfer -> transferThomas Arnhold1-1/+1
2014-03-29typo: persistance -> persistenceThomas Arnhold1-5/+5
2014-03-29typo: optimisation -> optimizationThomas Arnhold1-1/+1
2014-03-29typo: approriate -> appropriateThomas Arnhold1-1/+1
2014-03-27Avoid possible resource leaks by boost::scoped_arrayTakeshi Abe2-38/+18
Change-Id: I3d26325995995f658cd6adcc80e0716cfcee7de0
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann19-224/+224
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
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