summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2010-10-28 13:55:00 +0200
committerJesús Corrius <jesus@softcatala.org>2010-10-28 13:55:00 +0200
commit6a6190a7bbe8e12a52a8a0a3b69d58ea4a90c31c (patch)
treecef827598add2bead7fd82a645c681788f3d9faf /forms
parent409ed5a0128dd2dfdaf9a8a6984da5cb7f8e22df (diff)
Make some stl functions less ambiguous (fixes VC++ 10 compilation)
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/GroupManager.hxx4
-rw-r--r--forms/source/misc/property.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx
index 5c3f2966ef9c..791c96efe25b 100644
--- a/forms/source/component/GroupManager.hxx
+++ b/forms/source/component/GroupManager.hxx
@@ -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,
diff --git a/forms/source/misc/property.cxx b/forms/source/misc/property.cxx
index 174378135816..0d97609f0eb7 100644
--- a/forms/source/misc/property.cxx
+++ b/forms/source/misc/property.cxx
@@ -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,