Commit Graph

2376 Commits

Author SHA1 Message Date
de485196de coverity#1187853 Uncaught exception
Change-Id: I43686bd2444619064e8097cfc161d59b903e3fc9
2014-02-28 16:51:04 +00:00
18ae3de840 std::exception fixup for --enable-gnome-vfs
Change-Id: Ia0a903a38f8ae2897d0d9d6159597f720bbc24a5
2014-02-26 19:31:25 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
060ab521fa Remove visual noise from ucb
Conflicts:
	ucb/source/ucp/webdav/webdavdatasupplier.cxx
	ucb/source/ucp/webdav/webdavresponseparser.cxx

Change-Id: I96b69f4867bbaaf42c3d5fd159cbb3e4fe80a4db
Reviewed-on: https://gerrit.libreoffice.org/8329
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 07:31:08 -06:00
d60301d03b webdav: fix remaining build issues
Change-Id: I9416551ba78a6a27071fdf92a6c36c271a1032b7
2014-02-26 16:46:57 +01:00
f9f70d95a1 webdav: fix include paths
Change-Id: I323bef2e1c21e2a1981409d4295ccf555088e5ea
2014-02-26 16:46:56 +01:00
ff3b92017d webdav: std::hash_set|map -> std::unordered_set|map
Change-Id: Id0c18cb51af742d073d532662558fdd84d476f88
2014-02-26 16:46:56 +01:00
aa68e4c549 webdav: fix cherry-pick commit 7056e8ef89e938e38fc5b2b8a7493f0c79d5efd4
Change-Id: I177daf0d4e22d96167ab094a5c9d5c9cab6cf409
2014-02-26 16:46:55 +01:00
43fc67adcc #i123068# remove implicit conversions from rtl strings to their elements
(cherry picked from commit 1a15756db5173403fcdbc3ad522c3a76e88a7082)

Conflicts:
	ucb/source/ucp/webdav/DAVProperties.cxx
	ucb/source/ucp/webdav/SerfRequestProcessor.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Rest ignored.

Change-Id: I7d25170cc07538dbab70bc72af8764820da2b60b
2014-02-26 16:46:54 +01:00
ff824e87a5 #122008# - use <serf_bucket_headers_setc(..)>
when header name's data need to be copied

(cherry picked from commit e50d4638e4fe64eb05b8f22006c7f04c05ec288b)

Change-Id: Ib4f171b05bafe380187a09cbfe143b0bef8b6f25
2014-02-26 16:46:54 +01:00
6a8e29563c minor WaE cleanup for SerfRequestProcessorImpl.hxx
that solves another dozen warnings
(cherry picked from commit f42f6eb8aa2ab01befeba42871d9d5c7b381f49f)

Change-Id: Ia06cee06e04b09fe6ed45cf4159722be191a21d2
2014-02-26 16:46:45 +01:00
da41a44fb3 #i120041# Update of serf library from 1.0.0 to 1.1.0.
(cherry picked from commit eb0311f38de6c30fb15f87b4599e932897f281f5)

Conflicts:
	external_deps.lst
	scp2/source/ooo/file_library_ooo.scp
	solenv/bin/download_external_dependencies.pl
	ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Change-Id: I6b9576226f86b87397bedc2b67a9289bc19317a7
2014-02-26 16:39:08 +01:00
317b5bdade webdav: lang::XMultiServiceFactory -> uno::XComponentContext
Change-Id: I71984066a512a023c67d1690bd984d66f75f894b
2014-02-26 16:17:58 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
d280756b12 Resolves: #i123744# use only one way to include serf headers
(cherry picked from commit bc34afebf4562ad3a8c48484f3fb9841ab4809b0)

