summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann1-6/+3
Change-Id: I7cf9fe48cf1c38a4327290e9393a5f88f3d4a97d
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin1-1/+1
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
2015-11-04loplugin:stringconstantStephan Bergmann1-3/+1
Change-Id: Ib579c499904bf10844ed58dfd3e531002b308dcf
2015-11-04yyyyyNoel Grandin4-15/+7
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin1-1/+1
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-29com::sun::star->css in shellNoel Grandin14-150/+143
Change-Id: Id74a5e79764f37944afab4d2a0dcfc7dbfc9b295 Reviewed-on: https://gerrit.libreoffice.org/19663 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26remove extra spaces around ::Noel Grandin3-3/+3
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-23Remove obsolete version map filesStephan Bergmann1-27/+0
Change-Id: Ic179264fe306bb2bca9797f10e26c0224fb1dd00
2015-10-16drop gconf integration as per ESC decisionBjoern Michaelsen7-1239/+1
Conflicts: shell/source/backends/gconfbe/gconfbackend.cxx Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87 Reviewed-on: https://gerrit.libreoffice.org/19408 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-12TDE: move stuff into the tde-integration packageJan-Marek Glogowski3-4/+17
Currently the package just contains the TDE shell backend library. This moves the URL handler tde-url-open and the vcl plugin into the integration package, like the KDE3 based kde-integration. The TDE address book driver is left in the core package. Change-Id: I2687b313d7f106bb344c65c50ae0a07b0140def0
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann11-106/+106
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann3-6/+6
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-02Library recentfile should be built when UXING_X11Samuel Mehrbrodt1-5/+1
Change-Id: I9b8d67540f646e7da59e35303bf75cc43367f2c3 Reviewed-on: https://gerrit.libreoffice.org/19092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini2-2/+2
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini2-2/+2
Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c Reviewed-on: https://gerrit.libreoffice.org/18976 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-03shell: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe19-34/+35
with the variadic variants. Change-Id: I0eb2efbd123198c7d8a99e9dd7c613f9b2b23c2d Reviewed-on: https://gerrit.libreoffice.org/18286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl5-101/+0
With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-1/+1
Change-Id: Idc3c74505d84a96bb5cc6713a95ef2fadc267ea8
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-2/+2
Change-Id: I2e97fa10baa6a9bd290fabe250cf73d5f73e4537
2015-08-23tdf#39440 cppcheck: redundantAssignmentMichael Weghorn1-2/+1
This addresses some of cppcheck's "redundantAssignment" warnings ("Variable '<varName>' is reassigned a value before the old one has been used"). Change-Id: I8fd2950d5aa1a3f4bd9e1c4c336abe465d1f657e Reviewed-on: https://gerrit.libreoffice.org/17926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-07cppcheck:noExplicitConstructorNoel Grandin6-10/+10
Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin2-10/+4
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-08-03remove some unused typedefsNoel Grandin1-1/+0
Change-Id: I98c1e7eaa66b7afb05255a017a3de54714637501 Reviewed-on: https://gerrit.libreoffice.org/17491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin1-2/+0
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin2-2/+2
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:simplifyboolStephan Bergmann1-1/+1
Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
2015-07-13warning C4101: unreferenced local variableStephan Bergmann3-5/+5
Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df
2015-07-13Code deliberately not linking against sal just can't use OSL_ENSUREStephan Bergmann4-31/+11
Change-Id: I20820ea382ac9933bf2c6118d466625120b49d67
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann4-30/+6
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-08Fix typosAndrea Gelmini1-1/+1
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-06loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin2-14/+0
Change-Id: I8f3871fd4e82b6850718b6f2a8757f3043d00017
2015-07-04Fix typosAndrea Gelmini1-1/+1
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl2-0/+14
The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
2015-07-03loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin2-14/+0
Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
2015-07-01tdf#92269 fix Windows Explorer crash caused by shellextensionChristian Lohmaier1-1/+1
wcscpy_s is buffer size, not string length, so size must also account for a terminating NULL Change-Id: Ie69692e47c142f3b733b093d0b87fa4bb03db7b4
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-1/+1
Change-Id: I4ba0f758304977825d44dd1e3c8f348a94546a38
2015-06-18Fix typosAndrea Gelmini1-1/+1
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin1-15/+7
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-15cppcheck:unreadVariableNoel Grandin1-1/+0
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
2015-06-15inline COMPHELPER_SERVICEDECL_ macroNoel Grandin1-3/+9
it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann3-15/+15
Change-Id: Id45e303225602e401a5c3b640185bf476c94a0bb
2015-05-28new clang plugin: loopvartoosmallNoel Grandin1-1/+1
Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
2015-05-18boost::shared_ptr -> std::shared_ptrStephan Bergmann1-4/+3
Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
2015-05-13Implement some more XModify methodsStephan Bergmann2-41/+116
Change-Id: I1345d6a3d62f1e5c3353c5412024f6b47f824f7a
2015-05-12loplugin:redundantcast: reinterpret_cast to void*Stephan Bergmann1-2/+2
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-6/+0
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-17Don't throw UnknownPropertyException for givenname/sn from KDE backendsStephan Bergmann2-0/+6
Open TODO to actually obtain values for them, instead of returning an empty css::beans::Optional representing "no value available." Change-Id: Iceb286e9873216f7bc36bd88b09ac03bd3a2c895
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin24-69/+69
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-13tdf#82695 allow to build with system collada2gltfDavid Tardon1-2/+1
Change-Id: I1179e20fd5fbdecd198633d5440621ed08a0465b
2015-04-13loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a