diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2018-06-26 00:37:36 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-26 09:29:25 +0200 |
commit | 20c4a9ce69e73a182d60718e9b52510d66c8f20e (patch) | |
tree | dde947221cfa9d662156416f01c0e4cbf4614c04 /embedserv | |
parent | aecd51754ec00faef7ad8f742d5e3cdbab470436 (diff) |
tdf#96099 Remove some trivial container iterator typedefs
Change-Id: Ifec98748d55ff6aca64c425c50c2cf2650f61591
Reviewed-on: https://gerrit.libreoffice.org/56422
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; |