summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/uivwimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/uivwimp.hxx')
-rw-r--r--sw/source/ui/inc/uivwimp.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/ui/inc/uivwimp.hxx b/sw/source/ui/inc/uivwimp.hxx
index e92eb71dcf23..4c349a047c67 100644
--- a/sw/source/ui/inc/uivwimp.hxx
+++ b/sw/source/ui/inc/uivwimp.hxx
@@ -90,7 +90,7 @@ public:
void ViewDestroyed() { pView = 0; }
- void AddRemoveListener( BOOL bAdd );
+ void AddRemoveListener( sal_Bool bAdd );
};
class SwMailMergeConfigItem;
@@ -105,8 +105,7 @@ class SwView_Impl
// temporary document for printing text of selection / multi selection
// in PDF export.
- SfxObjectShellRef xTmpSelDocSh;
- SfxObjectShellRef aEmbeddedObjRef;
+ SfxObjectShellLock xTmpSelDocSh;
SwView* pView;
SwScannerEventListener* pScanEvtLstnr;
@@ -142,9 +141,7 @@ public:
void AddClipboardListener();
- SfxObjectShellRef & GetTmpSelectionDoc() { return xTmpSelDocSh; }
-
- SfxObjectShellRef& GetEmbeddedObjRef() { return *boost::addressof(aEmbeddedObjRef); }
+ SfxObjectShellLock& GetTmpSelectionDoc() { return xTmpSelDocSh; }
void AddTransferable(SwTransferable& rTransferable);