summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/bitset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/bitset.cxx')
-rw-r--r--sfx2/source/bastyp/bitset.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index 1e536aa8a46c..f1798f515d81 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -23,6 +23,7 @@
#include <string.h> // memset(), memcpy()
#include <limits.h> // USHRT_MAX
+#include <algorithm>
//====================================================================
// add nOffset to each bit-value in the set
@@ -189,7 +190,7 @@ BitSet& BitSet::operator-=(sal_uInt16 nBit)
BitSet& BitSet::operator|=( const BitSet& rSet )
{
- sal_uInt16 nMax = Min(nBlocks, rSet.nBlocks);
+ sal_uInt16 nMax = std::min(nBlocks, rSet.nBlocks);
// expand the bitmap
if ( nBlocks < rSet.nBlocks )