summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/framework/FrameworkHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/framework/FrameworkHelper.hxx')
-rw-r--r--sd/source/ui/inc/framework/FrameworkHelper.hxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index c5a688d4e4c3..8407203e7644 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -28,9 +28,12 @@
#include <com/sun/star/drawing/framework/XView.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
+#include <boost/scoped_ptr.hpp>
+#include <boost/shared_ptr.hpp>
+#include <boost/enable_shared_from_this.hpp>
+
#include <functional>
#include <map>
-#include <memory>
namespace sd {
class ViewShell;
@@ -51,7 +54,7 @@ namespace sd { namespace framework {
controllers called by it throws a DisposedException.
*/
class FrameworkHelper
- : public std::enable_shared_from_this<FrameworkHelper>,
+ : public ::boost::enable_shared_from_this<FrameworkHelper>,
public SdGlobalResource
{
public:
@@ -105,7 +108,7 @@ public:
ViewShellBase. If such an object does not yet exist, a new one is
created.
*/
- static ::std::shared_ptr<FrameworkHelper> Instance (ViewShellBase& rBase);
+ static ::boost::shared_ptr<FrameworkHelper> Instance (ViewShellBase& rBase);
/** Mark the FrameworkHelper object for the given ViewShellBase as
disposed. A following ReleaseInstance() call will destroy the
@@ -141,7 +144,7 @@ public:
When the ViewShell pointer can not be inferred from the given
reference then an empty pointer is returned.
*/
- static ::std::shared_ptr<ViewShell> GetViewShell (
+ static ::boost::shared_ptr<ViewShell> GetViewShell (
const css::uno::Reference<css::drawing::framework::XView>& rxView);
typedef ::std::function<bool (const css::drawing::framework::ConfigurationChangeEvent&)>
@@ -168,7 +171,7 @@ public:
of the involved objects does not support XUnoTunnel (where
necessary).
*/
- ::std::shared_ptr<ViewShell> GetViewShell (const OUString& rsPaneURL);
+ ::boost::shared_ptr<ViewShell> GetViewShell (const OUString& rsPaneURL);
/** Return a reference to the view that is displayed in the specified
pane. See GetViewShell () for a variant that returns a ViewShell
@@ -300,13 +303,13 @@ public:
private:
typedef ::std::map<
ViewShellBase*,
- ::std::shared_ptr<FrameworkHelper> > InstanceMap;
+ ::boost::shared_ptr<FrameworkHelper> > InstanceMap;
/** The instance map holds (at least) one FrameworkHelper instance for
every ViewShellBase object.
*/
static InstanceMap maInstanceMap;
class ViewURLMap;
- static std::unique_ptr<ViewURLMap> mpViewURLMap;
+ static ::boost::scoped_ptr<ViewURLMap> mpViewURLMap;
ViewShellBase& mrBase;
css::uno::Reference<css::drawing::framework::XConfigurationController>