summaryrefslogtreecommitdiffstats
path: root/idl/inc
Commit message (Collapse)AuthorAgeFilesLines
* callcatcher: update unused codeCaolán McNamara2014-10-225-8/+0
| | | | Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
* Remove more unused idl partsStephan Bergmann2014-10-166-104/+0
| | | | Change-Id: Id78de487b36a1c939dc3a4a5b38ab0b77999478c
* Strip svidl down to what is still usedStephan Bergmann2014-10-169-114/+34
| | | | | | | ...the generated .ilb, .lst, and .sid outputs requested by SdiTarget were apparently unused. Change-Id: I1abb2abc7945070451fce4a98a11d955515e3f63
* More -Werror,-Wunused-private-fieldStephan Bergmann2014-10-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
* loplugin: cstylecastNoel Grandin2014-09-291-1/+1
| | | | Change-Id: I31bbeb5f068754d6dc77c22d759058089b03c9b1
* remove unused fields pName and pMethodName in SfxSlot classNoel Grandin2014-09-221-3/+1
| | | | Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
* Fix memory leakStephan Bergmann2014-05-281-0/+2
| | | | Change-Id: Ie12862f8df701298db51ed45b5c24814a6f94def
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-151-1/+1
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* idl: sal_Bool->boolNoel Grandin2014-05-0810-213/+214
| | | | Change-Id: I8b15c97b1fcc6acaf567e8b1d2d37cbc99687a9d
* fixincludeguards.sh: idl and idlcThomas Arnhold2014-04-1911-32/+32
| | | | Change-Id: I665e901eb6f65308b8f130da1c6da95bc3255490
* Replace SV_DECL/IMPL_REF macros with SvRef templateStephan Bergmann2014-04-076-23/+19
| | | | Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | 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
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-266-71/+71
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Avoid duplicate symbols in libmerged for Windows too.Matúš Kukan2014-03-171-0/+2
| | | | | | This is working version of fc27a685d466dc380a8b68cd48f47db632ed3693 Change-Id: I48e861b5b7692ea051edf52d7ad9cc54ca989e22
* Revert "Avoid duplicate symbols in libmerged for Windows too."Matúš Kukan2014-03-141-2/+0
| | | | | | Forgot to test properly on Windows :-(. This reverts commit fc27a685d466dc380a8b68cd48f47db632ed3693.
* Avoid duplicate symbols in libmerged for Windows too.Matúš Kukan2014-03-141-0/+2
| | | | | | | | Export these symbols from sfx library. For cases when we link together more libraries, there are more symbols, so I've kept __attribute__((__weak__)) hack there. Change-Id: I8b7f6fc9bea479dca5062344c04b74c1f3eb36b2
* coverity#707931 Uninitialized scalar fieldCaolán McNamara2014-03-081-1/+5
| | | | Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea
* remove SvStream::operator>> methodsNoel Grandin2014-02-121-1/+1
| | | | | | | | | in favour of ReadXXX methods. Change-Id: Ic2c0a7b6b92ff4c236ae99b39d77f3d935b301e3 Reviewed-on: https://gerrit.libreoffice.org/7915 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* coverity#707930 Uninitialized scalar fieldCaolán McNamara2014-02-111-13/+20
| | | | Change-Id: Ib652a8a1f81dde1f5ac3b6b7b73376c73777247c
* remove SvStream::operator<< methodsNoel Grandin2014-01-221-1/+1
| | | | | | | | | .. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* convert SvStream::operator<< overloads to more explicit methodsNoel Grandin2014-01-161-7/+7
| | | | | | | | | This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
* clean up #ifdef ICC codeMichael Stahl2013-11-101-3/+0
| | | | | | | According to the dmake documentation, ICC refers to Visual Age C++ for OS/2, which is not a supported compiler (or platform). Change-Id: Ic9e23bc7c44de110a3a312bd007beda3b660927d
* idl: fix out of bounds string accessesMichael Stahl2013-11-071-1/+3
| | | | Change-Id: Id0d07ff9bcd4858cb74458eaf13fb9386387f455
* drop unnecessary tools/string includesCaolán McNamara2013-10-203-3/+2
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* convert IDL module from String to OUStringNoel Grandin2013-09-174-20/+20
| | | | Change-Id: Idf8e0e02ee2fde23959a281cc6ffa1a43ee7f239
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0710-99/+99
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* fdo#39445 writing out tools/fsys.hxx (idl)Krisztian Pinter2013-03-251-16/+9
| | | | | | | | | | | | Removed uses of fsys from database.cxx, command.cxx, module.cxx, svidl.cxx. Also removed a lot of cruft from svidl.cxx and command.hxx; unused variables and code relating to them, eg. variables aCxxFile, aHxxFile, aSrcFile, aODLFile. Changed some Strings to OUStrings in svidl.cxx and command.hxx. Change-Id: I708284f70435c8f65cdcfc954af43976e28b8c9d Reviewed-on: https://gerrit.libreoffice.org/2935 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-072-2/+2
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-151-2/+0
| | | | Change-Id: I6fc91959f024b9a1f9e8633af8e16048752f6bdc
* STL'ify SV_DECL_IMPL_PERSIST_LISTNoel Grandin2012-08-086-34/+35
| | | | | | Converts it to a template based on std::vector Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
* Remove unused macrosThomas Arnhold2012-08-051-8/+0
| | | | Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
* Remove unused code: those classes are unusedThomas Arnhold2012-08-011-51/+0
| | | | Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
* re-base on ALv2 code. Includes:Michael Meeks2012-07-1310-230/+140
| | | | | | | | | cws mba34issues01: #i117709#: make sure that parent of error message box is visible Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172346 i#119036 - improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727
* removed unnecessary forward declarations of classTakeshi Abe2012-07-045-5/+0
| | | | Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* Convert tools/table.hxx usage to std::map in IDL moduleNoel Grandin2012-03-204-6/+9
| | | | | Along the way, convert the table parameter passing to using references since we are never passing a null pointer.
* Convert tools/table.hxx to std::mapNoel Grandin2012-03-081-0/+1
| | | | | Convert usage of tools/table.hxx to std::map in aPTable field of SvPersistStream class.
* remove WriteSrc, WriteCxx and WriteHxxCaolán McNamara2012-01-275-16/+0
| | | | | I can't see that WriteSrc, WriteCxx WriteHxx are anything other than unused archaic remnants of the past.
* ByteString->rtl::OStringCaolán McNamara2012-01-276-34/+34
|
* AppendParserString never definedCaolán McNamara2012-01-261-1/+0
|
* ByteString->rtl::OStringCaolán McNamara2012-01-267-53/+62
|
* make sot ByteString freeCaolán McNamara2012-01-231-1/+1
|
* Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora2012-01-101-1/+0
|
* don't inherit from ByteStringCaolán McNamara2012-01-054-16/+18
|
* inheriting from ByteString is kind of weirdCaolán McNamara2011-12-222-6/+16
|
* IDL_COMPILER is always definedCaolán McNamara2011-12-198-61/+0
|
* convert GetMangleNameCaolán McNamara2011-12-132-8/+8
|
* is there any point to aSrcLine and "rsc" directive in idl?Caolán McNamara2011-11-281-1/+0
|
* remove precompiled_xxx.hxx/cxxNorbert Thiebaud2011-11-272-63/+0
|
* remove include of pch header from idlNorbert Thiebaud2011-11-272-2/+0
|