summaryrefslogtreecommitdiffstats
path: root/ucbhelper
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-204-42/+42
| | | | Change-Id: Ie47a53763332119d290ebe5646af987ddd44be9d
* loplugin:passstuffbyref in ucbhelperNoel Grandin2016-04-141-2/+1
| | | | Change-Id: I680e4ca0d20d5ddabdc875a1d6bec27322956f5e
* clang-tidy performance-unnecessary-value-param in ucbhelperNoel Grandin2016-04-111-1/+1
| | | | Change-Id: I595485e8804d6f2e4e0f9bc8a78c8cb132411f7d
* loplugin:constantfunction in ucbhelperNoel Grandin2016-03-164-26/+14
| | | | | | | Change-Id: I80e00b5ac2621378801f89532ed88b377ef72b60 Reviewed-on: https://gerrit.libreoffice.org/23297 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparamNoel Grandin2016-03-151-2/+2
| | | | Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
* tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar2016-03-151-2/+2
| | | | | | | | | | I simply replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 as suggested in easy hack Change-Id: Id30d93fa439fa4cddf4a56c90b6054203c7882b1 Reviewed-on: https://gerrit.libreoffice.org/23233 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* new loplugin: commaoperatorNoel Grandin2016-02-231-1/+4
| | | | Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
* Remove excess newlinesChris Sherlock2016-02-0912-239/+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>
* InterfaceContainer2 with vector instead of SequenceNoel Grandin2016-01-252-9/+2
| | | | | | | | | | create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
* Fix typosAndrea Gelmini2016-01-101-1/+1
| | | | | | | Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* loplugin:unusedfields variousNoel Grandin2015-11-261-1/+0
| | | | Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
* use unique_ptr for pImpl in ucbhelper/Noel Grandin2015-11-177-11/+3
| | | | Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-4/+2
| | | | | | | | | | | | 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>
* com::sun::star->css in ucbhelper/Noel Grandin2015-11-1111-156/+141
| | | | | | | Change-Id: I01e3046caefdcfbf630f4a794f12e8890be6db40 Reviewed-on: https://gerrit.libreoffice.org/19902 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-109-35/+35
| | | | Change-Id: I3003db8a411740db48c2e0c6ecd81a7fd9209e6c
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-061-2/+2
| | | | Change-Id: I970a03643f3c460110bc7caf1dc33c6dde1d78d5
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-053-5/+3
| | | | Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
* no need to use OUString constructor in call to createInstanceNoel Grandin2015-11-011-3/+2
| | | | | | | Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-124-27/+27
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* loplugin:stringconstantStephan Bergmann2015-10-051-2/+2
| | | | Change-Id: I68c63d560cfd7ec82802cd3f073cdd0544cff99b
* tdf#82744: fix WebDAV lock/unlock behaviour - part 3Giuseppe Castagno2015-10-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes done to the code in sfx2, ucbhelper, ucb, unotools in no particular order - add method helpers to call the ucb lock/unlock - add lock/unlock 'real' management - make DateChange property retrieval working for WebDAV as well - add check for changed content of a WebDAV file, in order to reload it correctly when 'Edit Mode' command is activated from GUI - Unlock WebDAV file while saving only if explicitly enabled Needed in order to avoid the small window of file unlocked state that opens while saving a file. When saving LO actually does as follows: - unlock the prevoius version of the file - prepares operations to save the modified version - lock the new file - save the new version - the lock method is enabled if the DAV resource supports it. In case the lock is not supported, for example example DAV with lock disabled, the lock method is disabled. Exception: when the resource is first created and the lock is not supported: a lock command is sent anyway, because if the resource is not yet present, there is no method to detect the lock/unlock availability in this case. - cppcheck:noExplicitConstructor Change-Id: I0aa876c4e3364d86e5740977b97f3db9a01e4491 Reviewed-on: https://gerrit.libreoffice.org/17189 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* Fix typosAndrea Gelmini2015-09-302-2/+2
| | | | | | | Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34 Reviewed-on: https://gerrit.libreoffice.org/18990 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-152-4/+4
| | | | | | | | | with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-311-5/+5
| | | | Change-Id: If38423c29c7a9f4d740c244d350b83c471523797
* Remove newly unused ucbhelper/fileidentifierconverter.hxxStephan Bergmann2015-08-182-78/+0
| | | | Change-Id: I7c272383ecb115e19699ed96bf5622d979403a01
* Remove obsolete getLocalFileURLStephan Bergmann2015-08-181-18/+0
| | | | | | ...vnd.sun.star.wfs is long gone Change-Id: I64da15a6c16e429aeda57c435e353891fb28f04d
* loplugin: defaultparamsNoel Grandin2015-08-111-1/+1
| | | | Change-Id: I50ba6a836473961d952ed88e56532501469c5368
* inline some use-once typedefsNoel Grandin2015-08-031-8/+1
| | | | | | | Change-Id: I02cbbba56a2ad83e0ac3d806265a7e0d6a29594d Reviewed-on: https://gerrit.libreoffice.org/17495 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#84190 : when auth fails, don't remember passwords for cmisSzymon Kłos2015-07-161-9/+23
| | | | Change-Id: Ia1e0d553556693e0efa6de0bfc6f8b0ae9d40b5d
* loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann2015-06-261-3/+3
| | | | Change-Id: I6e534537883ef76db88926203bf21b6d0be0aab1
* cppcheck: noExplicitConstructorCaolán McNamara2015-05-268-18/+13
| | | | Change-Id: If947733a205e8ece1845079be95cbc2d6cbd5029
* Various #include <sal/log.hxx> fixupsStephan Bergmann2015-04-224-0/+10
| | | | | | | | | | | | | | 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
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-151-2/+2
| | | | | | | | | | | | | | | | 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
* Add support for cppu::UnoType<void>Stephan Bergmann2015-04-011-1/+1
| | | | Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-013-6/+6
| | | | Change-Id: I0ecb96d6f26c827640f3329c81884001f860090d
* V801: Decreased performanceCaolán McNamara2015-03-091-3/+3
| | | | Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-022-4/+6
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* ucbhelper: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-183-21/+12
| | | | Change-Id: Id5832f8ca20f5ff3179a25bc3c28be7b9fde5bfb
* Authentication fallback request for the OneDrive connectionMihai Varga2014-12-153-0/+92
| | | | | | | | | | | To fix build, also squashed in: Author: Mihai Varga <mihai.mv13@gmail.com> Date: Fri Aug 1 12:50:23 2014 +0300 OneDrive auth fallback dialog interaction continuation Change-Id: Id37f502217da3fde55ae93a6e1c01409509d657c
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-183-0/+3
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-175-1/+9
| | | | | | | | | Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-8/+1
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* spelling: instanciated -> instantiatedNoel Grandin2014-10-081-1/+1
| | | | Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
* loplugin: cstylecastNoel Grandin2014-09-221-1/+1
| | | | Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
* fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler2014-09-181-19/+1
| | | | | Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Improve exception msgStephan Bergmann2014-09-171-1/+1
| | | | Change-Id: I4edbecd0ca3006c24fd5920a9ef9ad1fdc6016fb
* bug wrong order of test cause out of bound access.Norbert Thiebaud2014-09-121-2/+2
| | | | Change-Id: If9c497473bc163677175b0fda1f3a8975cceb3dd
* InteractionSupplyName is a detail of SimpleNameClashResolveRequestStephan Bergmann2014-07-022-105/+126
| | | | Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
* various: remove SAL_THROW macroNoel Grandin2014-06-051-3/+1
| | | | Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet2014-05-232-9/+7
| | | | Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68