summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 182b1f674e1c..8cb0e8205d34 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1252,7 +1252,7 @@ ErrCode UcbLockBytes::Stat( SvLockBytesStat *pStat ) const
try
{
- pStat->nSize = sal_uLong(xSeekable->getLength());
+ pStat->nSize = xSeekable->getLength();
}
catch (const IOException&)
{