summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15use initialiser for Sequence<OUString>Noel Grandin3-6/+3
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin12-24/+12
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin4-8/+4
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>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin18-44/+22
replaced using the script: 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: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11extensions: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-8/+10
Change-Id: Ia6987c9566af0b79bf44c4793d4ca325ea921cb7
2015-11-11extensions: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-8/+9
Change-Id: Ie19e898e3a5e558906cfad841c01d6d9b380b18b
2015-11-11new loplugin: memoryvarNoel Grandin1-4/+3
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann83-408/+408
Change-Id: I5bbef6c88255f3e8c740a5239a5010cf1251b7fa
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann1-1/+1
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-06coverity#1338266 Uncaught exceptionCaolán McNamara1-149/+157
Change-Id: I27a2a4dd0f5fd88d92eafa35bf8ae2e4aa0d5d17
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann11-22/+22
Change-Id: Ia91f035c188fa99cdf0b9e80cb256e1b86f00551
2015-11-05java: make inner classes static where possibleNoel Grandin1-1/+1
Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
2015-11-04yyyyyNoel Grandin6-11/+11
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-02use uno::Reference::set method instead of assignmentNoel Grandin24-68/+63
Change-Id: Ib297f2ab1c0c82703030f28d034d24f8a84a85ea Reviewed-on: https://gerrit.libreoffice.org/19732 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to be so verbose in constructing uno::ReferenceNoel Grandin1-2/+2
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030 Reviewed-on: https://gerrit.libreoffice.org/19724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin1-1/+1
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30loplugin:unusedmethodsNoel Grandin1-3/+0
Change-Id: Ib4277268903e4411f6dabc856270702f40027bdb Reviewed-on: https://gerrit.libreoffice.org/19680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin4-6/+6
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin3-97/+98
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin1-1/+0
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-25Remove Seamonkey based address book driverDavid Ostrovsky12-137/+11
Seamonkey based address book driver is based on pre-compiled libraries and is only used on Windows 32 bit. Remove it in favor of mork driver. Given that Seamonkey based mozab driver also provides Outlook and Outlook Express address book integration, that Windows-32-bit--only feature is lost for now. If necessary, support for that feature could be rewritten from scratch, in a way that would also work for Windows 64 bit. Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af Reviewed-on: https://gerrit.libreoffice.org/19560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-24Remove left over references to SYSTEM_MOZILLADavid Ostrovsky3-18/+0
In a0c53a961a0af21f69f592b43799cd635c994810 SYSTEM_MOZILLA was removed. Change-Id: I421a293c7611dd5ed0d810c9c8a80f19faf1689a Reviewed-on: https://gerrit.libreoffice.org/19580 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-24bogus cppcheck duplicateExpressionTernary warningCaolán McNamara1-5/+7
Change-Id: I9c6e7699790cc2e526a15daf8c5c25555aa30fc9
2015-10-21more removal of com::sun::star typedefsNoel Grandin3-15/+11
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21boost::ptr_vector->std::vectorNoel Grandin2-10/+8
no need to manage uno::Reference via extra heap objects Change-Id: I3092b5103a31fcff8122e4ce9cd1cbb42f5ed910
2015-10-21remove untyped Link<>Noel Grandin2-4/+2
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-20new loplugin: badvectorinitNoel Grandin1-1/+1
look for places calling the 1-argument vector fill constructor and then immediately called push_back, which is generally a sign that its leaving empty slots. Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517 Reviewed-on: https://gerrit.libreoffice.org/17525 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-20loplugin:defaultparamsStephan Bergmann4-6/+6
Change-Id: I1b3ffd418fb4e63bb4369fbc187494a87569556e
2015-10-19loplugin:defaultparamsStephan Bergmann3-18/+18
Change-Id: Ief9af764ce6e75a5f2cfdd33d836f007e0f52cd3
2015-10-19convert Link<> to typedNoel Grandin1-11/+9
Change-Id: I760bd9ad3d0da20c0ad38aace765a42983e28531
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin2-2/+2
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19convert Link<> to typedNoel Grandin4-8/+6
Change-Id: I66ad4562f33b68172557d759a26b9e19d19e2c0e
2015-10-19convert Link<> to typedNoel Grandin2-6/+5
Change-Id: I8c00bcdb718bcebbb15e24e1c1622cdc6b356787
2015-10-18cppcheck:noExplicitConstructorNoel Grandin37-54/+54
Change-Id: I2b68ba9e8caf7971efbba094ef060e72541bdccf Reviewed-on: https://gerrit.libreoffice.org/19426 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-17coverity#1327455 Uninitialized pointer fieldCaolán McNamara1-1/+2
Change-Id: Icc7405e5b68725e28447a1f2c1cbed2fbe6b8049
2015-10-17coverity#1327456 Uninitialized pointer fieldCaolán McNamara1-1/+2
Change-Id: I0d116989bdbda07995cca1c8062ea5b0c4292b28
2015-10-16convert Link<> to typedNoel Grandin14-33/+47
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin4-10/+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-15convert Link<> to typedNoel Grandin4-5/+9
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-13error C2666: 'operator ==' : 2 overloads have similar conversionsStephan Bergmann1-1/+1
Change-Id: I7460e993851335db108a02afe2c147ee57736b0a
2015-10-13loplugin:mergeclasses, merge IControlContext with OBrowserListBoxNoel Grandin2-27/+12
Change-Id: Ib3e54c9fe8d9445ad799e4b06c41443093af87fb
2015-10-13remove some useless commentsNoel Grandin1-2/+0
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann113-1078/+1078
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann15-29/+29
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin18-43/+46
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12loplugin:stringconstantStephan Bergmann1-1/+1
Change-Id: I83078723ffc40bf16632df87da24ad2289867ed4
2015-10-12some small cleanupsNoel Grandin4-14/+13
Change-Id: I03221fd5e618155dc093dd4dd7474f516d63761e
2015-10-12now we can get rid of the convoluted ControlWindow templateNoel Grandin5-61/+34
Change-Id: I4365e5819784a26f4a71eab8a64cc53ef35d9ad1
2015-10-12now we can push the controlwindow down and lose some type-castingNoel Grandin2-50/+23
Change-Id: I3bc5963bad29898bd104feddef1bc1d00a1325e1
2015-10-12reduce the web of class relationships here a littleNoel Grandin4-99/+62
make CommonBehaviourControlHelper a base-class of the CommonBehaviourControl template, which allows us to dispense with the IModifyListener callback interface Change-Id: I3c02b864fa08fc50515c11af859477e0fdc035e3