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 /comphelper | |
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 'comphelper')
-rw-r--r-- | comphelper/source/misc/string.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/comphelper/source/misc/string.cxx b/comphelper/source/misc/string.cxx index d5d249eb91f6..4a5f9df8b623 100644 --- a/comphelper/source/misc/string.cxx +++ b/comphelper/source/misc/string.cxx @@ -31,7 +31,6 @@ #include <sal/types.h> #include <comphelper/string.hxx> -#include <comphelper/stlunosequence.hxx> #include <comphelper/stl_types.hxx> #include <com/sun/star/i18n/BreakIterator.hpp> @@ -248,9 +247,7 @@ OUString convertCommaSeparated( { OUStringBuffer buf; ::comphelper::intersperse( - ::comphelper::stl_begin(i_rSeq), ::comphelper::stl_end(i_rSeq), - ::comphelper::OUStringBufferAppender(buf), - OUString( ", " )); + i_rSeq.begin(), i_rSeq.end(), ::comphelper::OUStringBufferAppender(buf), OUString( ", " )); return buf.makeStringAndClear(); } @@ -268,7 +265,7 @@ uno::Sequence< OUString > } } while (idx >= 0); uno::Sequence< OUString > kws(vec.size()); - std::copy(vec.begin(), vec.end(), stl_begin(kws)); + std::copy(vec.begin(), vec.end(), kws.begin()); return kws; } |