summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 71403d35e82f..148c23fefaa5 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -309,8 +309,6 @@ void FileStreamWrapper_Impl::checkError()
#define COMMIT_RESULT_NOTHING_TO_DO 1
#define COMMIT_RESULT_SUCCESS 2
-#define min( x, y ) (( x < y ) ? x : y)
-
SotClipboardFormatId GetFormatId_Impl( const SvGlobalName& aName )
{
if ( aName == SvGlobalName( SO3_SW_CLASSID_60 ) )
@@ -803,7 +801,7 @@ sal_uInt64 UCBStorageStream_Impl::ReadSourceWriteTemporary(sal_uInt64 aLength)
for (sal_uInt64 nInd = 0; nInd < aLength && aReaded == 32000 ; nInd += 32000)
{
- sal_uLong aToCopy = min( aLength - nInd, 32000 );
+ sal_uLong aToCopy = std::min<sal_uInt64>( aLength - nInd, 32000 );
aReaded = m_rSource->readBytes( aData, aToCopy );
aResult += m_pStream->WriteBytes(aData.getArray(), aReaded);
}
/cgit/lo/core/commit/external/curl?id=63cf188ce0a47ddc162c4e4207a35d4d22f2662e'>WIN add and apply default msbuild platform+configJan-Marek Glogowski 2020-07-05Use up-to-date config.{guess,sub} for external/curl, tooTor Lillqvist 2020-06-29curl: upgrade to release 7.71.0Michael Stahl 2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák 2020-02-16MAC_OS_X_VERSION_MIN_REQUIRED_DOTS is the same as MACOSX_DEPLOYMENT_TARGETStephan Bergmann 2019-05-22curl: upgrade to release 7.65.0Michael Stahl 2019-05-05Fix remaining uses of gb_SYMBOLStephan Bergmann 2019-03-01Some more WIN32 -> _WIN32Stephan Bergmann 2018-11-29Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek 2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl 2018-05-17curl: upgrade to release 7.60.0Thorsten Behrens 2018-05-04Removed executable permission on data filesAndrea Gelmini 2018-01-24curl: upgrade to release 7.58.0Michael Stahl