[Libreoffice-commits] core.git: shell/source
Stephan Bergmann
sbergman at redhat.com
Mon May 18 03:16:56 PDT 2015
shell/source/sessioninstall/SyncDbusSessionHelper.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 2633a2a34eb2e3c3de807ba0d9966c42330b6ff0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 18 12:16:13 2015 +0200
boost::shared_ptr -> std::shared_ptr
Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index a45c343..8f0a865 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(),
More information about the Libreoffice-commits
mailing list