summaryrefslogtreecommitdiff
path: root/sd/inc/sdpage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc/sdpage.hxx')
-rw-r--r--sd/inc/sdpage.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index bd065a519c3e..08d49afaab01 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -20,13 +20,14 @@
#ifndef INCLUDED_SD_INC_SDPAGE_HXX
#define INCLUDED_SD_INC_SDPAGE_HXX
+#include <boost/shared_ptr.hpp>
+
+#include <functional>
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <com/sun/star/presentation/FadeEffect.hpp>
#include <com/sun/star/office/XAnnotation.hpp>
-#include <functional>
#include <list>
-#include <memory>
#include <vector>
#include <svx/svdobj.hxx>
#include <svx/fmpage.hxx>
@@ -58,6 +59,11 @@ namespace sd
class MainSequence;
}
+namespace boost
+{
+ template<class X> class shared_ptr;
+}
+
namespace sd {
struct SD_DLLPUBLIC HeaderFooterSettings
@@ -132,7 +138,7 @@ protected:
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxAnimationNode;
/** a helper class to manipulate effects inside the main sequence */
- std::shared_ptr< sd::MainSequence > mpMainSequence;
+ boost::shared_ptr< sd::MainSequence > mpMainSequence;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage() SAL_OVERRIDE;
@@ -301,7 +307,7 @@ public:
void setAnimationNode( ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode ) throw (::com::sun::star::uno::RuntimeException);
/// @return a helper class to manipulate effects inside the main sequence
- std::shared_ptr< sd::MainSequence > getMainSequence();
+ boost::shared_ptr< sd::MainSequence > getMainSequence();
/** quick check if this slide has an animation node.
This can be used to have a cost free check if there are no animations ad this slide.