summaryrefslogtreecommitdiff
path: root/xmlsecurity
AgeCommit message (Collapse)Author
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-04update_pch: add a bunch of pch filesThomas Arnhold
desktop: 1m51s -> 54s framework: 1m55s -> 1m04s package: 32s -> 16s sdext: 1m31s -> 47s svgio: 32s -> 15s uui: 49s -> 20s vbahelper: 1m44s -> 27s xmlscript: 15s -> 10s xmlsecurity: 45s -> 23s Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-05-29fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories xml*/* Change-Id: Ia5dfb9ab494bfbfae7537f2d54ff11331dc8c922 Reviewed-on: https://gerrit.libreoffice.org/9539 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-24cppcheck: Prefer prefix ++/-- operatorsJulien Nabet
Change-Id: I290ccba1487e59ea6f86bfb0382671ca4ed50831
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23coverity#1215310 Uncaught exceptionCaolán McNamara
Change-Id: I8d9663f8dedda8e7006e7ac6545cb15188a1ec2d
2014-05-19fix-includes.pl: xmlsecurityThomas Arnhold
Change-Id: Ie3dd8674e1fa927d15eeb6a64a0cad24b8825262
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-11coverity#982735 Negative loop boundCaolán McNamara
xmlSecBase64Decode returns int Change-Id: I5bfb273141e62f1355033c669c49af5c645da900
2014-05-07coverity#1209500 Explicit null dereferencedCaolán McNamara
Change-Id: I11aa7ecfa52054085aaca70b165a831b5ec8577b
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-28prefer makefile-gmake-modeTakeshi Abe
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-24coverity#707484 Uncaught exceptionCaolán McNamara
Change-Id: I1881add525365feaf25ce61b2be027f6ea1bcce7
2014-04-24coverity#707488 Uncaught exceptionCaolán McNamara
Change-Id: I568de20d26cff7742529a93f5a86b10ee2ac630c
2014-04-24coverity#707489 Uncaught exceptionCaolán McNamara
Change-Id: Ia15d9c6761b1b7990586b766a4f8c385c04edc0a
2014-04-24coverity#707490 Uncaught exceptionCaolán McNamara
Change-Id: I8aeff7a5e3513d316202d40b953435238c1bf714
2014-04-24xmlsecurity: sal_Bool->boolNoel Grandin
Change-Id: I4f32fe3b5133e13dab88ca1c9acd021d84dc59a9
2014-04-23huge hrc and src file cleanupThomas Arnhold
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-22clean up hrc filesThomas Arnhold
Change-Id: I76756fe539589d2ab086fd1f1aeec50a9f39af37
2014-04-22clean up hrc filesThomas Arnhold
and remove some unused stuff Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
2014-04-19WaE: Unreferenced function definition [loplugin:unreffun]Tor Lillqvist
Change-Id: Ibac16b109d9024a75fc6045d5d55fb5d21eee70a
2014-04-19fixincludeguards.sh: xmlsecurityThomas Arnhold
2014-04-17remove executable bitAndras Timar
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-14Clean up function declarationsStephan Bergmann
Change-Id: I448e0cf2abeeafb0f6266baeb95705b3a11705a4
2014-04-11Use valid UNOIDL identifiers in XCompressedDocumentHandlerStephan Bergmann
...which is new in LO 4.3 and still unpublished. Change-Id: I2d6b553c27906d7855c62f33fdf0060b58d3ec62
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
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
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...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 Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-21coverity#708739 Uninitialized scalar fieldCaolán McNamara
Change-Id: I2ac9aa4d74321c9d4312650e744ce54c4af553bb
2014-03-21coverity#708740 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic3cb17f2344192a3e9704ff7e1d825e62dc45d19
2014-03-17xmlsecurity: prefer passing OUString by referenceNoel Grandin
Change-Id: I44b96a8adc2f6309088d99ff3bce438f660d302d
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-01-30convert cert path page to .uiCaolán McNamara
Change-Id: Ic726e5665a46b9e34fb05d800460b50977d94ee6
2014-01-30convert view certs tabdialog to .uiCaolán McNamara
Change-Id: Iee67e273cf19a1af6c4947870bb9f131f0a6cc11
2014-01-28bool improvementsStephan Bergmann
Change-Id: I550337b24e6efe96bb8ac40bd6e574065e84b135
2014-01-22bool improvementsStephan Bergmann
Change-Id: I74db1d1b8250a6832fc68a6856912713b1d8944b
2014-01-17Convert xmlsecurity to cppu::supportsServiceAlexandre Vicenzi
Change-Id: Ifcec9e067e54cc8a3d1254d41d09ea251820849d
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50