summaryrefslogtreecommitdiffstats
path: root/UnoControls
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-085-10/+10
| | | | Change-Id: I2828f5fe78efffaa5dee19a3d56592d12878d956
* new clang plugin: loopvartoosmallNoel Grandin2015-05-281-2/+2
| | | | | | | | | | | | | Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
* remove unused #include awt/InvalidateStyle.hppMichael Stahl2015-05-051-1/+0
| | | | Change-Id: I7ea52365157fc642401db64c3b4a40d4643d16ae
* UnoControls, toolkit, uuoi, xmlsecurity: convert new to ::Create.Michael Meeks2015-04-163-2/+4
| | | | Change-Id: I7b8c7ece656589c50fb066e9fa1565fd59f930da
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-012-2/+2
| | | | Change-Id: I61a85caf1587291eaa6b999050a52c92d9e416e3
* loplugin:staticfunctionNoel Grandin2015-03-271-2/+2
| | | | Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
* Fix various XServiceInfo implementationsStephan Bergmann2015-03-172-0/+18
| | | | | | ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
* V668 no sense in testing the result of new against nullCaolán McNamara2015-03-112-50/+44
| | | | Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
* TyposJulien Nabet2015-03-081-1/+1
| | | | Change-Id: Ibc378fa5f515de61bb768b4ef082638b40c94e00
* TyposJulien Nabet2015-02-281-2/+2
| | | | Change-Id: I151957e415eff793e3d054050526b7d6892d28d4
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-231-1/+1
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* Fix of a few typosAndrea Gelmini2015-02-091-2/+2
| | | | | | | Change-Id: Ib2a311f0341d165a8f9d3f7a11ec36378fd69519 Reviewed-on: https://gerrit.libreoffice.org/14373 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* brute-force find-and-remove of unused #define constants.Noel Grandin2015-01-082-2/+0
| | | | Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
* Daft += "\0" triggers assertStephan Bergmann2014-12-161-4/+0
| | | | | | | | | | ...try GetProcessServiceManager().createInstance("stardiv.UnoControls.ProgressMonitor").addText("foo", "bar", false) in Basic... Change-Id: I30318c3e8e671a97b6a3fe2dd9ec03add21794ab
* Daft "\0" triggers assert in OUString literal ctorStephan Bergmann2014-12-162-2/+1
| | | | | | | | | | ...try GetProcessServiceManager().createInstance("stardiv.UnoControls.StatusIndicator") in Basic... Change-Id: Iafc22188feb8a1d3f1b19ac4f6e209be62a44d17
* Missing UnoControls/MakefileStephan Bergmann2014-12-161-0/+24
| | | | Change-Id: Iebf1c42c384909f6226c25eb151985f8bc244c93
* Kill the libreofficekit static library / shim.c.Andrzej Hunt2014-12-041-14/+0
| | | | | | | | | | | | | | | | | It looks like the cleanest method of getting lok_init into a LibreOfficeKitInit.h header (in a c89 compatible way) is to have it as a static function. (inline is only available in C99 or later -- this is actually available on Linux which is the only place that we can actually use lok_init anyways currently, however given we have to keep c89 for the C code (for MSVC) compatibility, selectively enabling c99 would likely be more messy.) Conflicts: libreofficekit/Module_libreofficekit.mk Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-1811-0/+13
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-298-8/+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>
* loplugin: cstylecastNoel Grandin2014-09-292-3/+3
| | | | Change-Id: I28443b688f8ab752162846e5cea661f26d269cad
* UnoControls: sal_False/True -> false/trueStephan Bergmann2014-09-157-19/+19
| | | | Change-Id: If30d43a2693c6df2d483ec135efa54ccb643fdb0
* typo: more then -> more thanTakeshi Abe2014-08-011-1/+1
| | | | Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-176-60/+10
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* -Werror,-Wtautological-undefined-compareStephan Bergmann2014-06-101-6/+0
| | | | Change-Id: If546680f4c16ccd733188a65d82129ec2358017b
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-092-16/+2
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet2014-05-237-52/+52
| | | | Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
* Many spelling fixes: some more files.Pedro Giffuni2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. (cherry picked from commit e62c0f54ef18a5a79b76e934834b148523c69847) Conflicts: LICENSE NOTICE_category_b UnoControls/source/base/basecontainercontrol.cxx UnoControls/source/base/registercontrols.cxx UnoControls/source/controls/OConnectionPointContainerHelper.cxx UnoControls/source/controls/progressbar.cxx UnoControls/source/controls/progressmonitor.cxx UnoControls/source/controls/statusindicator.cxx UnoControls/source/inc/framecontrol.hxx Change-Id: I882a1d640d931b4e89b2d19f3585fd35fdd320ca
* automaticly -> automatically.Jan Holesovsky2014-04-275-9/+9
| | | | Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847
* fixincludeguards.sh: some smaller dirsThomas Arnhold2014-04-199-27/+27
| | | | Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
* Bin empty @seealso, @param, @return and @onerror metacommentsTor Lillqvist2014-04-069-1685/+0
| | | | Change-Id: I6517028670a953954b31599fa3e23f4c8ee8cfc9
* Kill superfluous spacing before semicolonsTor Lillqvist2014-04-0618-691/+691
| | | | Change-Id: I2c5c2c2e8c57796d147141748fb57a4c5645a96a
* Kill superfluous vertical whitespaceTor Lillqvist2014-04-0617-686/+0
| | | | Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | 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
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-269-190/+190
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Remove dead codeStephan Bergmann2014-03-252-199/+0
| | | | Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
* UnoControls: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-101-24/+1
| | | | Change-Id: I6ad8bb98f967d7bfa062ae24d9ff35837620a77a
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2618-324/+324
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from UnoControlsAlexander Wilms2014-02-2613-511/+511
| | | | | | | Change-Id: I0ffbc08cf769e39e8c3b7519e8d2e13ccbe6e3d8 Reviewed-on: https://gerrit.libreoffice.org/8331 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-234-192/+192
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* UnoControls: sal_Bool -> boolStephan Bergmann2014-02-189-39/+39
| | | | Change-Id: Ic548cf07fe115c101771999a0dc8d370e57cd3ab
* fdo#63154 Remove unused solar.h ref in vcl, basctl, desktop..Alexandre Vicenzi2014-02-121-104/+0
| | | | | | | Change-Id: Ic0187495d8f7f64ddf9d3c202ec41201c9ac3a8c Reviewed-on: https://gerrit.libreoffice.org/8001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
* bool improvementsStephan Bergmann2014-01-291-1/+1
| | | | Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
* bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann2014-01-221-1/+1
| | | | Change-Id: I9869d9709f28b68ef7b518527175589d80644668
* bool improvementsStephan Bergmann2014-01-219-32/+32
| | | | Change-Id: I24fae431d9e2b99cd6ac937956bb401ecfebc943
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Remove odd service names (that duplicate type names)Stephan Bergmann2013-12-194-18/+6
| | | | | | | | | | | | | | | Looks like no code instantiated these via those odd service names (except for ProgressMonitor/StatusIndicator instantiating ProgressBar via odd "com.sun.star.awt.XProgressBar" service name until that got cleaned up in the previous commit). Also looks like no code instantiates them via their implementation names either (in which case ProgressBar/ProgressMonitor/StatusIndicator would be dead code), but maybe there is code that dynamically constructs those implemenation names and calls creeateInstance on them? So best leave the implementations in for now... Change-Id: I20b92345e343b1f776387f63d9b02a5b0a47fe21
* Clean up UnoControls/source/controls/ furtherStephan Bergmann2013-12-196-136/+101
| | | | | | | ...and create ProgressBar directly in ProgressMonitor/StatusIndicator, instead of going via service manager. Change-Id: I798e0c415c113cfc65d70ed17cb16aafded41a6d
* Clean up macro madnessStephan Bergmann2013-12-191-107/+86
| | | | Change-Id: I353a161fdc274a3da5ac965df12379c0d65681a4
* embedded nulls in literalsCaolán McNamara2013-12-171-2/+2
| | | | | | | these used to be used with OUString::createFromAscii so a blank string is fine here Change-Id: I744d2be5471fad2675741f908e1ad78f0d5eefbc
* No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2013-12-173-0/+6
| | | | | | | ...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866