summaryrefslogtreecommitdiffstats
path: root/idl
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* coverity#1209786 Dereference before null checkCaolán McNamara2014-05-091-1/+1
| | | | Change-Id: I98bb62bbcb7ffbd2896ddbcbaeea27fff0851653
* coverity#1209793 Dereference before null checkCaolán McNamara2014-05-091-1/+1
| | | | Change-Id: I5c89f7291117d66ff07f7d686c7030396cb504df
* translate to EnglishCaolán McNamara2014-05-081-1/+1
| | | | Change-Id: Ieb7ee3f8eb192612e76d5ad928389445e82ef90e
* idl: sal_Bool->boolNoel Grandin2014-05-0821-553/+554
| | | | Change-Id: I8b15c97b1fcc6acaf567e8b1d2d37cbc99687a9d
* fixincludeguards.sh: idl and idlcThomas Arnhold2014-04-1911-32/+32
| | | | Change-Id: I665e901eb6f65308b8f130da1c6da95bc3255490
* This file seems unused since the 20th centuryTakeshi Abe2014-04-191-0/+0
| | | | Change-Id: Idc26e03d51e37adbd23fb3c77d8ebe63ed8c3de3
* svidl: Unwind SFX_SLOTMAP_ARG, and kill it.Jan Holesovsky2014-04-181-1/+1
| | | | Change-Id: Icd99fd2cd530f52b0acf5d91667eeec8142e8340
* svidl: Unwind SFX_ARGUMENT macro, and kill it.Jan Holesovsky2014-04-182-6/+7
| | | | Change-Id: I61334b687c251ccc90f125e8bf95f8689028b8c3
* svidl: Unwind SFX_ARGUMENTMAP macro, and kill it.Jan Holesovsky2014-04-181-2/+2
| | | | Change-Id: I7c4902a4151f207d8a61b76d05fad74a4c8854d4
* remove executable bitAndras Timar2014-04-171-0/+0
| | | | Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
* 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-173-2/+25
| | | | | | This is working version of fc27a685d466dc380a8b68cd48f47db632ed3693 Change-Id: I48e861b5b7692ea051edf52d7ad9cc54ca989e22
* Revert "Avoid duplicate symbols in libmerged for Windows too."Matúš Kukan2014-03-143-26/+2
| | | | | | Forgot to test properly on Windows :-(. This reverts commit fc27a685d466dc380a8b68cd48f47db632ed3693.
* Avoid duplicate symbols in libmerged for Windows too.Matúš Kukan2014-03-143-2/+26
| | | | | | | | 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#1103651 Unchecked return valueCaolán McNamara2014-03-101-3/+3
| | | | Change-Id: Iee2bbba1e581364f72a73421ba8e799fa05a94e4
* fix indentCaolán McNamara2014-03-101-35/+34
| | | | Change-Id: I0f09c42928d354bd26fa5137a2faa768560b1223
* coverity#707933 Uninitialized scalar fieldCaolán McNamara2014-03-081-0/+1
| | | | Change-Id: I03c835327eabc9bfdc9904abb2ba6a8f13bd7207
* coverity#707932 Uninitialized scalar fieldCaolán McNamara2014-03-081-0/+1
| | | | Change-Id: I73524c3e1911456ef14dcb07f073fed85f869524
* coverity#707931 Uninitialized scalar fieldCaolán McNamara2014-03-081-1/+5
| | | | Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea
* Add config option used when we try to link one huge object file.Matúš Kukan2014-02-211-1/+1
| | | | | | | In theory, it should not be used, we use it now to mark duplicated symbols from sdi slots as weak. See idl/source/objects/types.cxx. Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
* 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>
* more SvStream:operator>> conversionNoel Grandin2014-02-124-8/+8
| | | | | | | | | | Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin2014-02-127-28/+28
| | | | | | | | | | | First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* cid#705188 missing break in switchNoel Grandin2014-02-121-0/+1
| | | | Change-Id: I5e777801a7df934f61182f6df8f66fc18d00073c
* coverity#707930 Uninitialized scalar fieldCaolán McNamara2014-02-111-13/+20
| | | | Change-Id: Ib652a8a1f81dde1f5ac3b6b7b73376c73777247c
* bool improvementsStephan Bergmann2014-01-281-2/+2
| | | | Change-Id: Ifdee50acbc72387812156af5cb8b078d97ebe5d1
* remove SvStream::operator<< methodsNoel Grandin2014-01-225-9/+9
| | | | | | | | | .. 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 more SvStream::operator<< callsNoel Grandin2014-01-227-482/+489
| | | | | | | | | | | | .. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann2014-01-222-2/+2
| | | | Change-Id: I9869d9709f28b68ef7b518527175589d80644668
* convert SvStream::operator<< overloads to more explicit methodsNoel Grandin2014-01-168-60/+60
| | | | | | | | | 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
* presumably each entry needs a tab and semicolonCaolán McNamara2013-12-271-2/+6
| | | | Change-Id: Iedb57186d56c6d1445bcfe2ad37d0569dba32b4e
* cppcheck: fix Same expression on both sides of '||' + simplify a bitJulien Nabet2013-12-271-7/+3
| | | | Change-Id: I7903c4af5263f93dc4d311b73cb21e144a63d8d9
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin2013-11-211-4/+4
| | | | | | | | | | Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
* Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin2013-11-201-4/+4
| | | | | | | This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
* remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin2013-11-201-4/+4
| | | | | | | | | Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
* remove RTL_CONSTASCII_STRINGPARAM in OStringBuffer constructorNoel Grandin2013-11-202-4/+4
| | | | | | | | | | Convert code like: OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OStringBuffer aKeyName("NDX"); which compiles down to the same code Change-Id: If9c96a290bc18cc8285fb733f27be58c6958b63c
* remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin2013-11-201-2/+2
| | | | | | | | | | Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin2013-11-204-28/+23
| | | | | | | | | | Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
* No __weak__ in Win32Tor Lillqvist2013-11-151-1/+1
| | | | Change-Id: I3bd5e3787d0f47cfef667734211cdf8c0fd606a7
* clean up #ifdef ICC codeMichael Stahl2013-11-102-7/+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-072-3/+5
| | | | Change-Id: Id0d07ff9bcd4858cb74458eaf13fb9386387f455
* drop unnecessary tools/string includesCaolán McNamara2013-10-204-4/+3
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* cdecl is the default anywayTor Lillqvist2013-10-121-6/+0
| | | | Change-Id: Iee47fbc9ea43be2af2712efe15df3d7936277cf7
* Revert "More ICU dependencies that are now dragged in"Matúš Kukan2013-09-251-5/+0
| | | | | | | | | Should be fixed by 913f83ac52629a524c373d2504a0cb349446b371 This reverts commits 4dd261e526f43a364c645e7022c49b61c8001a39 30d7729586a60bef061261e9e59bf44768cc0196 4e2e1ca76f772d4644a21b82f79dfb4412a9c99f
* More ICU dependencies that are now dragged inTor Lillqvist2013-09-231-0/+5
| | | | Change-Id: Iec214399f0cd8d5af198ad9080c55e5ee51a353d
* convert IDL module from String to OUStringNoel Grandin2013-09-179-63/+57
| | | | Change-Id: Idf8e0e02ee2fde23959a281cc6ffa1a43ee7f239
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-215-20/+15
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2