summaryrefslogtreecommitdiff
path: root/comphelper/inc/comphelper/stlunosequence.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-23 12:58:49 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-23 12:58:49 +0000
commit0f984922383a924a7857ef441ae936e054b1055c (patch)
tree9cad557faf18ab65c17a999f2ae2054da7001dde /comphelper/inc/comphelper/stlunosequence.hxx
parent6910eb5253203dcfc47cf6c15dc5193873fb7546 (diff)
#i89973# Fix build breaker for msvc8. Patch by thb.
Diffstat (limited to 'comphelper/inc/comphelper/stlunosequence.hxx')
-rw-r--r--comphelper/inc/comphelper/stlunosequence.hxx25
1 files changed, 10 insertions, 15 deletions
diff --git a/comphelper/inc/comphelper/stlunosequence.hxx b/comphelper/inc/comphelper/stlunosequence.hxx
index 9f8caed72437..2ffe08cb6b75 100644
--- a/comphelper/inc/comphelper/stlunosequence.hxx
+++ b/comphelper/inc/comphelper/stlunosequence.hxx
@@ -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>
@@ -151,12 +158,6 @@ namespace comphelper { namespace stlunosequence {
}
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++()
{
++m_Index;
@@ -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)