summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)AuthorFilesLines
2014-01-30coverity#705438, obey preconditions of OUString functionsStephan Bergmann1-4/+9
Change-Id: Ifd8d9a258ca69fbcdafbbb7b8eedd1905e3473bd
2014-01-29bool improvementsStephan Bergmann3-3/+3
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-28bool improvementsStephan Bergmann9-16/+16
Change-Id: I9a3c7a425342373d02d2664a3444c50bfd629970
2014-01-28Apparently broken bitmask creationStephan Bergmann1-3/+3
Change-Id: I001a529b6690fe421d626133e0257c71df1d5ddf
2014-01-28Apparently broken bitmask checksStephan Bergmann1-2/+2
Change-Id: Ie5749b43de5e47cfede4662e346dee194c454b2f
2014-01-28coverity#440748 Explicit null dereferencedCaolán McNamara1-0/+3
Change-Id: I86c08660f2c01618b661b90c84757a1f7f2b9b83
2014-01-28coverity#440872 Dereference before null checkCaolán McNamara1-7/+4
Change-Id: I263f6c5c74f42b33155365ccb163c3b68f538a97
2014-01-27Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds.Jan Holesovsky9-77/+116
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-27coverity#1158203 Dereference null return valueCaolán McNamara1-1/+4
Change-Id: I8cff85b4d68c28581ddb7a8552378422be6b6a25
2014-01-22Resolves: #i123744# consider certificate's Subject Alternative Name...Oliver-Rainer Wittmann2-5/+41
field when searching for matching certificate host name (cherry picked from commit 226085ad2004319c5142b392bb4b48ab79c3b747) Change-Id: I0d1690f75c1aa3288c677823105e21bb6e969f41
2014-01-21ucb: fix inverted condition in webdav lcl_sendPartialGETRequestMichael Stahl1-1/+1
(regression from a3f32769fc4bb23c64168b412dd10ec769a3854d) Change-Id: Ic72b0e874ebf19e25e43af1f8750c63c04ed8a8e
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann1-10/+10
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann1-2/+2
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-13Revert "Resolves: fdo#72277 https CMIS Alfresco "The specified device is ↵Julien Nabet2-7/+3
invalid."" This reverts commit 0d1f724f9645e7ec0da6a4c3a1c22d0dcf785cb6. (as requested by https://bugs.freedesktop.org/show_bug.cgi?id=72277#c20)
2014-01-13Work around G_DEFINE_TYPE -Werror,-Wunused-functionStephan Bergmann1-0/+7
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-11Resolves: fdo#72277 https CMIS Alfresco "The specified device is invalid."Julien Nabet2-3/+7
Change-Id: I34f8b5e19d9bea0c6d98a7f3258b67e82c50e1de
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-1/+1
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-06Fix extra right parenthesisJulien Nabet1-1/+1
Change-Id: I0386aedb2fc8c70122fc1e5d7c370ca5fd47ad9e
2013-12-20typo fixesAndras Timar6-31/+31
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa2-11/+0
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-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann14-28/+28
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin1-2/+1
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-16Clean-up uno/lbnames.hStephan Bergmann1-0/+1
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-12remove unnecessary castsNoel Grandin1-1/+1
It is no longer necessary to cast to sal_Unicode when calling OUStringBuffer::append Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
2013-12-12use OUString::endsWith where possibleNoel Grandin1-1/+1
Change-Id: Ie2b68f79a7f9a54899f1d727f9a1fc7cfb14d90a
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann6-65/+6
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-05We need an ENABLE_CURL, tooTor Lillqvist1-1/+1
It is not enough to just have CURL in BUILD_TYPE or not. At least the ftp UCP requires libcurl unconditionally, so it can't be built if we don't have either a system or bundled libcurl. Change-Id: I38e9939acb160d581e9a070a6cd7a0c89ddb5266
2013-12-05Let's try to manage without building libcmis for iOSTor Lillqvist1-1/+1
libcmis needs curl and sice 618052e201318bcfba8a0fcdd29cf88eaa4a143e we don't build that for iOS. Change-Id: I78b5faa1a997a3e304cdbd80e254eab370caf552
2013-12-04remove some STRING_NOTFOUND usageNoel Grandin1-8/+7
from old, probably dead code. Completely untested. But at least it's not in my grep results anymore. Change-Id: I9d917d0558bcab25a48fa36140beaa92150b62c9
2013-11-27Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann1-2/+2
Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin3-6/+5
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22remove unnecessary use of OUString constructor in equalsIgnoreAsciiCaseNoel Grandin1-1/+1
Convert code like: sType.equalsIgnoreAsciiCase(OUString("VIEW")); to: sType.equalsIgnoreAsciiCase("VIEW"); Change-Id: I6fb47e6a83b561c7e5a25da76b63606a3174858d
2013-11-21remove unnecessary use of OUString::createFromAsciiNoel Grandin10-216/+158
Convert code like this: OUString aStrSpacing(OUString::createFromAscii("spacing")); to: OUString aStrSpacing("spacing"); Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL callsNoel Grandin1-2/+2
Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin3-25/+25
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin1-11/+10
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19Add data for Alfresco Cloud CMIS connectionCédric Bosdonnat2-0/+16
Change-Id: Ie5374f2e81e1429294805f05ae432fba86cc50df
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin11-33/+32
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin3-26/+18
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann1-1/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14neon: stop using #pragma GCC system_headerMichael Stahl2-1/+8
... it breaks dependency generation. Change-Id: I524f1789c32a633e8930a4e36a893ce02de66390
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann1-1/+1
Change-Id: I648399356bed41f6aa9d6ec276ee975f5d3b1fa4
2013-11-14remove unnecessary sal_Unicode casts in UCB moduleNoel Grandin19-63/+63
Change-Id: Ib93120ec0cae76b5ea19f723054363771b27ab56
2013-11-14ucb: kill webdav-neon/warnings_guard_ne_locks.h tooMichael Stahl4-38/+5
Change-Id: I44919cf592eee026116fc5fbc12e0d5baa4bda2b
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin17-94/+94
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin3-3/+3
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-07OAuth2 application keys shouldn't be in the code.Cédric Bosdonnat3-34/+2
The GDrive OAuth2 key is now defined at configure time. If either the client secret or client id is missing, the Google Drive connectivity will be disabled at runtime. Tinderboxes can set up a GDrive key, but they need to make sure it's not persisting in the build log. Change-Id: I09bc748641ec14eae890f273f05bffe4ed421dbb
2013-11-07CMIS Versions dialog: fix version dateCédric Bosdonnat1-1/+1
The version creation date is more likely to be the cmis:lastModifiedDate. Change-Id: I15e81db6a4c5f638f3f472894608a8d6728dc2d2
2013-11-07remove unnecessary use of OUString constructor in UCB moduleNoel Grandin23-153/+129
Change-Id: Ic75e5aad03d66590e78275304c766c1c00179387
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin3-17/+17
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c