summaryrefslogtreecommitdiffstats
path: root/stoc
Commit message (Collapse)AuthorAgeFilesLines
* Typo: creat->createJulien Nabet2015-04-041-1/+1
| | | | Change-Id: I5e57e6d506504933096f4c8e371b0ddc93c04cbd
* loplugin:staticmethodsNoel Grandin2015-04-024-13/+13
| | | | Change-Id: I3ae555fd9f0dc3c11ea301ee1cb2c799fbec820d
* Add support for cppu::UnoType<void>Stephan Bergmann2015-04-012-2/+2
| | | | Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-019-47/+47
| | | | Change-Id: I14b923990a012e8e85ca9170cdffd6b8e3626d89
* Use OUString::unacquiredStephan Bergmann2015-03-312-2/+2
| | | | | | | | found with git grep -E '\* *\<reinterpret_cast\>[^>]+\<OUString\>' Change-Id: I9306d4ad8e3b1664f54cb7df86f2d79bfd3c6cb9
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-317-22/+22
| | | | Change-Id: Ib3610f9d244b15f8f752c0f781600f5c7e7a944f
* Clean up remaining C-style casts among void pointersStephan Bergmann2015-03-292-5/+5
| | | | Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-2810-89/+89
| | | | Change-Id: I2ac79c757d9116d35436ae1adc0e11e7040e725d
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-262-3/+3
| | | | Change-Id: Ifbe12a569a964203b07b47da5207ab0ffe00d4aa
* stoc: must check *both* bDisposed and bInDisposeMichael Stahl2015-03-141-1/+1
| | | | | | | | | | Implementation::inspect() was crashing with a null reflection_ in CppunitTest_libreofficekit_tiledrendering because another thread was disposing it. Actually, why are there 2 bools for this and not one enum with 3 values? Change-Id: Icd27145d3203e1f48a9841ee6251a50cb73f7988
* Remove unused debug codeStephan Bergmann2015-03-131-24/+0
| | | | Change-Id: I40d7e0670539a86f01a539cf8acb10fa7bd27079
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-232-2/+2
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* stocservices.component: The rest of the services + cleanup.Jan Holesovsky2015-02-2011-325/+44
| | | | Change-Id: I5156318afde0f56cf3eb8d1c74c6db8d5e378600
* stocservices.component partly refactored to use the "constructor" feature.Ursache Vladimir2015-02-205-22/+27
| | | | Change-Id: I4c1c5e62de608738a91be4a234d9c160a18cbf8f
* TyposJulien Nabet2015-02-181-1/+1
| | | | Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
* we shouldn't need a static ref in these createOneInstance factory helpersCaolán McNamara2015-02-161-2/+1
| | | | | | at least not to ensure that they are singletons anyway Change-Id: I08176afa67ac5f8e4f479b70ca5d71c52d0bb9af
* Typos + simple german translationsJulien Nabet2015-02-081-6/+6
| | | | Change-Id: Icc0e9f028b393abb062a880519211be4fcd1d4b3
* loplugin:deletedspecialStephan Bergmann2015-02-073-6/+6
| | | | Change-Id: I8ec246416736bc0316c222d1b9435bd2747597b8
* convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara2015-02-051-4/+2
| | | | | | and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
* Use vector::dataStephan Bergmann2015-01-283-10/+5
| | | | | | | ...in some places where it is obvious that it does not hurt that for an empty vector the obtained pointer is not necessarily a nullptr. Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
* Some more loplugin:cstylecast clean-upStephan Bergmann2015-01-282-5/+5
| | | | Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
* Some more loplugin:cstylecast: stocStephan Bergmann2015-01-208-60/+57
| | | | Change-Id: I3d820a1df3750d20e704a163f45c16ea29a1b4bd
* fdo#39440 reduce scope of local variablesMichael Weghorn2015-01-122-6/+3
| | | | | | | | | This addresses some cppcheck warnings. Change-Id: I46b9293eed0cba2ebca119cc1fb0a6334ea66308 Reviewed-on: https://gerrit.libreoffice.org/13844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Just use WeakImplHelper1 instead of ImplHelper1Stephan Bergmann2015-01-071-31/+2
| | | | Change-Id: Iadc5960ef22289c044a0c85accaefb4f60b6097f
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-048-27/+28
| | | | Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
* stoc: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-181-2/+2
| | | | Change-Id: I776bbe6077b33f22657141ca875743c67b793c48
* stoc: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-169-56/+51
| | | | Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
* java: remove some comment noiseNoel Grandin2014-11-251-5/+0
| | | | Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-184-0/+5
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-174-0/+5
| | | | | | | | | Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
* fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2014-11-141-1/+1
| | | | | | | Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-1/+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>
* java: convert fields to local variables where possibleNoel Grandin2014-11-121-1/+0
| | | | | | | | | found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Bin unused include files, thanks to Andrea GelminiTor Lillqvist2014-11-064-208/+0
| | | | Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
* Removed duplicated includesAndrea Gelmini2014-10-311-1/+0
| | | | | | | Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-296-6/+0
| | | | | | | | | It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove useless overriding methodsNoel Grandin2014-10-071-5/+0
| | | | | | that only call their superclass method Change-Id: I9be2f69be132eec7918964f504c50df0ae8401a2
* loplugin: cstylecastNoel Grandin2014-09-294-7/+7
| | | | Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
* fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler2014-09-185-78/+25
| | | | | Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* java: remove commented out codeNoel Grandin2014-08-141-4/+0
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-121-0/+2
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
* java: remove unused importsNoel Grandin2014-08-081-1/+0
| | | | Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
* java: remove unused variablesNoel Grandin2014-08-082-16/+5
| | | | Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
* Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann2014-08-073-0/+3
| | | | Change-Id: I004905375489fa5533ab4af13ebba439ba792384
* java: remove commented out codeNoel Grandin2014-08-051-1/+0
| | | | Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
* java: remove various unused variablesNoel Grandin2014-08-052-2/+0
| | | | Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
* use BOOST_STATIC_ASSERT for sizeof checkMichael Stahl2014-07-242-3/+7
| | | | Change-Id: Iad00aa47ef65fe163eff407549c26eb3590ab132
* DBG_ASSERT->assert when followed by dereferenceCaolán McNamara2014-07-071-1/+1
| | | | Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
* fVal->nValCaolán McNamara2014-06-241-4/+4
| | | | Change-Id: Ia5b041094f29e42cb60f2c83888cace42b91cc13
* coverity#982255 Operands don't affect resultCaolán McNamara2014-06-241-1/+1
| | | | | | | | | | | | | fVal started out as a double, but is now a sal_Int64 since commit 353607df2ed59f00ad67a74de29b3db662ea960a Author: Lars Langhans <lla@openoffice.org> Date: Mon Oct 9 13:21:27 2000 +0000 #79269# convert to hyper doesn't use toDouble any longer so the comparison is always false Change-Id: Ib0b0a78ba3763fb6564219e69111de13b5afc870