summaryrefslogtreecommitdiff
path: root/ucbhelper
AgeCommit message (Collapse)AuthorFilesLines
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin3-5/+3
Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin1-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>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann4-27/+27
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-05loplugin:stringconstantStephan Bergmann1-2/+2
Change-Id: I68c63d560cfd7ec82802cd3f073cdd0544cff99b
2015-10-05tdf#82744: fix WebDAV lock/unlock behaviour - part 3Giuseppe Castagno1-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>
2015-09-30Fix typosAndrea Gelmini2-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>
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2-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>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-5/+5
Change-Id: If38423c29c7a9f4d740c244d350b83c471523797
2015-08-18Remove newly unused ucbhelper/fileidentifierconverter.hxxStephan Bergmann2-78/+0
Change-Id: I7c272383ecb115e19699ed96bf5622d979403a01
2015-08-18Remove obsolete getLocalFileURLStephan Bergmann1-18/+0
...vnd.sun.star.wfs is long gone Change-Id: I64da15a6c16e429aeda57c435e353891fb28f04d
2015-08-11loplugin: defaultparamsNoel Grandin1-1/+1
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
2015-08-03inline some use-once typedefsNoel Grandin1-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>
2015-07-16tdf#84190 : when auth fails, don't remember passwords for cmisSzymon Kłos1-9/+23
Change-Id: Ia1e0d553556693e0efa6de0bfc6f8b0ae9d40b5d
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-3/+3
Change-Id: I6e534537883ef76db88926203bf21b6d0be0aab1
2015-05-26cppcheck: noExplicitConstructorCaolán McNamara8-18/+13
Change-Id: If947733a205e8ece1845079be95cbc2d6cbd5029
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann4-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
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-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
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann1-1/+1
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann3-6/+6
Change-Id: I0ecb96d6f26c827640f3329c81884001f860090d
2015-03-09V801: Decreased performanceCaolán McNamara1-3/+3
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara2-4/+6
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-18ucbhelper: Use appropriate OUString functions on string constantsStephan Bergmann3-21/+12
Change-Id: Id5832f8ca20f5ff3179a25bc3c28be7b9fde5bfb
2014-12-15Authentication fallback request for the OneDrive connectionMihai Varga3-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
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl3-0/+3
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl5-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
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini1-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>
2014-10-08spelling: instanciated -> instantiatedNoel Grandin1-1/+1
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-09-22loplugin: cstylecastNoel Grandin1-1/+1
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler1-19/+1
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-17Improve exception msgStephan Bergmann1-1/+1
Change-Id: I4edbecd0ca3006c24fd5920a9ef9ad1fdc6016fb
2014-09-12bug wrong order of test cause out of bound access.Norbert Thiebaud1-2/+2
Change-Id: If9c497473bc163677175b0fda1f3a8975cceb3dd
2014-07-02InteractionSupplyName is a detail of SimpleNameClashResolveRequestStephan Bergmann2-105/+126
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-06-05various: remove SAL_THROW macroNoel Grandin1-3/+1
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet2-9/+7
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14Julien Nabet1-1/+1
Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
2014-05-13Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet2-42/+24
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet2-2/+2
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-04-18Typo: s/cant/can't/Tor Lillqvist1-1/+1
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-17coverity#1202901 Uncaught exceptionCaolán McNamara1-10/+0
and probably gadzillions of other uncaught exception warnings this exception can't actually be thrown because all possible InsertOperation conditions are already handled. Change-Id: I176c5e253e8b1092a060fc066c2e03dae3cea343
2014-04-15cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann2-22/+4
...since f059134fab0f91b7a15594ad06536a13fbfae034 "INTEGRATION: CWS cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a hash_map" (but a dummy "void" default is left in place for backwards compatibility). Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
2014-04-10warning C4101: 'e': unreferenced local variableMichael Stahl1-0/+1
Change-Id: I3fb8a4f2854fb034d6b184ee46c04e8a8d03ca6a
2014-04-04coverity#707355 Uncaught exception, help coverity out hereCaolán McNamara1-11/+24
hopefully loads of other ones too Change-Id: I8445602adc76205448926efe23c9770cef0eb5dc
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin1-3/+3
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann3-20/+20
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-20kill ucbhelper XTYPEPROVIDER_DECL macroNorbert Thiebaud1-1/+4
Change-Id: I1daf6661dd7b5be396bec980da84feaab6e6b80f
2014-03-10ucbhelper: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2-99/+9
Change-Id: I7797ba7fdc47a5f8d2453e839d8644bf125652bd
2014-03-09coverity#1078944 Uncaught exceptionCaolán McNamara1-11/+15
a false positive but easier to fix it by helping coverity out for any other cases it triggers Change-Id: I7c61298a95fa427d279599110b7aab263d039c5d
2014-03-08de-macroize ucbhelper commandenvironmentNorbert Thiebaud1-63/+7
Change-Id: I39c7ca30d483dab3eae0f39be15ef9586aef7851
2014-03-08de-macroize ucbhelper activedatastreamerNorbert Thiebaud1-48/+4
Change-Id: I55bbce1f8e3c0dcd92d0e2af03d7be5c7ac910c0
2014-03-06use WeakImplHelper for ActivaDataSinkNorbert Thiebaud1-48/+1
Change-Id: Ife32157ff876a0860b3920cadc24b7888200796b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>