a6e28fe9c6
Fix *_component_getFactory function type
...
Change-Id: I6b7a9e15da83f1d53a5e59d26b643c363e652619
2014-08-28 18:07:53 +02:00
57a4337e25
set names on a bunch more threads...
...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02:00
fb6e0da4d8
UNO to CMIS properties conversion fix
...
The initial code always extracted Strings from the UNO instead of extracting
the same data type that was written into it. This patch extracts the
properties according to their data type and formats them to be reconstructed
into CMIS properties.
Change-Id: Ib160020e9d923a46e2c4f90924da847f2dac5e7a
Reviewed-on: https://gerrit.libreoffice.org/10586
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2014-07-28 09:03:17 +00:00
a8b395bff2
Avoid possible memory leaks in case of exceptions
...
Change-Id: I9983e858c4e634b4cac8ad42fa9b06b7ccc167d6
2014-07-25 10:09:15 +09:00
89361fa68a
fdo#72277: don't build and use nsspem when building against system curl
...
System CURL will know how to get the CA bundle from the system openSSL.
There is no need to have internal NSS CA database support.
Change-Id: Ie5074c78f7d78b2c2f452d4d4e11c98222529883
2014-07-17 10:39:35 +02:00
165075e0d7
fdo#72277: Use NSS CACERT in cmis ucp with internal curl
...
This fix contains two parts:
* initialize NSS in the CMIS UCP right before sending an HTTP request
in case internal curl is used. This makes internal curl find the NSS
CACERT database from the user mozilla profile.
* add nsspem to allow curl to use CACERTs from libnssckbi. Without
libnsspem curl is unable to read the certificates from the NSS
database. The nss-pem code has been extracted from the fedora-hosted
repository: https://git.fedorahosted.org/cgit/nss-pem.git
Change-Id: Ie8dedf020480cca01bf9761382886566a1150778
2014-07-15 11:15:45 +02:00
89df4412dc
webdav: Do not return reference here.
...
This was missing in e07cefb4f7ba39d59d25815e208ed61269079142.
Change-Id: I1c9a3f88981ee67d9d5748f9e43eed1237422fb1
2014-07-11 12:55:31 +02:00
9da4e46957
webdav: fix locking in webdav_ucp::Content::getResourceType()
...
This commit cherry-picks 49a454225e35699d7351faaba3d296e1858c6107
for serf webdav version.
Change-Id: Ic5aba4fba8f8a2a521224b08865500dd932e85bf
2014-07-08 09:14:57 +02:00
b807a02850
InteractionSupplyName is a detail of SimpleNameClashResolveRequest
...
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-07-02 14:56:53 +02:00
4ddf6c7a70
Typo: conteiner->container
...
Change-Id: Idf1294c7da00621900d41c16473b862ee8fc502d
2014-06-29 00:12:55 +02:00
533c6cb6ba
fixes for up-casting to Reference<XInterface>
...
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"
Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2014-06-25 17:10:43 +02:00
e07cefb4f7
webdav: Do not call into DAVResourceAccess with mutex locked.
...
This commit cherry-picks 0c3500115c4fd86284a027fc32be704afcf77061
for serf webdav version.
Change-Id: I108b0068cad847bf4947ece5e690f789ef034ae9
2014-06-24 17:27:30 +02:00
956d088db5
fdo#72157: webdav: Release WebDAV file lock on document close.
...
Make it work with both serf and neon version.
Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
2014-06-24 16:33:24 +02:00
e2080e70fe
new compilerplugin returnbyref
...
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
class A {
struct X x;
public X* getX() { return &x; }
}
which can be:
public X& getX() { return x; }
Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
96e23564e9
webdav: Do not throw when saving new document.
...
Propagate information about !shouldAccessNetworkAfterException
from getResourceType out to getPropertyValues, to avoid further calls
which would result in cancelCommandExecution, when trying get properties
of document which does not exist yet, but we want to create it.
This was done in webdav-neon for other reasons as part of
0c3500115c4fd86284a027fc32be704afcf77061.
Change-Id: Ia434a707d2946a6982075f9bf53904b78dc07a5e
2014-06-23 10:47:35 +02:00
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
f42b2268c4
loplugin:staticcall
...
Change-Id: Ida0a95c181a02b4fb0e0b40684a2279923338700
2014-06-13 17:54:35 +02:00
d09279cd0a
coverity#707429 Uncaught exception
...
Change-Id: I745028d5bfbb6b1152abf6e0fe4dbc9c697b5d4b
2014-06-10 10:48:40 +01:00
184a00b962
loplugin: inlinesimplememberfunctions
...
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
4c563b3a1d
ucb: remove SAL_THROW macro
...
Change-Id: I023c342b0f086e57c821136498851999fb0152ec
2014-06-05 08:17:50 +02:00
cc25f70ef1
compareTo -> equals
...
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate
Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
adc20c3937
compareToAscii -> equalsAscii
...
convert places using compareToAscii that should be using equalsAscii
Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-04 11:52:31 +02:00
12402d2503
coverity#707427 Uncaught exception
...
Change-Id: Ic381e74ffd862ab4d94f9d3ada02af05b30e6484
2014-06-02 16:59:59 +01:00
778b8ea885
coverity#707428 Uncaught exception
...
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
2014-06-02 16:59:59 +01:00
ade1049186
coverity#707430 Uncaught exception
...
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
2014-06-02 16:59:59 +01:00
a4e5020f89
coverity#1219792 Uncaught exception
...
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
2014-06-02 16:59:58 +01:00
158672fda5
fdo#68849: Add header guards to all include files
...
Added header guards to files in directories toolkit/, and ucb/
Change-Id: Ia7ea7d6fad685c7648db22455b5587cf6260318d
Reviewed-on: https://gerrit.libreoffice.org/9595
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-06-01 16:14:18 +00:00
ebc0a15515
remove more unnecesary OUString constructor use
...
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
dd4035568a
remove external header guards
...
Change-Id: I847e5e3652517d0c11eb2cf3e9625ed649595bc5
2014-05-27 14:00:28 +02:00
e168210b3c
cid#707435 Uncaught exception
...
Change-Id: I6c0195b3474e56191fc1ca8d7d251c8931815c11
2014-05-26 14:47:33 +02:00
fb0d1fc5a6
cid#707434 Uncaught exception
...
Change-Id: Ibe227c7675723b337652f79ccce03f028cfe546f
2014-05-26 14:47:33 +02:00
5da1b9c283
cid#707433 Uncaught exception
...
Change-Id: I57581f61dcb83aac83673b8fe040981e28b320ba
2014-05-26 14:47:32 +02:00
021ba5cc80
cid#707431 Uncaught exception
...
Change-Id: Icc5bea5e3e1d3782dfc6ca200ba24303945cb72c
2014-05-26 14:47:32 +02:00
cbb853731a
coverity#983986 Uncaught exception
...
Change-Id: I2ed7ed82e1680435bc899d8113efc12874d206f6
2014-05-24 13:03:50 +01:00
68f383eac5
coverity#983991 Uncaught exception
...
Change-Id: Ic3bfd8b137f750b84ee584b74ad4fba6fc6220e4
2014-05-24 13:03:49 +01:00
87bbc7f9b2
coverity#983992 Uncaught exception
...
Change-Id: I9a074690d1cc85ec48633e3fae46c4d15186108f
2014-05-24 13:03:49 +01:00
0ac9d7a4a8
coverity#983993 Uncaught exception
...
Change-Id: I3321f847e6aeb3435f8c2dc77c495d1d4c027007
2014-05-24 13:03:49 +01:00
2dc4632f17
coverity#983994 Uncaught exception
...
Change-Id: Ie74924e0222f9d3fbb3bcbae9242399f50b64a18
2014-05-24 13:03:49 +01:00
d6e0201fa9
coverity#983995 Uncaught exception
...
Change-Id: I2ba52bee850646a82153df898fb73e2b01720598
2014-05-24 13:03:48 +01:00
ac76cc7e60
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
...
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
40507db2c2
coverity#1213513 Uncaught exception
...
Change-Id: I04a05773891d680100ee1551eac21e203477935b
2014-05-23 20:37:33 +01:00
cb30efc79f
coverity#1215314 Uncaught exception
...
Change-Id: I1e3e7db0a9dc29c991f4f8ddbdcb4f3564410fba
2014-05-23 14:15:58 +01:00
9b62a52077
coverity#1215315 Uncaught exception
...
Change-Id: I0313bfc4f2d8cb30d98c32c55fd25a98f2f84f77
2014-05-23 14:15:58 +01:00
1e19c72ff1
coverity#1215316 Uncaught exception
...
Change-Id: Ifb688e60ef613a3735260f978dd3ae46a95430f5
2014-05-23 14:15:58 +01:00
b01f64852c
inherit the other DAVException from std::exception too
...
Change-Id: I692ad423b2fea0cc38b2859855f32f286423f02d
2014-05-23 14:15:58 +01:00
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
985f2b8b40
remove unnecessary use of OUString constructor
...
Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
2014-05-22 07:54:55 +02:00
f332958999
Fix wrong copy paste, should be <ucb::CheckinArgument>
...
See http://nabble.documentfoundation.org/Wrong-copy-paste-in-ucbcmds-cxx-ucb-module-td4109103.html
for more details
Change-Id: I4f6754cf0350e969cece52008b310e1d8f182622
2014-05-20 20:09:41 +02:00
2bd7767d01
Resolves fdo#70681: fixincludeguards.pl: all that's left
...
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-05-15 12:50:46 +00:00
c288b17cc5
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
...
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14 23:18:57 +02:00