summaryrefslogtreecommitdiff
path: root/toolkit
AgeCommit message (Collapse)Author
2014-08-14java: remove unused importsNoel Grandin
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: reduce scope, make some methods privateNoel Grandin
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make member classes privateNoel Grandin
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
2014-08-13java: reduce scope, make fields privateNoel Grandin
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-13java: reduce scope, make constructors privateNoel Grandin
found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
2014-08-12java: fix broken javadoc tagsNoel Grandin
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
2014-08-12java: remove useless javadoc tagsNoel Grandin
that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-12java: remove unused parametersNoel Grandin
Change-Id: I25b1976295b736fe3929c481bf9d2d81b523271d
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: I9ae22afc27ac0d2051f06885f363845e9b4ce2ff
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: redundant assignment, variable can only be nullNoel Grandin
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
2014-08-08java: remove unnecessary semi-colonsNoel Grandin
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-08-08java: remove unused importsNoel Grandin
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08java: remove unused fieldsNoel Grandin
Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
2014-08-08java: remove dead methodsNoel Grandin
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-07Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann
Change-Id: I536353b86ee023eb630ea89786d2205a628d95e3
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove unused fieldsNoel Grandin
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-08-05java: remove various unused variablesNoel Grandin
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-07-20vcl consitent use of long for corrdinateNorbert Thiebaud
most of length in vcl are calculated in 'long' but array of X position tend to be in sal_Int32. As a prep work to be able to support 'double' as the base type of Device Coordinate, harmonize the use of 'long' for non-float coordinate. Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
2014-07-11coverity#736076 Missing break in switch, its got to be wrongCaolán McNamara
Change-Id: I21a3b2b794a431d07df8a1bc250e8f0aacaf3059
2014-07-11new loplugin: externalandnotdefinedNoel Grandin
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-08use SimpleReferenceObject in accessibilityNoel Grandin
to replace hand-rolled version Change-Id: I9dd8d02024702972722b43f2654db91eb3da3794
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-01Related: fdo#80633 cache optimal sizeCaolán McNamara
Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4
2014-07-01coverity#707416 Uncaught exceptionCaolán McNamara
Change-Id: I7c67c62622e2b46bc565ae148c1605f4954ffa39
2014-06-30Called C++ object pointer is nullCaolán McNamara
Change-Id: I88efc4be6ff869ef97a2b398d43f7b7914debfc6
2014-06-27loplugin:unreffun: also warn about unused function templatesStephan Bergmann
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-24coverity#705322 Missing break in switch, assuming incorrectCaolán McNamara
especially because the setProperty logic now matches the getPropery one Change-Id: I7ebeabc9defed00d1853c3b91fbbf592e1940aa8
2014-06-18Missing SolarMutexGuardsStephan Bergmann
...as can be seen e.g. with CppunitTest_dbaccess_dialog_save: vcl::DisplayConnection::start Application::GetDisplayConnection Window::GetDragSource Window::GetDropTarget (anonymous namespace)::VCLXToolkit::getDropTarget (anonymous namespace)::Frame::implts_startWindowListening (anonymous namespace)::Frame::initialize (anonymous namespace)::TaskCreatorService::implts_createFrame (anonymous namespace)::TaskCreatorService::createInstanceWithArguments framework::TaskCreator::createTask framework::Desktop::findFrame framework::LoadEnv::impl_loadContent framework::LoadEnv::startLoading framework::LoadEnv::loadComponentFromURL framework::Desktop::loadComponentFromURL unotest::MacrosTest::loadFromDesktop DialogSaveTest::test ... Change-Id: I9523ea47cab23d1f23f73a37d2d44453aa7d56a3
2014-06-16Use proper name also when libmerged is used.Matúš Kukan
gb_Library__get_name was forgotten in 1817366cb5f61337b34b5284615d3d4e0a8aa68a Change-Id: I42592d70455b9c695879d7fa20881c77a1ca2066
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I9e643bd43e6e0f027a7e17b2d5d867c0cb452052
2014-06-09gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl
This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f
2014-06-05coverity#705323 Missing break in switch, assuming its intentionalCaolán McNamara
Change-Id: Ibb8fe4e1d13a24f810fbdf4978606c35890a9cfd
2014-06-05toolkit: remove SAL_THROW macroNoel Grandin
Change-Id: Id9e27c6cbcdc0c229a0dc2a3ad075d62121e6c5d
2014-06-04coverity#705387 Mixing enum typesCaolán McNamara
Change-Id: Iaba60d05b73ca3229aa8b35b338ee54381efd2d3
2014-06-04coverity#705388 Mixing enum typesCaolán McNamara
Change-Id: If80361ac234c5079c9fcadb0a2f5fa05ea6b407b
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories toolkit/, and ucb/ Change-Id: Ia7ea7d6fad685c7648db22455b5587cf6260318d Reviewed-on: https://gerrit.libreoffice.org/9595 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-29fdo#75364 flat style and 3d style were swappedLionel Elie Mamane
Change-Id: I929f8f63e8017727595be30f4e56f3aabeec2b1e Reviewed-on: https://gerrit.libreoffice.org/9549 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-29remove unnecessary NULL parameter passed to UNO ExceptionNoel Grandin
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-27remove more unnecessary use of OUString constructorNoel Grandin
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-16Resolves: #i98216# extract boolean value for AutoFill value of ComboBox modelTsutomu Uchino
(cherry picked from commit 213aafbf006a5099e951f65a472e4f8fa66256a4) Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4
2014-05-15Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part13Julien Nabet
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a