summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-22 08:50:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-22 08:50:56 +0200
commit8a08ddd7371024db9a0cb901e956b5ba4bd40a06 (patch)
treeadac78712957f32d619d95ca71afe1a802b4532f /sfx2/source/inc
parent10b6bda51c9da5429ca562c70ce75ee03e5f4e56 (diff)
No need to own SfxBasicManagerHolder by pointer in SfxObjectShell_Impl
Change-Id: I55da464ef1d3381fb51949a349f844dbd7da49eb
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/objshimp.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx
index a32e4f373f0b..ff3f2b31f2e0 100644
--- a/sfx2/source/inc/objshimp.hxx
+++ b/sfx2/source/inc/objshimp.hxx
@@ -31,6 +31,8 @@
#include <sfx2/docmacromode.hxx>
#include "bitset.hxx"
+#include <appbaslib.hxx>
+
namespace svtools { class AsynchronLink; }
class SfxViewFrame;
@@ -46,8 +48,7 @@ class SfxBasicManagerHolder;
struct SfxObjectShell_Impl : public ::sfx2::IMacroDocumentAccess
{
::comphelper::EmbeddedObjectContainer* mpObjectContainer;
- SfxBasicManagerHolder*
- pBasicManager;
+ SfxBasicManagerHolder aBasicManager;
SfxObjectShell& rDocShell;
::com::sun::star::uno::Reference< ::com::sun::star::script::XLibraryContainer >
xBasicLibraries;