summaryrefslogtreecommitdiff
path: root/stoc
AgeCommit message (Collapse)Author
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-20stocservices.component: The rest of the services + cleanup.Jan Holesovsky
Change-Id: I5156318afde0f56cf3eb8d1c74c6db8d5e378600
2015-02-20stocservices.component partly refactored to use the "constructor" feature.Ursache Vladimir
Change-Id: I4c1c5e62de608738a91be4a234d9c160a18cbf8f
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-16we shouldn't need a static ref in these createOneInstance factory helpersCaolán McNamara
at least not to ensure that they are singletons anyway Change-Id: I08176afa67ac5f8e4f479b70ca5d71c52d0bb9af
2015-02-08Typos + simple german translationsJulien Nabet
Change-Id: Icc0e9f028b393abb062a880519211be4fcd1d4b3
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I8ec246416736bc0316c222d1b9435bd2747597b8
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-01-28Use vector::dataStephan Bergmann
...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
2015-01-28Some more loplugin:cstylecast clean-upStephan Bergmann
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-20Some more loplugin:cstylecast: stocStephan Bergmann
Change-Id: I3d820a1df3750d20e704a163f45c16ea29a1b4bd
2015-01-12fdo#39440 reduce scope of local variablesMichael Weghorn
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>
2015-01-07Just use WeakImplHelper1 instead of ImplHelper1Stephan Bergmann
Change-Id: Iadc5960ef22289c044a0c85accaefb4f60b6097f
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
2014-12-18stoc: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I776bbe6077b33f22657141ca875743c67b793c48
2014-12-16stoc: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
2014-11-25java: remove some comment noiseNoel Grandin
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
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
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: convert fields to local variables where possibleNoel Grandin
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>
2014-11-06Bin unused include files, thanks to Andrea GelminiTor Lillqvist
Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
2014-10-31Removed duplicated includesAndrea Gelmini
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>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
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>
2014-10-07java: remove useless overriding methodsNoel Grandin
that only call their superclass method Change-Id: I9be2f69be132eec7918964f504c50df0ae8401a2
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: remove unused importsNoel Grandin
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08java: remove unused variablesNoel Grandin
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
2014-08-07Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann
Change-Id: I004905375489fa5533ab4af13ebba439ba792384
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove various unused variablesNoel Grandin
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-07-24use BOOST_STATIC_ASSERT for sizeof checkMichael Stahl
Change-Id: Iad00aa47ef65fe163eff407549c26eb3590ab132
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-06-24fVal->nValCaolán McNamara
Change-Id: Ia5b041094f29e42cb60f2c83888cace42b91cc13
2014-06-24coverity#982255 Operands don't affect resultCaolán McNamara
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
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-05stoc: remove SAL_THROW macroNoel Grandin
Change-Id: I7443c855a7145837621887030b0d3d01cca2a5ac
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories stoc/, and svtools/ Change-Id: Ib6691b0e3fa09d71696ab947d357e489eb35df66 Reviewed-on: https://gerrit.libreoffice.org/9584 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-27remove more unnecessary use of OUString constructorNoel Grandin
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: Ic4a2738aeba8e0446ea2428d5adab3dd11f72928
2014-05-23get stoc to build againCaolán McNamara
Change-Id: Ie4f04f8d5daf4af66057ec1ead4372c2ef0e7056
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
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-22cppcheck: fprintf format string requires 1 parameter but only 0 are givenThomas Arnhold
Change-Id: I31a5a4e2bad79cfc425fb712688794a4a1dc4f60
2014-05-22stoc: fix includesThomas Arnhold
Change-Id: I0809bfa6897d469e63d6e84898f60aae16a14862