summaryrefslogtreecommitdiff
path: root/stoc
AgeCommit message (Collapse)AuthorFilesLines
2014-10-07java: remove useless overriding methodsNoel Grandin1-5/+0
that only call their superclass method Change-Id: I9be2f69be132eec7918964f504c50df0ae8401a2
2014-09-29loplugin: cstylecastNoel Grandin4-7/+7
Change-Id: I53b69a488c70769cbb841db519bc28fd211dc087
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler5-78/+25
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-08-14java: remove commented out codeNoel Grandin1-4/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+2
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: remove unused importsNoel Grandin1-1/+0
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08java: remove unused variablesNoel Grandin2-16/+5
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
2014-08-07Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann3-0/+3
Change-Id: I004905375489fa5533ab4af13ebba439ba792384
2014-08-05java: remove commented out codeNoel Grandin1-1/+0
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove various unused variablesNoel Grandin2-2/+0
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-07-24use BOOST_STATIC_ASSERT for sizeof checkMichael Stahl2-3/+7
Change-Id: Iad00aa47ef65fe163eff407549c26eb3590ab132
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara1-1/+1
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-06-24fVal->nValCaolán McNamara1-4/+4
Change-Id: Ia5b041094f29e42cb60f2c83888cace42b91cc13
2014-06-24coverity#982255 Operands don't affect resultCaolán McNamara1-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
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin4-9/+2
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-05stoc: remove SAL_THROW macroNoel Grandin20-213/+114
Change-Id: I7443c855a7145837621887030b0d3d01cca2a5ac
2014-06-01fdo#68849: Add header guards to all include filesJens Carl3-5/+12
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 Grandin7-54/+52
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-27remove more unnecessary use of OUString constructorNoel Grandin1-6/+4
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-24cppcheck: redundantAssignmentThomas Arnhold1-2/+1
Change-Id: Ic4a2738aeba8e0446ea2428d5adab3dd11f72928
2014-05-23get stoc to build againCaolán McNamara2-2/+2
Change-Id: Ie4f04f8d5daf4af66057ec1ead4372c2ef0e7056
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet16-99/+93
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin11-108/+61
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 Arnhold1-4/+4
Change-Id: I31a5a4e2bad79cfc425fb712688794a4a1dc4f60
2014-05-22stoc: fix includesThomas Arnhold30-370/+370
Change-Id: I0809bfa6897d469e63d6e84898f60aae16a14862
2014-05-22stoc: convert TEST_LIST_CLASSES case alsoThomas Arnhold2-3/+3
Change-Id: Ib7b00f052c5b907ccc9b0aba924ada41ff1db023
2014-05-22stoc: make use of css aliasThomas Arnhold48-639/+639
Change-Id: I1dd85a7b1236cfebd5e653fe6d329968e556364b
2014-05-22stoc: remove using namespace from headersThomas Arnhold7-154/+163
Change-Id: I1bee29ddcef66cb38ef2619507ad66c886f6f20d
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin2-2/+2
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-16idl: remove external header guardsThomas Arnhold1-17/+0
Change-Id: I78661f0750e4213a20dd2341580cbb181897f3ba
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold10-22/+22
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-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet1-1/+1
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-10coverity#708240 Uninitialized pointer fieldCaolán McNamara1-0/+2
Change-Id: I82bb1587d74f7b1f012ff01d0f68ea8cffd16112
2014-04-30stoc: sal_Bool->boolNoel Grandin12-117/+117
Change-Id: Id5aaa3ddfe2cfacbe1bddcdeccb9e775ad84d858
2014-04-24add missing modelines to idl filesThomas Arnhold11-0/+33
Change-Id: If52651c70ee659c83ef127da4fe5e266cfe7eec2
2014-04-09Clean up function declarationsStephan Bergmann2-4/+4
Change-Id: Ife3cb18d22c57c9c2e59317b68cf11a4bf94a40a
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin1-8/+8
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03Unused declarationStephan Bergmann1-3/+0
Change-Id: Ib753cacf91baa6a761ac8f971b67c0f5ade555b6
2014-04-03Use boost::noncopyableStephan Bergmann9-52/+43
Change-Id: I9cba1299c54f196a5a7b35384f4c15bbbea273bb
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann6-8/+8
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-04-01Remove unused inline functionStephan Bergmann1-5/+0
Change-Id: Ieafdefb5a6981ee2f375cb9ba852de7b21688b42
2014-03-26Work around MSC "'override' cannot be used with 'inline'" bugStephan Bergmann1-1/+1
Change-Id: If736316402c49153d4c8552672c90552548f90b8
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann29-509/+509
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25Adapt to sal/log.hxxStephan Bergmann1-2/+3
Change-Id: Ic197b0fc962ff33b0f0a3c7f04d8208ea9123094
2014-03-18Use cppu::BaseMutex instead of plain osl::Mutex as baseStephan Bergmann2-15/+16
Change-Id: Ib4fa4669adb217be810840b3f8e4f0e2dda0f7c5
2014-03-18Use cppu::BaseMutex instead of plain osl::Mutex as baseStephan Bergmann1-3/+4
Change-Id: Ic7bd99f920fc954e2eeb734e324d15b1af01e30d
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin1-3/+3
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-14coverity#708238 Uninitialized pointer fieldCaolán McNamara1-0/+2
Change-Id: I83552efc825d54da9e00d4a9a637118565bd30ca
2014-03-14coverity#708240 Uninitialized pointer fieldCaolán McNamara1-0/+1
Change-Id: I127cfc84412984e9c190f3e5b2e37cf76ebf82f1
2014-03-12No need for Invocation_Impl::setMaterial to be virtualStephan Bergmann1-3/+2
Change-Id: I5f78d97bcd55c0db71d7c5e3383678586c2cf392