summaryrefslogtreecommitdiff
path: root/cui/source/factory
AgeCommit message (Collapse)AuthorFilesLines
2016-05-26loplugin:unusedmethodsNoel Grandin2-43/+0
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17loplugin:constantparam in sfx2Noel Grandin2-3/+2
Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd Reviewed-on: https://gerrit.libreoffice.org/23321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-17loplugin:constantparam in svxNoel Grandin2-9/+6
Change-Id: I50fa7e4c7525d2f8107a11d8203957a47680eb80 Reviewed-on: https://gerrit.libreoffice.org/23303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-09loplugin:constantparam in sfx2Noel Grandin2-13/+9
Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201
2016-03-09loplugin:constantparam in svxNoel Grandin2-26/+24
Change-Id: Ib2a432fc334898c75ab5e5cf629a21fd310bd467
2016-03-04loplugin:unuseddefaultparam in svxNoel Grandin2-5/+3
Change-Id: Iacd4ed12c6c5dfdc2f31f85c8c1ce2cee8a8641f
2016-03-04loplugin:unuseddefaultparam in sfx2Noel Grandin2-13/+7
and fix an issue with calls to templated methods in the plugin Change-Id: I9c9537a0690ff671286c007846d5f4cfb7d2982b
2016-03-02loplugin:unuseddefaultparam in sfx2Noel Grandin2-13/+7
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
2016-03-01loplugin:unuseddefaultparam in svx (part1)Noel Grandin2-13/+9
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
2016-02-09Remove excess newlinesChris Sherlock1-2/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-12-23loplugin:unusedfields in cuiNoel Grandin2-8/+4
Change-Id: I7a1092708881d1d43debf0217a5401c5b65838a5
2015-12-17[API CHANGE] Remove NPAPI-related UNO APIThorsten Behrens1-2/+0
Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4, related to tdf#96398, removing more client code. The following published interfaces are removed: com::sun::star::mozilla::XPluginInstance com::sun::star::mozilla::XPluginInstanceNotifySink com::sun::star::mozilla::XPluginInstancePeer com::sun::star::mozilla::XPluginInstanceSyncPeer com::sun::star::mozilla::XPluginWindowPeer com::sun::star::plugin::PluginDescription com::sun::star::plugin::PluginException com::sun::star::plugin::PluginManager com::sun::star::plugin::PluginMode com::sun::star::plugin::PluginVariable com::sun::star::plugin::XPlugin com::sun::star::plugin::XPluginContext com::sun::star::plugin::XPluginManager Change-Id: I3818a23e0f46fd01bfe9be11b57f6a551c013441 Reviewed-on: https://gerrit.libreoffice.org/20780 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-09stray fprintfCaolán McNamara1-1/+0
Change-Id: If3665f573b2c4ec9e87646af0afcd2ba9c5a4f1c
2015-12-09unnecessary nResId argumentCaolán McNamara2-18/+5
Change-Id: Id7d3df1af42cbe7b4f951c335063d26b59e7bc10
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann4-30/+30
Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin1-13/+4
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-14convert Link<> to typedNoel Grandin2-10/+8
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2-192/+192
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-09-30Fix typosAndrea Gelmini1-1/+1
Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3 Reviewed-on: https://gerrit.libreoffice.org/18942 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-26convert Link<> to typedNoel Grandin2-2/+2
Change-Id: If1dcc5e50b08540623bb21067c5f74e47192ef9a Reviewed-on: https://gerrit.libreoffice.org/18859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-2/+3
Change-Id: I7fd77490ab49a18f48e248ca277bc30b5a7d2071 Reviewed-on: https://gerrit.libreoffice.org/18858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-4/+4
Change-Id: Ic39135b39f1389fdf94fb16746100209ee63f492 Reviewed-on: https://gerrit.libreoffice.org/18856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-9/+9
Change-Id: I0d645d646037d9fbb4f1b97931ace6171a84a267 Reviewed-on: https://gerrit.libreoffice.org/18855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-8/+6
Change-Id: I845f48577a9b93854e24a2004168c2d2311d9542 Reviewed-on: https://gerrit.libreoffice.org/18854 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-4/+4
Change-Id: I9a85b8d6557490775c3d8482ac49bd27c51b6c8a Reviewed-on: https://gerrit.libreoffice.org/18853 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-25convert Link<> to typedNoel Grandin2-4/+4
Change-Id: I6de6c831e7401413149100784726ce6c986f8eea Reviewed-on: https://gerrit.libreoffice.org/18852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin2-2/+2
Change-Id: I12b3fdb443226a63786b94ce9836e9d2efa6a5c8 Reviewed-on: https://gerrit.libreoffice.org/18776 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin2-2/+2
Change-Id: I99710933b818ebb0e2d70262c3edd7937e5f03ca Reviewed-on: https://gerrit.libreoffice.org/18772 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin2-2/+2
Change-Id: I2d3ed4e04b19159bd847a925a7296e981a6d468a Reviewed-on: https://gerrit.libreoffice.org/18771 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-17convert Link<> to typedNoel Grandin2-8/+8
Change-Id: I2ceffbec44facc4b40c69ebb3f6d52f181bf0177
2015-09-14boost->stdCaolán McNamara1-1/+0
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin2-12/+12
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-07-29com::sun::star->css in cuiNoel Grandin2-27/+26
Change-Id: I70ee15db7c8de507fa21a9dfc705f518f223a70b Reviewed-on: https://gerrit.libreoffice.org/17385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods svxNoel Grandin2-167/+0
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods editengNoel Grandin2-24/+0
Change-Id: I15b2be5a9cd6e72447b674a65eabe9f89cb6ff12 Reviewed-on: https://gerrit.libreoffice.org/17115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods sfx2Noel Grandin2-7/+0
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10loplugin:unusedmethods vcl(part2)Noel Grandin2-18/+0
Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a Reviewed-on: https://gerrit.libreoffice.org/16847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-15cppcheck: noExplicitConstructorCaolán McNamara1-2/+2
Change-Id: I2b5fba9cdd950349a8e8d22bbd7bb6e17f008920
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann1-5/+5
Change-Id: Ieecc2f050499823e131504ecd487edc0fe3ea30a
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin2-2/+2
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-06simplify code using ScopedVclPtrNoel Grandin2-17/+2
Change-Id: I71db7422ab8ad83455cc61df5314cf214a4d388c
2015-04-30Gradually typed LinkStephan Bergmann2-46/+46
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-29convert ZOOMBTN constants to scoped enumNoel Grandin2-2/+3
Change-Id: Ia7641f736fa4f84dce0b5ea8bf68339c1309e74b
2015-04-24Fix unhelpful MI from a VclPtr type and Abstract factory type.Michael Meeks1-3/+3
Change-Id: Ibd8a8e22ffe2cd01225e97588d65eae1cc0bffb8
2015-04-18cui: convert new to ::Create.Michael Meeks1-79/+81
Change-Id: Ifad69772a4954f14772cca9eeae913e546eff477
2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks1-1/+1
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10re-insert erroneously converted delete calls.Michael Meeks1-1/+1
Change-Id: Iebdf2af3866d884289f6913646106fe3f2d4dde5
2015-04-10clear() is the equivalent of assigning a local ptr to NULL.Michael Meeks2-2/+6
Sometimes it matters; doing a disposeAndClear() instead can change the order of destruction profoundly. Fix a number of issues from: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I3127d3ed973458e8299156453258e167dbdb8ccf
2015-04-10vclwidget: fix more places that should be wrapping in VclPtrNoel Grandin1-1/+1
Change-Id: I31c9115662da2f81e1b22be91ee58e2862076b8e
2015-04-10vclwidget: convert lots more sites to use VclPtrNoel Grandin1-1/+1
seems there was a lot of shared_ptr usage floating around... Change-Id: Icd05243170eb8493709275fc36bf986fc194b781