summaryrefslogtreecommitdiffstats
path: root/UnoControls/inc
Commit message (Collapse)AuthorAgeFilesLines
* tdf#124176: Use "pragma once" on UnoControls/*Andrea Gelmini2019-12-283-9/+3
| | | | | | | | | It passed "make check" on Linux Change-Id: I4b0427e86063de0d4b1fd916ab4dfb1505db5a04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85888 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* loplugin:finalclasses in UnoControls..writerperfectNoel Grandin2019-12-221-4/+2
| | | | | | | Change-Id: I751c9a45503326dfdaeb471967a688a95d4fa090 Reviewed-on: https://gerrit.libreoffice.org/85711 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in UnoControls/Gabor Kelemen2019-05-173-88/+14
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Id088a2c8a91c2fe7c8ff9e05d910d5b5e9383b7c Reviewed-on: https://gerrit.libreoffice.org/72095 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* loplugin:useuniqueptr in impl_getWindowDescriptorNoel Grandin2018-10-312-2/+2
| | | | | | | | | return by value, the usual C++ optimisations will make this efficient Change-Id: I7f9634b9663605504c69e0381a6ebc9c76061048 Reviewed-on: https://gerrit.libreoffice.org/62645 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* m_xTabControllerList is deadNoel Grandin2018-09-181-5/+0
| | | | | | | | | | | | ever since commit af4b38d6e7f769bf403a768bd310e5fa2b3e8ddd Date: Mon Mar 24 15:59:06 2014 +0100 Remove dead code Change-Id: Ia7848f469d91666f13130132ebe5766c4fedcebb Reviewed-on: https://gerrit.libreoffice.org/60621 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:useuniqueptr in BaseContainerControlNoel Grandin2018-09-181-3/+2
| | | | | | | Change-Id: If78893d47d2b504b01652575579c6972a3863a09 Reviewed-on: https://gerrit.libreoffice.org/60620 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Sorry, could not resist: Drive-by cosmetic changesTor Lillqvist2018-03-133-48/+28
| | | | | | | | | | Remove noise comments, ASCII graphics, and superfluous whitespace. Change-Id: Icca0995082ce8afad1e770a263fdef00bfc33449 Reviewed-on: https://gerrit.libreoffice.org/51168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* delete colordata.hxxNoel Grandin2018-03-021-1/+0
| | | | | | | | | move what we still need into color.hxx Change-Id: Ied7e31eb16468aa334c666b1499a6262f16a6350 Reviewed-on: https://gerrit.libreoffice.org/50561 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:constmethod in tools,sax,UnoControlsNoel Grandin2017-10-251-6/+6
| | | | | | | Change-Id: Ie05e44e2a4019e2549843961ebfa04fef7b7aeb4 Reviewed-on: https://gerrit.libreoffice.org/43767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove dynamic exception specificationsStephan Bergmann2017-01-263-124/+87
| | | | | | | | | | | | | | | | | | | | | | | | | ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* use rtl::Reference in BaseControlNoel Grandin2017-01-171-2/+2
| | | | | | | | | no need to hold both raw pointer and a uno::Reference to the same object Change-Id: I6aa2b2e259aed77ab038fc72a3ece7165e477f50 Reviewed-on: https://gerrit.libreoffice.org/33163 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin2016-10-251-2/+0
| | | | | | | Change-Id: I7e607df2a1f6d4eb207ee0d3eb30f41fac44a0c6 Reviewed-on: https://gerrit.libreoffice.org/30262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin2016-10-191-6/+0
| | | | | | | Change-Id: Iec2c5e13119d97c9ca87e083c0f7cb00227e5231 Reviewed-on: https://gerrit.libreoffice.org/29997 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-133-3/+3
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* Fix typosAndrea Gelmini2016-04-221-1/+1
| | | | | | | Change-Id: Iea11112a1bf1ff934de0e355b9e81979aa1966a3 Reviewed-on: https://gerrit.libreoffice.org/24286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* loplugin:passstuffbyref in variousNoel Grandin2016-04-141-4/+4
| | | | Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
* tools: split out color macros into own headerChris Sherlock2016-03-181-5/+1
| | | | Change-Id: Ib983601d60a3dae1e738bb385dfbb36094bdb064
* loplugin:unusedmethods unused return value in UnoControlNoel Grandin2016-01-131-2/+0
| | | | Change-Id: I6099667c1a057e36cd10a9d79792fadbb84fbf26
* com::sun::star->css in UnoControls/Noel Grandin2015-11-113-589/+215
| | | | | | | | | and remove some noise comments Change-Id: I290ec365b58fa1b21838a6faf84006434c3e7bbd Reviewed-on: https://gerrit.libreoffice.org/19904 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-123-93/+93
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-081-1/+1
| | | | Change-Id: I2828f5fe78efffaa5dee19a3d56592d12878d956
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-181-0/+1
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-172-5/+5
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-2/+2
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* fixincludeguards.sh: some smaller dirsThomas Arnhold2014-04-193-9/+9
| | | | Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
* Bin empty @seealso, @param, @return and @onerror metacommentsTor Lillqvist2014-04-063-1108/+0
| | | | Change-Id: I6517028670a953954b31599fa3e23f4c8ee8cfc9
* Kill superfluous spacing before semicolonsTor Lillqvist2014-04-063-49/+49
| | | | Change-Id: I2c5c2c2e8c57796d147141748fb57a4c5645a96a
* Kill superfluous vertical whitespaceTor Lillqvist2014-04-063-103/+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-263-93/+93
| | | | | | | ...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-251-105/+0
| | | | Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-263-87/+87
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from UnoControlsAlexander Wilms2014-02-263-106/+106
| | | | | | | 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>
* UnoControls: sal_Bool -> boolStephan Bergmann2014-02-181-3/+3
| | | | Change-Id: Ic548cf07fe115c101771999a0dc8d370e57cd3ab
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2013-12-171-0/+4
| | | | | | | ...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
* Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile2013-07-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21) Conflicts: desktop/test/deployment/active/active_native.cxx desktop/test/deployment/passive/Dispatch.java desktop/test/deployment/passive/passive_native.cxx odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java odk/examples/DevelopersGuide/GUI/MessageBox.java odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx odk/examples/java/Inspector/Inspector.java offapi/com/sun/star/awt/MessageBoxButtons.idl offapi/com/sun/star/awt/MessageBoxResults.idl offapi/com/sun/star/awt/XMessageBox.idl offapi/com/sun/star/awt/XMessageBoxFactory.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb sdext/source/minimizer/unodialog.cxx toolkit/inc/toolkit/awt/vclxtoolkit.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/layout/core/root.cxx Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67 Related: #i121544# - Clean-up MessageBox API (post fix) (cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8) Conflicts: sw/inc/pch/precompiled_sw.hxx Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1 Related: #i121544# - Fix header guards Found by: Tsutomu Uchino (cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27) Conflicts: offapi/com/sun/star/awt/MessageBoxType.idl Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
* fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin2012-10-242-4/+4
| | | | | | | | | Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
* ::rtl::OUString to OUString in UnoControlsRicardo Montania2012-09-112-9/+9
| | | | | | | Change-Id: I12a95e61e7bf59c64fec7df98617926b774074ee Reviewed-on: https://gerrit.libreoffice.org/597 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
* reduce ascii noise and useless commentsThomas Arnhold2012-08-082-8/+0
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-083-21/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* re-base on ALv2 code.Michael Meeks2012-07-033-69/+42
|
* expand and remove CSS* macroThomas Arnhold2012-02-213-254/+224
|
* Cleanup some #include <tools/list.hxx>Joseph Powers2011-02-201-1/+0
|
* Removed DECLARE_LIST( IMPL_ControlInfoList, IMPL_ControlInfo* )Joseph Powers2010-12-101-5/+2
| | | | | | Also fixed a memory leak... BaseContainerControl::impl_cleanMemory The old code would delete object[0] size() times :(
* Macro Cleanup in UNO land.Joseph Powers2010-11-014-368/+306
|
* add modelines to .hxx files as wellCaolán McNamara2010-10-284-0/+12
|
* changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien2010-02-124-16/+4
| | | | Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
* INTEGRATION: CWS changefileheader (1.3.42); FILE MERGEDRüdiger Timm2008-04-111-73/+18
| | | | | | 2008/04/01 16:03:00 thb 1.3.42.3: #i85898# Stripping all external header guards 2008/04/01 12:59:00 thb 1.3.42.2: #i85898# Stripping all external header guards 2008/03/31 13:07:32 rt 1.3.42.1: #i87441# Change license header to LPGL v3.
* INTEGRATION: CWS changefileheader (1.2.42); FILE MERGEDRüdiger Timm2008-04-111-23/+18
| | | | 2008/03/31 13:07:31 rt 1.2.42.1: #i87441# Change license header to LPGL v3.