diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:51 +0100 |
commit | c80e341726c5acc0b7c23842c6b5e97d32a7d4f4 (patch) | |
tree | 2c3d05f2cdcef831a884cd0882a3f0dacb17c4fd /unotools/source/ucbhelper | |
parent | 64089f779060203d892f1200ccd1a1875d9c53ff (diff) |
More loplugin:cstylecast: unotools
Change-Id: I04af756527ff42ad83a1b68730230864233c4fac
Diffstat (limited to 'unotools/source/ucbhelper')
-rw-r--r-- | unotools/source/ucbhelper/ucbhelper.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx index 0cded08d91b9..ea4caeab8c46 100644 --- a/unotools/source/ucbhelper/ucbhelper.cxx +++ b/unotools/source/ucbhelper/ucbhelper.cxx @@ -277,7 +277,7 @@ bool utl::UCBContentHelper::MakeFolder( "unotools.ucbhelper", "UCBContentHelper::MakeFolder(" << title << ") InteractiveIOException \"" << e - << "\", code " << + (sal_Int32)e.Code); + << "\", code " << + static_cast<sal_Int32>(e.Code)); } } catch (css::ucb::NameClashException const &) { exists = true; diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 4e85da23c8bf..3f7731d99602 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1226,7 +1226,7 @@ ErrCode UcbLockBytes::Flush() const ErrCode UcbLockBytes::SetSize (sal_uInt64 const nNewSize) { SvLockBytesStat aStat; - Stat( &aStat, (SvLockBytesStatFlag) 0 ); + Stat( &aStat, SvLockBytesStatFlag(0) ); std::size_t nSize = aStat.nSize; if ( nSize > nNewSize ) |