diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-18 12:16:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-18 12:16:32 +0200 |
commit | 2633a2a34eb2e3c3de807ba0d9966c42330b6ff0 (patch) | |
tree | f0519f25f601e0aea0a6b1380a847d4eb942e7bb /shell | |
parent | fb69055c1b505ed09fb170093bab4ecd5bb3fdc7 (diff) |
boost::shared_ptr -> std::shared_ptr
Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx index a45c343a248f..8f0a865a5b00 100644 --- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx +++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx @@ -10,12 +10,11 @@ #include <SyncDbusSessionHelper.hxx> #include <gio/gio.h> +#include <memory> #include <vector> -#include <boost/shared_ptr.hpp> using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; -using namespace ::std; namespace { @@ -166,9 +165,9 @@ void SyncDbusSessionHelper::InstallPrinterDrivers( { const OString sPackagenameAscii = OUStringToOString(sPackagename, RTL_TEXTENCODING_ASCII_US); const OString sInteractionAscii = OUStringToOString(sInteraction, RTL_TEXTENCODING_ASCII_US); - boost::shared_ptr<GDBusProxy> proxy(lcl_GetPackageKitProxy("Query"), GObjectDeleter<GDBusProxy>()); + std::shared_ptr<GDBusProxy> proxy(lcl_GetPackageKitProxy("Query"), GObjectDeleter<GDBusProxy>()); GErrorWrapper error(NULL); - boost::shared_ptr<GVariant> result(g_dbus_proxy_call_sync (proxy.get(), + std::shared_ptr<GVariant> result(g_dbus_proxy_call_sync (proxy.get(), "IsInstalled", g_variant_new ("(ss)", sPackagenameAscii.getStr(), |