#i89973# Fix build breaker for msvc8. Patch by thb.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* $RCSfile: stlunosequence.hxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@@ -82,8 +82,15 @@ namespace comphelper { namespace stlunosequence {
|
||||
typedef const V& reference;
|
||||
StlSequenceConstIterator();
|
||||
StlSequenceConstIterator(S * uno_sequence, typename StlSequenceIterator<S,V>::difference_type by);
|
||||
typename StlSequenceIterator<S,V>::const_reference operator*() const;
|
||||
typename StlSequenceIterator<S,V>::const_reference operator[](const typename StlSequenceIterator<S,V>::difference_type by) const;
|
||||
typename StlSequenceIterator<S,V>::const_reference operator*() const
|
||||
{
|
||||
return (*(this->m_UnoSequence))[this->m_Index];
|
||||
}
|
||||
|
||||
typename StlSequenceIterator<S,V>::const_reference operator[](const typename StlSequenceIterator<S,V>::difference_type by) const
|
||||
{
|
||||
return (*(this->m_UnoSequence))[this->m_Index+by];
|
||||
}
|
||||
};
|
||||
|
||||
template<typename S, typename V>
|
||||
@@ -150,12 +157,6 @@ namespace comphelper { namespace stlunosequence {
|
||||
return (*m_UnoSequence)[m_Index];
|
||||
}
|
||||
|
||||
template<typename S, typename V>
|
||||
inline typename StlSequenceIterator<S,V>::const_reference StlSequenceConstIterator<S, V>::operator*() const
|
||||
{
|
||||
return (*(this->m_UnoSequence))[this->m_Index];
|
||||
}
|
||||
|
||||
template<typename S, typename V>
|
||||
inline StlSequenceIterator<S,V>& StlSequenceIterator<S, V>::operator++()
|
||||
{
|
||||
@@ -278,12 +279,6 @@ namespace comphelper { namespace stlunosequence {
|
||||
return (*(this->m_UnoSequence))[this->m_Index+by];
|
||||
}
|
||||
|
||||
template<typename S, typename V>
|
||||
inline typename StlSequenceIterator<S,V>::const_reference StlSequenceConstIterator<S, V>::operator[](const typename StlSequenceIterator<S,V>::difference_type by) const
|
||||
{
|
||||
return (*(this->m_UnoSequence))[this->m_Index+by];
|
||||
}
|
||||
|
||||
// StlSequence
|
||||
template<typename S, typename V>
|
||||
StlSequence<S,V>::StlSequence(S& uno_sequence)
|
||||
|
Reference in New Issue
Block a user