diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-14 01:42:30 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-14 03:49:21 -0500 |
commit | b42094b2b06f4837a6df65e6b87caf8139fc0d0d (patch) | |
tree | 134a3f25c7e676e092a7ac5c3b29f78b98dbc301 /unotools | |
parent | e50ab7bb891cbd7b5f95c124ce29a3e595b599ee (diff) |
remove use of SAL_MIN() macro
Change-Id: Ia91118388240c9a54d010b94aef34ad528ce5761
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 037d16bbe811..e74c83d5df68 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1415,7 +1415,10 @@ ErrCode UcbLockBytes::ReadAt ( sal_uLong nPos, void *pBuffer, sal_uLong nCount, Sequence<sal_Int8> aData; sal_Int32 nSize; - nCount = SAL_MIN(nCount, 0x7FFFFFFF); + if(nCount > 0x7FFFFFFF) + { + nCount = 0x7FFFFFFF; + } try { if ( !m_bTerminated && !IsSynchronMode() ) |