summaryrefslogtreecommitdiff
path: root/UnoControls
AgeCommit message (Collapse)Author
2014-08-01typo: more then -> more thanTakeshi Abe
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-10-Werror,-Wtautological-undefined-compareStephan Bergmann
Change-Id: If546680f4c16ccd733188a65d82129ec2358017b
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-04-30Many spelling fixes: some more files.Pedro Giffuni
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
2014-04-27automaticly -> automatically.Jan Holesovsky
Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847
2014-04-19fixincludeguards.sh: some smaller dirsThomas Arnhold
Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
2014-04-06Bin empty @seealso, @param, @return and @onerror metacommentsTor Lillqvist
Change-Id: I6517028670a953954b31599fa3e23f4c8ee8cfc9
2014-04-06Kill superfluous spacing before semicolonsTor Lillqvist
Change-Id: I2c5c2c2e8c57796d147141748fb57a4c5645a96a
2014-04-06Kill superfluous vertical whitespaceTor Lillqvist
Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
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-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25Remove dead codeStephan Bergmann
Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
2014-03-10UnoControls: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I6ad8bb98f967d7bfa062ae24d9ff35837620a77a
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from UnoControlsAlexander Wilms
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>
2014-02-23Remove unneccessary commentsAlexander Wilms
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>
2014-02-18UnoControls: sal_Bool -> boolStephan Bergmann
Change-Id: Ic548cf07fe115c101771999a0dc8d370e57cd3ab
2014-02-12fdo#63154 Remove unused solar.h ref in vcl, basctl, desktop..Alexandre Vicenzi
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>
2014-01-29bool improvementsStephan Bergmann
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-21bool improvementsStephan Bergmann
Change-Id: I24fae431d9e2b99cd6ac937956bb401ecfebc943
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19Remove odd service names (that duplicate type names)Stephan Bergmann
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
2013-12-19Clean up UnoControls/source/controls/ furtherStephan Bergmann
...and create ProgressBar directly in ProgressMonitor/StatusIndicator, instead of going via service manager. Change-Id: I798e0c415c113cfc65d70ed17cb16aafded41a6d
2013-12-19Clean up macro madnessStephan Bergmann
Change-Id: I353a161fdc274a3da5ac965df12379c0d65681a4
2013-12-17embedded nulls in literalsCaolán McNamara
these used to be used with OUString::createFromAscii so a blank string is fine here Change-Id: I744d2be5471fad2675741f908e1ad78f0d5eefbc
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-10-04fdo#46374 replace stardiv in comments where applicableThomas Arnhold
Change-Id: Icd07fba84735325408741ad10864c63ea32a6481
2013-07-24fdo#67213 - crash on opening AutoText dialog (Ctrl+F3Noel Grandin
Revert "fdo#46808, Convert frame::FrameControl service to new style" This reverts commit 32eaa77db33b3b1f5793e92167b9f8c2708ea543. Conflicts: UnoControls/source/controls/framecontrol.cxx UnoControls/source/inc/framecontrol.hxx .. because I can't work out how it causes fdo#67213 - I suspect my changes might be interacting with UNO aggregation, which is always tricky. Change-Id: Icd14f9a7df98585393c5527a3817e05c26246de9
2013-07-18fix warningNoel Grandin
"-Werror=unused-macros" was firing on non-debug builds, fix by inlining the relevant warning message macro. Change-Id: If2fba2410bf985ec51faaa94c61b2e224fc65328
2013-07-18fix windows buildNoel Grandin
which I broke in 32eaa77 "fdo#46808, Convert frame::FrameControl service to new style" Change-Id: Ie7cd26714f2d6cb0e767439a2b1d4832cfc74a4a
2013-07-18fdo#46808, Convert frame::FrameControl service to new styleNoel Grandin
Change-Id: I38fc91e70d99472a4336250acd5c7dc3457b21ab
2013-07-18remove some useless comment blocksNoel Grandin
Change-Id: I3fd6c7ee6ae5b6c634c14ad9d60ae4abc8c03880
2013-07-11Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile
(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
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin
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
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7