135360
From 22f4b009e889ba9d08244ff3c7b57c2faade3903 Mon Sep 17 00:00:00 2001
135360
From: David Tardon <dtardon@redhat.com>
135360
Date: Sun, 19 Mar 2017 21:16:15 +0100
135360
Subject: [PATCH 159/398] fix build
135360
135360
Change-Id: Id1067aef106764484584a30fb55efebb7868f24a
135360
---
135360
 desktop/inc/lib/init.hxx    | 3 +--
135360
 desktop/source/lib/init.cxx | 6 ++----
135360
 2 files changed, 3 insertions(+), 6 deletions(-)
135360
135360
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
135360
index 81e7eb61664e..d3a42fb10bde 100644
135360
--- a/desktop/inc/lib/init.hxx
135360
+++ b/desktop/inc/lib/init.hxx
135360
@@ -14,13 +14,12 @@
135360
 #include <osl/thread.h>
135360
 
135360
 using namespace css;
135360
-using namespace boost;
135360
 
135360
 namespace desktop {
135360
     struct DESKTOP_DLLPUBLIC LibLODocument_Impl : public _LibreOfficeKitDocument
135360
     {
135360
         uno::Reference<css::lang::XComponent> mxComponent;
135360
-        shared_ptr< LibreOfficeKitDocumentClass > m_pDocumentClass;
135360
+        std::shared_ptr< LibreOfficeKitDocumentClass > m_pDocumentClass;
135360
 
135360
         explicit LibLODocument_Impl(const uno::Reference <css::lang::XComponent> &xComponent);
135360
         ~LibLODocument_Impl();
135360
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
135360
index 8e4c0f3ab4e5..5d716abdf8c4 100644
135360
--- a/desktop/source/lib/init.cxx
135360
+++ b/desktop/source/lib/init.cxx
135360
@@ -13,8 +13,6 @@
135360
 #include <string.h>
135360
 #include <stdlib.h>
135360
 
135360
-#include <boost/shared_ptr.hpp>
135360
-#include <boost/weak_ptr.hpp>
135360
 #include <boost/property_tree/json_parser.hpp>
135360
 
135360
 #define LOK_USE_UNSTABLE_API
135360
@@ -87,8 +85,8 @@ using namespace desktop;
135360
 using namespace utl;
135360
 
135360
 static LibLibreOffice_Impl *gImpl = NULL;
135360
-static weak_ptr< LibreOfficeKitClass > gOfficeClass;
135360
-static weak_ptr< LibreOfficeKitDocumentClass > gDocumentClass;
135360
+static std::weak_ptr< LibreOfficeKitClass > gOfficeClass;
135360
+static std::weak_ptr< LibreOfficeKitDocumentClass > gDocumentClass;
135360
 
135360
 typedef struct
135360
 {
135360
-- 
135360
2.12.0
135360