diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucb.cxx | 4 | ||||
-rw-r--r-- | ucb/source/inc/regexpmap.hxx | 2 | ||||
-rw-r--r-- | ucb/source/inc/regexpmap.tpt | 14 |
3 files changed, 4 insertions, 16 deletions
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index 64a412b778b7..fec9972a2e2d 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -399,7 +399,7 @@ UniversalContentBroker::registerContentProvider( { osl::MutexGuard aGuard(m_aMutex); - ProviderMap_Impl::iterator aIt; + ProviderMap_Impl::iterator aIt(m_aProviders.end()); try { aIt = m_aProviders.find(Scheme); @@ -445,7 +445,7 @@ void SAL_CALL UniversalContentBroker::deregisterContentProvider( { osl::MutexGuard aGuard(m_aMutex); - ProviderMap_Impl::iterator aMapIt; + ProviderMap_Impl::iterator aMapIt(m_aProviders.end()); try { aMapIt = m_aProviders.find(Scheme); diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx index 717a077a9e0f..e02363362a60 100644 --- a/ucb/source/inc/regexpmap.hxx +++ b/ucb/source/inc/regexpmap.hxx @@ -101,8 +101,6 @@ class RegexpMapIter: public RegexpMapConstIter< Val > friend class RegexpMap< Val >; // to access ctor public: - RegexpMapIter() {} - RegexpMapIter & operator ++(); RegexpMapIter operator ++(int); diff --git a/ucb/source/inc/regexpmap.tpt b/ucb/source/inc/regexpmap.tpt index 4fe69a66fadb..0090029a8a6f 100644 --- a/ucb/source/inc/regexpmap.tpt +++ b/ucb/source/inc/regexpmap.tpt @@ -74,10 +74,6 @@ public: typedef RegexpMapImpl< Val > MapImpl; typedef typename List< Val >::iterator ListIterator; - // Solaris needs these for the ctor... - - inline RegexpMapIterImpl(); - inline RegexpMapIterImpl(MapImpl * pTheMap, int nTheList, ListIterator aTheIndex); @@ -96,6 +92,8 @@ public: RegexpMapEntry< Val > & get(); private: + RegexpMapIterImpl(); // not implemented + mutable RegexpMapEntry< Val > m_aEntry; typename List< Val >::iterator m_aIndex; RegexpMapImpl< Val > * m_pMap; @@ -108,14 +106,6 @@ private: } template< typename Val > -inline RegexpMapIterImpl< Val >::RegexpMapIterImpl(): - m_aEntry(rtl::OUString(), 0), - m_pMap(0), - m_nList(-1), - m_bEntrySet(false) -{} - -template< typename Val > inline RegexpMapIterImpl< Val >::RegexpMapIterImpl(MapImpl * pTheMap, int nTheList, ListIterator aTheIndex): |