aboutsummaryrefslogtreecommitdiff
path: root/source/dgo
ModeNameSize
d---------accessibility / source33logplain
d---------avmedia / source33logplain
d---------basctl68logplain
d---------basic / source33logplain
d---------chart268logplain
d---------connectivity68logplain
d---------cui68logplain
d---------dbaccess68logplain
d---------desktop68logplain
d---------dictionaries1754logplain
d---------editeng / source33logplain
d---------extensions68logplain
d---------extras / source33logplain
d---------filter68logplain
d---------forms / source33logplain
d---------formula68logplain
d---------fpicker68logplain
d---------framework / source33logplain
d---------instsetoo_native / inc_openoffice / windows41logplain
d---------librelogo / source33logplain
d---------mysqlc70logplain
d---------nlpsolver61logplain
d---------officecfg / registry / data / org35logplain
d---------readlicense_oo35logplain
d---------reportbuilder / java / org / libreoffice / report / function31logplain
d---------reportdesign68logplain
d---------sc68logplain
d---------scaddins / source33logplain
d---------sccomp / source33logplain
d---------scp2 / source33logplain
d---------sd68logplain
d---------setup_native / source33logplain
d---------sfx268logplain
d---------shell / source / win32 / shlxthandler33logplain
d---------starmath72logplain
d---------svl / source33logplain
d---------svtools68logplain
d---------svx68logplain
d---------sw68logplain
d---------swext / mediawiki36logplain
d---------sysui / desktop34logplain
d---------tubes / uiconfig35logplain
d---------uui72logplain
d---------vcl68logplain
d---------wizards / source33logplain
d---------xmlsecurity68logplain
/sw_redlinehide_3'>private/mst/sw_redlinehide_3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/idl/inc/object.hxx
AgeCommit message (Collapse)Author
2024-03-16tdf#143148 update all headers in idl/inc to use #pragma oncedmc_dev
Change-Id: I65a5d21bed1753f3dbb5ad1b87fb76ea16066413 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164928 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-10-03tdf#145538 Use range based for loops in idl:objectYli875
Change-Id: I7c9935254be5bea050a09859cebbc4112894999b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156858 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-24tdf#114441 Convert sal_uLong to a better typeAdoche Onaji
In slot.cxx, GetAttrCount() return a size_t type and same type can be assigned directly to nSCount. In hash.hxx, sal_uLong was declared in SvStringHashEntry, the only default parameter it the class takes is aName (type OString) while nValue was directly initialized as 0 in the constructor. The interface to change nValue is through a method setValue of same type.Also In idl/inc/hash.hxx SetValue() and GetValue functionsb are used in idl/source/prj/database.cxx with sal_uInt32 parameter and return type and thus, sal_uInt32 is suitable here.The instances of sal_uLong in source/objects/object.cxx are replaced with sal_uInt32. In object.cxx an iterator was declared using std::find to find nId in rSuperList (originally declared as std::vector<sal_uLong>), therefore if nId is sal_uInt32, the parent vector, rSuperList should be sal_uInt32. This change is now applicable to the void method InsertSlot's parameter rSuperList in object.hxx and also variables n, nId, iter, rSuperList in InsertSlot definition block in the file object.cxx. Variable aSuperList in obect.cxx is also changed to sal_uInt32 because its an argument for rSuperList parameter. nC1 and nC2 in idl/source/prj/svidl.cxx are chnaged from sal_uLong to size_t as this is suitable here. Change-Id: Ie075875229a676ea32dbf9e3049881a479773703 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147220 Reviewed-by: Hossein <hossein@libreoffice.org> Tested-by: Hossein <hossein@libreoffice.org>
2022-01-27Recheck modules [i-l]* with IWYUGabor Kelemen
See tdf#42949 for motivation Change-Id: I758bb27e93779e3df21c463714e49354748f446f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128715 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-04-27use more string_view in tools/streamNoel Grandin
Change-Id: I2a957cd72d71fea717734488cdb3670e0bcdd6f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114657 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-18loplugin:useuniqueptr in SvMetaSlotNoel Grandin
no need to store ref-counted object like OString on the heap Change-Id: Ifd031ae68dfd615e99f54414cb2dc32aac60daa8 Reviewed-on: https://gerrit.libreoffice.org/60623 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-11tdf#96099 Remove some trivial std::vector typedefsArkadiy Illarionov
Change-Id: I0e60ec7a3edae42b25ff0917828d0a893ed39a38 Reviewed-on: https://gerrit.libreoffice.org/55245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-23loplugin:includeform: idlStephan Bergmann
Change-Id: I9631129331ef4b858ed3dd7b0e617002e6d461fb
2016-10-10tdf#89307: Removed SvRef::operator T*()Jacek Fraczek
Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-30loplugin:constantparamNoel Grandin
Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-02-17move some more slot parsing to SvIdlParserNoel Grandin
Change-Id: I186e80ed0446585aceaf4d25f32ecca7e8ed396c
2016-02-16parse shell/interface entries in SvIdlParserNoel Grandin
Change-Id: Ief68b26be0a0890ffdfa02a5904ba9d2cb364c65
2016-02-15move interface/shell parsing to SvIdlParserNoel Grandin
Change-Id: I95cce21c6c9beb5637dd4f4a769f455eaacbec2b
2016-02-09simplify SvSlotElementNoel Grandin
Change-Id: I4699dca35c0197944df97005ff032e1d16139e5f
2016-02-09simplify SvClassElementNoel Grandin
no need for it to be ref-counted Change-Id: I663266c9f59930b1f5bc53f1f27b594dbbc08b46
2016-02-08format IDL compiler headers a littleNoel Grandin
Change-Id: I54cb7a664908f8817958d4482a5adfdc6d2a0f3d
2016-02-07remove some dead code, found using LCOVNoel Grandin
Change-Id: Ibdca0a70722290bbb560726c88e9821c3ae0af14 Reviewed-on: https://gerrit.libreoffice.org/22151 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07.SDI compiler: expand out some typedefsNoel Grandin
Change-Id: I898bc1d95b1d3394cae74776c0e7dcbaafa934e4 Reviewed-on: https://gerrit.libreoffice.org/22146 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-05remove unused Automation from .SDI filesNoel Grandin
Change-Id: I65e1ca6e022dc76ac96ed75da2c5e78e9356a3e9 Reviewed-on: https://gerrit.libreoffice.org/22107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-25loplugin:unusedfields variousNoel Grandin
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-08-04idl,framework,forms: inline some use-once typedefsNoel Grandin
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
2015-07-30loplugin:unusedmethodsNoel Grandin
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
2014-10-16Remove more unused idl partsStephan Bergmann
Change-Id: Id78de487b36a1c939dc3a4a5b38ab0b77999478c
2014-10-16Strip svidl down to what is still usedStephan Bergmann
...the generated .ilb, .lst, and .sid outputs requested by SdiTarget were apparently unused. Change-Id: I1abb2abc7945070451fce4a98a11d955515e3f63
2014-05-08idl: sal_Bool->boolNoel Grandin
Change-Id: I8b15c97b1fcc6acaf567e8b1d2d37cbc99687a9d
2014-04-19fixincludeguards.sh: idl and idlcThomas Arnhold
Change-Id: I665e901eb6f65308b8f130da1c6da95bc3255490