diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-11-06 15:07:46 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-07 10:43:34 -0600 |
commit | bcb51cff22f385abe71555f8d7fdbec2697bf188 (patch) | |
tree | 4ca8f3c2b755a018f96d03ff43da2dc0ee0f6c69 /sfx2 | |
parent | d877941fc7bb690d0c5b132a914920cf65f8abb2 (diff) |
fdo#63020: Replace ::comphelper::stl_begin()...
And use some templates inside include/com/sun/star/uno/Sequence.hxx
Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47
Reviewed-on: https://gerrit.libreoffice.org/6599
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/sidebar/ResourceManager.cxx | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index 666943015987..080a4752dc87 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -69,7 +69,6 @@ #include "comphelper/mediadescriptor.hxx" #include "comphelper/processfactory.hxx" #include "comphelper/sequenceasvector.hxx" -#include "comphelper/stlunosequence.hxx" #include "comphelper/storagehelper.hxx" #include "cppuhelper/basemutex.hxx" #include "cppuhelper/compbase6.hxx" @@ -547,7 +546,6 @@ #include <comphelper/servicehelper.hxx> #include <comphelper/solarmutex.hxx> #include <comphelper/stillreadwriteinteraction.hxx> -#include <comphelper/stlunosequence.hxx> #include <comphelper/storagehelper.hxx> #include <comphelper/string.hxx> #include <comphelper/synchronousdispatch.hxx> diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index 4859c0c54acc..614cb2690b85 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -66,7 +66,6 @@ #include "comphelper/storagehelper.hxx" #include "comphelper/mediadescriptor.hxx" #include "comphelper/sequenceasvector.hxx" -#include "comphelper/stlunosequence.hxx" #include "sot/storage.hxx" #include "sfx2/docfile.hxx" #include "sax/tools/converter.hxx" @@ -2306,9 +2305,7 @@ void SfxDocumentMetaData::createUserDefined() { const css::uno::Sequence<css::uno::Reference<css::uno::XInterface> > listeners(m_NotifyListeners.getElements()); - for (css::uno::Reference< css::uno::XInterface > const * iter = - ::comphelper::stl_begin(listeners); - iter != ::comphelper::stl_end(listeners); ++iter) { + for (css::uno::Reference< css::uno::XInterface > const * iter = listeners.begin(); iter != listeners.end(); ++iter) { xMB->addModifyListener( css::uno::Reference< css::util::XModifyListener >(*iter, css::uno::UNO_QUERY)); diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx index c822621b6bd7..ed05375c09ac 100644 --- a/sfx2/source/sidebar/ResourceManager.cxx +++ b/sfx2/source/sidebar/ResourceManager.cxx @@ -24,7 +24,6 @@ #include <comphelper/processfactory.hxx> #include <comphelper/namedvaluecollection.hxx> #include <comphelper/types.hxx> -#include <comphelper/stlunosequence.hxx> #include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> |