summaryrefslogtreecommitdiffstats
path: root/desktop/source/offacc
Commit message (Collapse)AuthorAgeFilesLines
* Add missing #includesStephan Bergmann2017-02-061-1/+0
| | | | | | | | | ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
* Remove dynamic exception specificationsStephan Bergmann2017-01-262-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | ...(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>
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-131-2/+2
| | | | | | | | | | | | | | | | | 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
* Missing osl_destroyThreadStephan Bergmann2015-12-081-0/+1
| | | | Change-Id: I526cb06b019b945931b24eb40477a1727c38cdc2
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | | performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-2/+2
| | | | Change-Id: I8204a300c98b891a842ef2e40b65f0810dd7817a
* yyyyyNoel Grandin2015-11-041-4/+2
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* use uno::Reference::set method instead of assignmentNoel Grandin2015-10-301-2/+2
| | | | Change-Id: I3d45914e349a4268204af84b95b53ccce7b9d544
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-5/+5
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* desktop: com::sun::star->cssNoel Grandin2015-09-121-1/+1
| | | | | | | | Change-Id: Ie94dea9b4f48829132ceadcbf36634eeed191bb9 Reviewed-on: https://gerrit.libreoffice.org/18498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-07-231-4/+3
| | | | | | | | | with the variadic variants in desktop. Change-Id: I84d4c4b36fff95b5e1646f4df731d0b83ee1fe3e Reviewed-on: https://gerrit.libreoffice.org/17301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cppcheck: noExplicitConstructorCaolán McNamara2015-06-241-1/+1
| | | | Change-Id: I80cd2975f17bb7fa57fa669873ef1dd8f3595a11
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41 Reviewed-on: https://gerrit.libreoffice.org/16295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Various #include <sal/log.hxx> fixupsStephan Bergmann2015-04-221-0/+1
| | | | | | | | | | | | | | rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-1/+1
| | | | Change-Id: I128d5b429a8f649f9236b2e007a90c24cac5b142
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: Idb32372009faf2bc2e223f1f8977cb3fc6b182a3
* Related: tdf#63690 - remove rtl_logfileThorsten Behrens2015-02-141-1/+0
| | | | | | This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
* Some more loplugin:cstylecast: desktopStephan Bergmann2015-01-201-2/+3
| | | | Change-Id: I1aeba8e1a8452d0329244d85c7c8cbd55353582f
* desktop: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-121-3/+3
| | | | Change-Id: I5791c212a103fe9c2a5376545944a70454b28bdd
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-181-0/+1
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* set names on a bunch more threads...Michael Stahl2014-08-251-0/+2
| | | | Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
* desktop: fix includesThomas Arnhold2014-06-042-2/+2
| | | | Change-Id: Ia51cd6fcdb84c049907b0aeda20774558198b575
* fdo#68849: Add header guards to all include filesJens Carl2014-05-301-0/+5
| | | | | | | | | Added header guards to files in directories desktop/*, and embedserv/* Change-Id: Idaffcc0539b84962ed7c132cb20078512799d433 Reviewed-on: https://gerrit.libreoffice.org/9556 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove more unnecesary OUString constructor useNoel Grandin2014-05-291-4/+4
| | | | | | when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-261-5/+5
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-262-10/+10
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove unneccessary commentsAlexander Wilms2014-02-231-1/+1
| | | | | | | 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>
* 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
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin2013-11-111-3/+3
| | | | | | | | | | Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
* Various desktop::Acceptor clean upStephan Bergmann2013-08-222-50/+36
| | | | Change-Id: Idcb41f8b83863ac1d37ea47a8bb61901f3bc7e06
* fdo#46808, Use service constructor for connection::AcceptorNoel Grandin2013-06-101-6/+5
| | | | Change-Id: I0e69e43b5e6c6907447d6a8c23c0579b88ceb9a3
* fdo#46808, Convert XMultiServiceFactory in filter moduleNoel Grandin2013-06-052-19/+16
| | | | Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2013-05-311-9/+7
| | | | | | | | | | - replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac Reviewed-on: https://gerrit.libreoffice.org/4044 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* namespacing cleanupThomas Arnhold2013-04-282-37/+33
| | | | Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
* add desktop libs to libmergedPeter Foley2013-04-151-2/+2
| | | | Change-Id: I0e5477f84de316598015330cea995e42f1249acb
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-071-2/+2
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Clean up some supportsService implementationsStephan Bergmann2013-02-161-3/+5
| | | | Change-Id: Ib74400765a6e0ef203e751afa5433a01c8564fee
* Improve debug error reportingStephan Bergmann2013-01-241-1/+2
| | | | Change-Id: I6798f7f855ed65a7628b4a178497205bce2e6060
* re-base on ALv2 code. Includes:Michael Meeks2012-11-192-49/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch contributed by: Jurgen Schmidt remove onlineregistration with dependencies http://svn.apache.org/viewvc?view=revision&revision=1240245 imported patch package_eventlistener.patch http://svn.apache.org/viewvc?view=revision&revision=1172103 Patch contributed by Pedro Giffuni Accept Google Chrome OS fonts as equivalent to MS fonts. http://svn.apache.org/viewvc?view=revision&revision=1233155 http://svn.apache.org/viewvc?view=revision&revision=1233408 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i114600#: remove forbidden characters from list of unencoded characters http://svn.apache.org/viewvc?view=revision&revision=1172370 Patches contributed by Oliver Rainer-Wittman some clean up in JPEGReader due to memory constraints http://svn.apache.org/viewvc?view=revision&revision=1299729 119114 - method <UpdateDialog::addSpecificError(..)> - create entry with correct type http://svn.apache.org/viewvc?view=revision&revision=1305265 Patches contributed by Ariel Constenla-Haile i118707 - make toolbar control's popup window grab focus http://svn.apache.org/viewvc?view=revision&revision=1225846 Patches contributed by Herbert Duerr #i118662# remove usage of BerkeleyDB in desktop module http://svn.apache.org/viewvc?view=revision&revision=1213171 minor cleanups in dp_persmap.* http://svn.apache.org/viewvc?view=revision&revision=1215064 flush early to prevent problem with extension manager not cleaning up its objects http://svn.apache.org/viewvc?view=revision&revision=1228147 i118726 do not flush *pmap file while reading it http://svn.apache.org/viewvc?view=revision&revision=1230614 #i119048# migrate BDB extension entries using a simple heuristic http://svn.apache.org/viewvc?view=revision&revision=1300972 #i119048# handle edge cases when importing BDB hash files http://svn.apache.org/viewvc?view=revision&revision=1301428 #i119113# fix of-by-one when importing BDB files http://svn.apache.org/viewvc?view=revision&revision=1305420 restore our encryption settings, icon themes, and dictionaries. removed wrapper hacks, kill obsolete bundled extension blob / pre-registration handling, remove duplicated quickstart code. remove OS/2 conditionals.
* Revert "sb140: #i116910# do not leak Thread_Impl"Michael Meeks2012-11-191-1/+0
| | | | This reverts commit e700031cc4f60f62d862940cd40de73e32f9104b.
* drop unused includesDavid Tardon2012-10-061-4/+1
| | | | Change-Id: Iba9f3dcb5404d28b60585bbddd2af4ec0511cea2
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-14/+4
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* fdo#46808, Adapt bridge::BridgeFactory UNO service to new styleNoel Grandin2012-09-172-13/+11
| | | | | | | Create a merged XBridgeFactory2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* targeted string re-workNorbert Thiebaud2012-06-021-8/+8
| | | | Change-Id: Ia9fe54a5198811d648bb32a2ebb3ab7f9cde77c7
* Removed unnecessary tools includes.Marcel Metz2012-01-051-1/+0
|
* catch exception by constant referenceTakeshi Abe2011-12-061-2/+2
|
* remove include of pch header in desktopNorbert Thiebaud2011-11-271-2/+0
|
* chmod -xTor Lillqvist2011-10-261-0/+0
|