diff options
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/ed_ioleobject.cxx | 2 | ||||
-rw-r--r-- | embedserv/source/inc/embeddoc.hxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index ed1e734b45ac..b5821b3546a4 100644 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -299,7 +299,7 @@ STDMETHODIMP EmbedDocument_Impl::Advise( IAdviseSink *pAdvSink, DWORD *pdwConnec STDMETHODIMP EmbedDocument_Impl::Unadvise( DWORD dwConnection ) { - AdviseSinkHashMapIterator iAdvise = m_aAdviseHashMap.find( dwConnection ); + auto iAdvise = m_aAdviseHashMap.find( dwConnection ); if ( iAdvise != m_aAdviseHashMap.end() ) { iAdvise->second->Release(); diff --git a/embedserv/source/inc/embeddoc.hxx b/embedserv/source/inc/embeddoc.hxx index 1d6a28bae946..488b142bc1a8 100644 --- a/embedserv/source/inc/embeddoc.hxx +++ b/embedserv/source/inc/embeddoc.hxx @@ -32,7 +32,6 @@ #include "docholder.hxx" typedef std::unordered_map< DWORD, IAdviseSink* > AdviseSinkHashMap; -typedef std::unordered_map< DWORD, IAdviseSink* >::iterator AdviseSinkHashMapIterator; class GDIMetaFile; class CIIAObj; |