summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx2
-rw-r--r--linguistic/source/spelldta.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 96cb9e08348f..083f4c5cc6bb 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -698,7 +698,7 @@ sal_Bool DictionaryNeo::addEntry_Impl(const uno::Reference< XDictionaryEntry > x
DBG_ASSERT(!bNeedEntries, "lng : entries still not loaded");
if (nCount >= aEntries.getLength())
- aEntries.realloc( Max(2 * nCount, nCount + 32) );
+ aEntries.realloc( std::max(2 * nCount, nCount + 32) );
uno::Reference< XDictionaryEntry > *pEntry = aEntries.getArray();
// shift old entries right
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index 293bf774392f..82178a3df94e 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -152,7 +152,7 @@ Sequence< OUString > MergeProposalSeqs(
sal_Int32 nAltCount2 = rAlt2.getLength();
const OUString *pAlt2 = rAlt2.getConstArray();
- sal_Int32 nCountNew = Min( nAltCount1 + nAltCount2, (sal_Int32) MAX_PROPOSALS );
+ sal_Int32 nCountNew = std::min( nAltCount1 + nAltCount2, (sal_Int32) MAX_PROPOSALS );
aMerged.realloc( nCountNew );
OUString *pMerged = aMerged.getArray();