Change-Id: I0ef0d1a8b35ed6eb30db3d116bb102a911006ca0
2014-02-18 10:22:56 +00:00
80d9fbdde2 sal_Bool -> bool fixup
Change-Id: I4e69744d99334bfe9dafdfd19b2f0242ccf0d4cc
2014-02-18 08:43:24 +01:00
faced6b5f7 ucbhelper: sal_Bool -> bool
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-17 17:55:18 +01:00
964c4183df coverity#707426 Uncaught exception
Change-Id: Iff174a7398c5e3d506418b4587fe604a1d46972c
2014-02-13 14:56:18 +00:00
c7051732c0 coverity#707424 Uncaught exception
Change-Id: I4111feef91c4de993c490c3a702973c8fae69441
2014-02-13 14:56:17 +00:00
4fd069c41a coverity#1103732 Uncaught exception
Change-Id: I3585421107776969efc0888cb581c004cc2aef67
2014-02-11 14:33:38 +00:00
dfcd09f774 coverity#1130193 Dereference after null check
Change-Id: I38078c01f8ac37735784508664dfe31aa8f7cf3a
2014-02-10 11:21:12 +00:00
249cc89a29 coverity#982486 Unchecked dynamic_cast
Change-Id: I241300f05ab537f2ab89d15f06ce6c04ffec14b5
2014-02-08 20:50:50 +00:00
80435fc469 coverity#984165 : Uninitialized scalar field
Change-Id: I9571b7f2dfabf1774acbf6b569aa1edc8fb6fda9
2014-01-31 21:27:24 -06:00
863e8cb0cf coverity#984166 : Uninitialized scalar field
Change-Id: Ibc58fb412cd171193e0a76beb1a45a38b4cb412d
2014-01-31 21:27:24 -06:00
86b4603766 coverity#705438, obey preconditions of OUString functions
Change-Id: Ifd8d9a258ca69fbcdafbbb7b8eedd1905e3473bd
2014-01-30 11:25:19 +01:00
612dac063a bool improvements
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-29 11:08:32 +01:00
fbda602155 bool improvements
Change-Id: I9a3c7a425342373d02d2664a3444c50bfd629970
2014-01-28 20:26:20 +01:00
645751bcab Apparently broken bitmask creation
Change-Id: I001a529b6690fe421d626133e0257c71df1d5ddf
2014-01-28 20:24:36 +01:00
62e67d1a0a Apparently broken bitmask checks
Change-Id: Ie5749b43de5e47cfede4662e346dee194c454b2f
2014-01-28 20:24:36 +01:00
06025bccf8 coverity#440748 Explicit null dereferenced
Change-Id: I86c08660f2c01618b661b90c84757a1f7f2b9b83
2014-01-28 14:30:39 +00:00
0ee169f783 coverity#440872 Dereference before null check
Change-Id: I263f6c5c74f42b33155365ccb163c3b68f538a97
2014-01-28 11:29:20 +00:00
cb64711136 Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds.
Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size
of the string literals tremendously - full build path for every line that uses
that, including the line.

Let's not remove it for good, but hide it for non-debug builds
(OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during
debugging could still do (but I doubt it has any value for anybody).

Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
2014-01-27 23:21:43 +01:00
dbd85e0eb3 coverity#1158203 Dereference null return value
Change-Id: I8cff85b4d68c28581ddb7a8552378422be6b6a25
2014-01-27 11:14:33 +00:00
4a56b4ab2c Resolves: #i123744# consider certificate's Subject Alternative Name...
field when searching for matching certificate host name

(cherry picked from commit 226085ad2004319c5142b392bb4b48ab79c3b747)

Change-Id: I0d1690f75c1aa3288c677823105e21bb6e969f41
2014-01-22 10:00:20 +00:00
3780738154 ucb: fix inverted condition in webdav lcl_sendPartialGETRequest
(regression from a3f32769fc4bb23c64168b412dd10ec769a3854d)

Change-Id: Ic72b0e874ebf19e25e43af1f8750c63c04ed8a8e
2014-01-21 20:14:46 +01:00
a3f32769fc Fix bogus mass-conversion equalsAsciiL -> startsWith
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to
startsWith calls" should rather have converted to oprator ==.

Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-21 15:54:52 +01:00
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
4bdaa70ffb Revert "Resolves: fdo#72277 https CMIS Alfresco "The specified device is invalid.""
This reverts commit 0d1f724f9645e7ec0da6a4c3a1c22d0dcf785cb6.
(as requested by https://bugs.freedesktop.org/show_bug.cgi?id=72277#c20)
2014-01-13 18:48:13 +01:00
8313f68355 Work around G_DEFINE_TYPE -Werror,-Wunused-function
At least G_DEFINE_TYPE from glib2-devel-2.38.2-2.fc20.x86_64
/usr/include/glib-2.0/gobject/gtype.h defines unsed *_get_instance_private
functions.

Change-Id: I47211b6451d9699c7b8741555f3ad11a09e411bf
2014-01-13 18:16:30 +01:00
0d1f724f96 Resolves: fdo#72277 https CMIS Alfresco "The specified device is invalid."
Change-Id: I34f8b5e19d9bea0c6d98a7f3258b67e82c50e1de
2014-01-11 16:39:56 +01:00
82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
9ca4e6e194 Fix extra right parenthesis
Change-Id: I0386aedb2fc8c70122fc1e5d7c370ca5fd47ad9e
2014-01-06 20:21:37 +01:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
417c85bf58 fdo#72598 Remove SunStudio cruft from code base
Change-Id: I6f75d0df0ddafc892fef0ce1bfdcdd6c70151afc
Reviewed-on: https://gerrit.libreoffice.org/7104
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-17 11:57:04 +00:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
909b27df48 remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17 11:49:04 +02:00
a83b2af9ab Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16 21:43:12 +01:00
80612512fe remove unnecessary casts
It is no longer necessary to cast to sal_Unicode when calling
OUStringBuffer::append

Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
2013-12-12 13:15:25 +02:00
7e72b9de55 use OUString::endsWith where possible
Change-Id: Ie2b68f79a7f9a54899f1d727f9a1fc7cfb14d90a
2013-12-12 13:15:24 +02:00
0fa31bed9a Default OMultiTypeInferfaceContainerHelperVar equalImpl parameter
...and assorted OUStringHash clean up

Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-06 12:03:59 +01:00