summaryrefslogtreecommitdiff
path: root/cppuhelper/source/interfacecontainer.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-04-20Fix typoAndrea Gelmini1-1/+1
Change-Id: I08d6e2cb30c54b9e7b11498850e5f5cd7de1a98d Reviewed-on: https://gerrit.libreoffice.org/70994 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-03-03Simplify containers iterations in cppcanvas, cppu, cppuhelperArkadiy Illarionov1-68/+24
Use range-based loop or replace with STL functions Change-Id: I72bf7cdb632c04e2fc8d4f7ab85cb6571222aa07 Reviewed-on: https://gerrit.libreoffice.org/68636 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-14tdf#42949 Fix IWYU warnings in cppuhelper/Gabor Kelemen1-1/+0
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I0eebd82b96d630da0597166cf87d398072607c13 Reviewed-on: https://gerrit.libreoffice.org/67473 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-02-08loplugin:indentation in cppu..cuiNoel Grandin1-3/+3
Change-Id: If625e5bf38ca8e1f12686038c7c9be8d0303b6f6 Reviewed-on: https://gerrit.libreoffice.org/67536 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-01cppuhelper: MSVC: pragma warning: make more specific, remove obsoleteMike Kaganski1-4/+0
Change-Id: Ib097ea1764d275a3123d0dccf05d52315b4858a1 Reviewed-on: https://gerrit.libreoffice.org/48971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-12More loplugin:cstylecast: cppuhelperStephan Bergmann1-2/+2
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I3966d302241a52014aaad41f72924a2095ea6621
2017-06-05Improved loplugin:cstylecast to reference types: cppuhelperStephan Bergmann1-1/+1
Change-Id: Id442b7a76072fb346d927a7dd8659a05bb491f9b
2017-05-07revert OSL_ASSERT changesChris Sherlock1-4/+4
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07tdf#43157: convert cppuhelper and io from OSL_ASSERT to assertChris Sherlock1-4/+4
Change-Id: I56d49e1ce9f1c070fedcabb8f1637d17dee1083b
2017-04-12clang-tidy: readability-else-after-returnNoel Grandin1-18/+12
run it against sal,cppu,cppuhelper I had to run this multiple times to catch all the cases in each module, and it requires some hand-tweaking of the resulting output - clang-tidy is not very good about cleaning up trailing spaces, and aligning things nicely. Change-Id: I00336345f5f036e12422b98d66526509380c497a Reviewed-on: https://gerrit.libreoffice.org/36194 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-21loplugin:subtlezeroinit: cppuhelperStephan Bergmann1-2/+2
Change-Id: I405ba174a4397938415eee6108ca1f0687b4649a
2017-02-15Drop :: prefix from std in c*/Tor Lillqvist1-2/+2
Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: https://gerrit.libreoffice.org/34324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann1-11/+11
Change-Id: If965f73934c182a1c96d9fdca6f395c256f6b259
2015-12-02inline one-liner static methodNoel Grandin1-9/+1
Change-Id: I9e0bd7a34ed691b245738dd66ff5ba7cc879ebe5
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-10/+10
Change-Id: I62a63915dfc0bced2cd8ffe3999cbde5c4d97b0b
2015-07-29com::sun::star-css in cppu,cppuhelperNoel Grandin1-6/+6
Change-Id: I84a412f587fd66f6c0610f083e61cf0fa079d4d9 Reviewed-on: https://gerrit.libreoffice.org/17384 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-45/+63
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-63/+45
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-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe1-3/+3
This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-28/+28
Change-Id: I92c0a6c602e473b796df43b88c98b823de8d9399
2014-12-27boost::unordered_map -> c++11 std::unordered_mapCaolán McNamara1-1/+0
Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini1-2/+1
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-07-12Avoid possible memory leaks in case of exceptionsTakeshi Abe1-8/+5
Change-Id: I5e302cf7ac784e1413c0539d0c967a3523f04ba0
2014-06-05cppuhelper: remove SAL_THROW macroNoel Grandin1-31/+25
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
2014-02-17cppuhelper: sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: I6e0e6c1e4880a652ea4d8f0cccf9d8103c2cbbef
2012-12-06re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Ocke Janssen converted reportdesign. http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patch contributed by Oliver Rainer-Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann1-31/+31
2011-11-27remove include of pch header in cppuhelperNorbert Thiebaud1-2/+0
2011-05-17Some cppcheck cleaningJulien Nabet1-2/+2
2011-02-03move module cppuhelper to boost unordered containersFridrich Strba1-1/+1
2010-12-05Remove redundant commentsJ. Graeme Lingard1-25/+0
2010-10-18#i111793# make cppuhelper/interfacecontainer strict aliasing safeCaolán McNamara1-55/+53
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+2
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14Fix typos in comments in ure/cppuhelperLaurent Charrière1-3/+3
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
2010-10-14Delete commented out code in ure/cppuhelperLaurent Charrière1-1/+0
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
2010-10-14Translate German comments in ure/cppuhelperLaurent Charrière1-2/+2
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-07-10#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where ↵Mathias Bauer1-7/+0
possible
2008-04-11INTEGRATION: CWS changefileheader (1.18.28); FILE MERGEDRüdiger Timm1-23/+18
2008/03/28 15:25:25 rt 1.18.28.1: #i87441# Change license header to LPGL v3.
2007-09-06INTEGRATION: CWS mingwport06 (1.17.34); FILE MERGEDKurt Zenker1-3/+3
2007/08/27 12:04:57 vg 1.17.34.2: #i75499# single ifdef for MSVC 2007/08/24 12:58:07 vg 1.17.34.1: #i75499# pragma is for MSVC
2007-01-29INTEGRATION: CWS cppuhelpshrink (1.16.30); FILE MERGEDRüdiger Timm1-16/+60
2006/12/22 14:37:20 mmeeks 1.16.30.1: #i72766# save memory in cppuhelper, using a vector instead of a hash_map
2006-09-16INTEGRATION: CWS pchfix02 (1.15.14); FILE MERGEDOliver Bolte1-2/+5
2006/09/01 17:23:18 kaib 1.15.14.1: #i68856# Added header markers and pch files
2006-06-19INTEGRATION: CWS warnings01 (1.13.60); FILE MERGEDJens-Heiner Rechtien1-5/+5
2005/09/22 15:38:47 sb 1.13.60.2: RESYNC: (1.13-1.14); FILE MERGED 2005/09/07 11:05:30 sb 1.13.60.1: #i53898# Made code warning-free.
2005-09-08INTEGRATION: CWS ooo19126 (1.13.64); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 12:07:38 rt 1.13.64.1: #i54170# Change license header: remove SISSL
2004-04-21INTEGRATION: CWS ooo20040329 (1.12.8); FILE MERGEDSander Vesik1-8/+12
2004/03/17 11:50:32 waratah 1.12.8.1: #i1858# alter the order of some definitions to fix some -Wall warnings break up some if statements into two statements instead of assinging in if
2004-02-04INTEGRATION: CWS ooo20031216 (1.11.42); FILE MERGEDJens-Heiner Rechtien1-3/+5
2003/12/13 13:48:14 waratah 1.11.42.1: #i1858# test for previous definition of macro to remove warning
2003-04-23INTEGRATION: CWS uno2 (1.9.26); FILE MERGEDRüdiger Timm1-3/+3
2003/04/09 15:07:31 dbo 1.9.26.1: #108591# fixed assert()
2003-04-15INTEGRATION: CWS dbgmacros1 (1.9.34); FILE MERGEDVladimir Glazounov1-2/+5
2003/04/09 10:40:11 kso 1.9.34.1: #108413# - debug macro unification.
2002-10-04#103388# (done by fs, approved by jbu) realloc: don't realloc/copy the ↵Frank Schönheit1-9/+3
sequence (elements) ourself, rely on the Sequence's realloc method (which is more performant for a large number of consecutive addListener calls)
2001-12-14#88919# access controlDaniel Boelzle1-6/+6