summaryrefslogtreecommitdiff
path: root/include/cppuhelper
AgeCommit message (Collapse)AuthorFilesLines
2015-11-24add SAL_WARN_UNUSED to css::uno::WeakReference and SvCompatWeakRefNoel Grandin1-1/+1
Change-Id: Idb784d398ed22f2291f1beaffb82f68642d68bcd
2015-11-13Fix typoTakeshi Abe1-1/+1
Change-Id: I691e655196d271661fe3ae9aa64c6c61c02d8855
2015-11-10Missing includes (for NULL)Stephan Bergmann6-0/+18
Change-Id: Id2359f6ff4bddb2afbc0b346e17cd858f00179e3
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann6-13/+13
Change-Id: I62a63915dfc0bced2cd8ffe3999cbde5c4d97b0b
2015-11-06Note why certain replacements of odd functionality are not there by designStephan Bergmann2-0/+12
Change-Id: Iaa3110eaea5e295a193642555b7e14ab3fb6ff96
2015-10-21attempt to placate DoxygenNoel Grandin1-3/+3
Change-Id: Ia29a9aa59c234a92366113e176931bc286ec8abb
2015-10-21visual studio version 4 is long goneNoel Grandin1-15/+6
Change-Id: Icf0b4153d07d9c412889d6a7364d4282bba33032
2015-10-21com::sun::star->css in include/cppuhelperNoel Grandin50-1526/+1516
Change-Id: I3d9dcd4cd756a3f0d9cedd894377a117c9dbeecc Reviewed-on: https://gerrit.libreoffice.org/19486 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini3-3/+3
Change-Id: Ia8b2176a439742769e61fb6a981000f316033071 Reviewed-on: https://gerrit.libreoffice.org/18954 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-12/+4
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-4/+12
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-23Revert "Typo: iff->if"Julien Nabet1-1/+1
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet1-1/+1
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-22Add variadic PartialWeakComponentImplHelper, remove need for implbase_var.hxxStephan Bergmann1-11/+37
Change-Id: Iad3417822b2ab3afb75da09c311a0bf07af5e2e4
2015-05-16comment the element_alias unionNoel Grandin1-0/+4
Change-Id: I0467b2e3d124e71da7df150da31e3936615e098b Reviewed-on: https://gerrit.libreoffice.org/15746 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-21typoStephan Bergmann1-1/+1
Change-Id: Iba3d56e8c95da526e0e559238e1ec5ba7a29538e
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-2/+2
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-19/+19
Change-Id: I92c0a6c602e473b796df43b88c98b823de8d9399
2015-03-13V803 decreased performance postfix incrementMichael Stahl1-1/+1
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
2015-03-13Missing XComponent overridesStephan Bergmann1-0/+18
Change-Id: Iab882c309e661953f030432670e4e926e1178d1f
2015-02-18TyposJulien Nabet1-2/+2
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-07loplugin:deletedspecialStephan Bergmann5-24/+32
Change-Id: I0b91d813d0ec432f15aaf2d31a11dd4c505e2e54
2015-01-27Get rid of std::auto_ptr in stable URE interfaceStephan Bergmann2-9/+5
...the deprecation-warning noise is getting ever louder, and eventually auto_ptr will just disappear. Just surrender and use good-old plain pointer and deletion in dtor---it's probably the best to do in this stable interface. The change is backwards compatible. For one, in all relevant standard libraries (libstdc++, even in debug mode; libc++; msvcrt) sizeof(auto_ptr<T>) equals sizeof(T*). And for another, the removed UnoUrlDescriptor ctor was only called from within cppuhelper and had deliberately been left out of cppuhelper/source/gcc3.map (so isn't exported at least on Linux)---marking it SAL_DLLPRIVATE had probably just been forgotten when retrofitting cppuhelper with CPPUHELPER_DLLPUBLIC annotations. Change-Id: Ic8bce29d93938f2b2e0a264baee85132668e1294
2015-01-16Variadic cppu::WeakComponentImplHelperStephan Bergmann1-0/+93
Change-Id: I79371b4ad9d29a5ab8fd01244c3f80db92b07f97
2015-01-16Fix getTypes() of OPropertySetHelper and derivedStephan Bergmann1-1/+5
...broken with 60d60caf99a40ca0c3891bf230c5a1fdbae5f49c "Renamed XPropertySet2 to XPropertySetOption" et al Change-Id: I684736ffafc4642548b7c24171cc52c1acb32252
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-1/+1
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-1/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07bla, blaStephan Bergmann1-0/+17
Change-Id: Ied7a6f8d5b4555dc561fc24d3b6b9743e9e2a266
2015-01-07Variadic cppu::ImplInheritanceHelperStephan Bergmann1-0/+43
Change-Id: I7d958fdf328e44a0d299b29a3a165425731ccf7c
2015-01-07Variadic cppu::WeakImplHelperStephan Bergmann1-0/+116
Change-Id: Ia02a7c94ca282f28fa3c191dd65a71b6bf031792
2014-11-19sal, cppuhelper headers a little more complete and self-containedMichael Stahl4-0/+7
All of them now build as-is (doing that is actually a pain because some are named the same as C library headers and clang looks first in the directory where the source file is in...). Change-Id: Ief6e245c8f49fcee678aebd46394c19e4cb47f51
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl13-20/+11
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+2
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini12-36/+36
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-08coverity#706283 Uncaught exceptionCaolán McNamara1-0/+1
Change-Id: I2c3f10894ffe514dbc71cd1dd672685aa8f09a0d
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl1-4/+2
This is supported in GCC 4.6.0 already: https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl1-2/+2
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-09-22loplugin: cstylecastNoel Grandin9-18/+18
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
2014-09-17cppu and cppuhelper: loplugin: cstylecastNoel Grandin27-157/+162
Add a macro in include/cppuhelper/implbase_ex.hxx to make initialising the type_entry classes a little less verbose. Change-Id: I0904b5b9db269c92bc89e7ce3d6c8b09350c9897
2014-08-08[API CHANGE] Removed two cppuhelper deprecated headers.Matthew Pottage2-400/+0
The headers cppuheader/compbase.hxx and implbase.hxx. They have been deprecated since 2001. Moved the definitions of the deprecated functions to cppuhelper/source/compat.cxx. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, adding fixes and clean-up in cppuhelper/source/compat.cxx and odk/Package_odk_headers.mk Change-Id: I48b3cbf551b59d72614737a883a96aab55fc2090
2014-07-17fix spelling structur -> structureNoel Grandin1-1/+1
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
2014-07-14coverity#1224998 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: I96db9ab47b9494a1d71259e93ad393bd70c39d97
2014-06-05cppuhelper: remove SAL_THROW macroNoel Grandin21-322/+220
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
2014-05-01coverity#707714: Uninitialized pointerCaolán McNamara1-0/+1
Change-Id: I98e21ad28ea31bae41894d1804cbafe0c247035d
2014-04-16For GCC 4.9, extend range where -Wnon-virtual-dtor is ignoredStephan Bergmann1-4/+4
Change-Id: Ib44f5b2f6be7ae583d8931fc8bf5cb060ef21610
2014-04-15cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann1-1/+1
...since f059134fab0f91b7a15594ad06536a13fbfae034 "INTEGRATION: CWS cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a hash_map" (but a dummy "void" default is left in place for backwards compatibility). Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
2014-04-14typo: occuring -> occurringThomas Arnhold1-1/+1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann1-14/+14
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann6-65/+65
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-22coverity#708183 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I45563c32a75ec2c95d4ea13d1cf9179c44cf1fd8