summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2017-01-06 04:38:43 +0000
committerDamjan Jovanovic <damjan@apache.org>2017-01-06 04:38:43 +0000
commitde091ad1b8abb5d4fb2d7ea1cc2a90b6c1bad236 (patch)
tree466ec731554bf887e6652c56adb8552937640372 /ucb
parentf371d243a59ba61e1cb282c2f9363adac52a188e (diff)
Ubuntu 14.04 apparently isn't happen with implicit int -> sal_In32 and
wchar_t -> sal_Unicode conversions, so do them explicitly. Patch by: me
Notes
Notes: prefer: 0e082ac24bfb4e6924539e4814901ce814880737
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/webdavprovider.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx
index 4b5f3c04e3a4..445989fe8807 100644
--- a/ucb/source/ucp/webdav/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav/webdavprovider.cxx
@@ -62,11 +62,11 @@ rtl::OUString &WebDAVUserAgent::operator()() const
int major, minor, patch;
serf_lib_version(&major, &minor, &patch);
aBuffer.appendAscii( RTL_CONSTASCII_STRINGPARAM( " serf/" ) );
- aBuffer.append(major);
- aBuffer.append( L'.' );
- aBuffer.append(minor);
- aBuffer.append( L'.' );
- aBuffer.append(patch);
+ aBuffer.append( sal_Int32 ( major ) );
+ aBuffer.append( sal_Unicode( L'.' ) );
+ aBuffer.append( sal_Int32 ( minor ) );
+ aBuffer.append( sal_Unicode( L'.' ) );
+ aBuffer.append( sal_Int32 ( patch ) );
#endif
static rtl::OUString aUserAgent( aBuffer.makeStringAndClear() );
return aUserAgent;