summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-11-06 15:07:46 -0200
committerStephan Bergmann <sbergman@redhat.com>2013-11-07 10:43:34 -0600
commitbcb51cff22f385abe71555f8d7fdbec2697bf188 (patch)
tree4ca8f3c2b755a018f96d03ff43da2dc0ee0f6c69 /shell
parentd877941fc7bb690d0c5b132a914920cf65f8abb2 (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 'shell')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index 9ea07be1a223..b48b0d8fe47d 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -9,14 +9,12 @@
#include <SyncDbusSessionHelper.hxx>
-#include <comphelper/stlunosequence.hxx>
#include <gio/gio.h>
#include <vector>
#include <boost/shared_ptr.hpp>
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
-using namespace ::comphelper;
using namespace ::std;
using namespace ::rtl;
@@ -71,7 +69,7 @@ namespace shell { namespace sessioninstall
vector< OString > vPackagesOString;
vPackagesOString.reserve(vPackages.getLength());
boost::shared_ptr<GVariantBuilder> pBuilder(g_variant_builder_new(G_VARIANT_TYPE ("as")), GVariantBuilderDeleter());
- for( const OUString* pPackage = stl_begin(vPackages); pPackage != stl_end(vPackages); ++pPackage)
+ for( const OUString* pPackage = vPackages.begin(); pPackage != vPackages.end(); ++pPackage)
{
vPackagesOString.push_back(OUStringToOString(*pPackage, RTL_TEXTENCODING_ASCII_US));
g_variant_builder_add(pBuilder.get(), "s", vPackagesOString.back().getStr());