Kaydet (Commit) 6a6190a7 authored tarafından Jesús Corrius's avatar Jesús Corrius

Make some stl functions less ambiguous (fixes VC++ 10 compilation)

üst 409ed5a0
......@@ -71,7 +71,7 @@ namespace frm
template <class ELEMENT, class LESS_COMPARE>
sal_Int32 insert_sorted(::std::vector<ELEMENT>& _rArray, const ELEMENT& _rNewElement, const LESS_COMPARE& _rCompareOp)
{
typename ::std::vector<ELEMENT>::iterator aInsertPos = lower_bound(
typename ::std::vector<ELEMENT>::iterator aInsertPos = ::std::lower_bound(
_rArray.begin(),
_rArray.end(),
_rNewElement,
......@@ -84,7 +84,7 @@ namespace frm
template <class ELEMENT, class LESS_COMPARE>
sal_Bool seek_entry(const ::std::vector<ELEMENT>& _rArray, const ELEMENT& _rNewElement, sal_Int32& nPos, const LESS_COMPARE& _rCompareOp)
{
typename ::std::vector<ELEMENT>::const_iterator aExistentPos = lower_bound(
typename ::std::vector<ELEMENT>::const_iterator aExistentPos = ::std::lower_bound(
_rArray.begin(),
_rArray.end(),
_rNewElement,
......
......@@ -54,7 +54,7 @@ sal_Int32 PropertyInfoService::getPropertyId(const ::rtl::OUString& _rName)
PropertyAssignment aCompareName(_rName, -1);
::std::pair<PropertyMapIterator,PropertyMapIterator> aPair = equal_range(
::std::pair<PropertyMapIterator,PropertyMapIterator> aPair = ::std::equal_range(
s_AllKnownProperties.begin(),
s_AllKnownProperties.end(),
aCompareName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment