summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/swdtflvr.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-17 14:32:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-17 14:32:14 +0000
commitc0536b09d05b98653b039925b4cb664e64f27b0f (patch)
tree936e6b076b7c7c90526cb144ed1465f7f2382bf9 /sw/source/ui/inc/swdtflvr.hxx
parent2d654d53cc02a5fa87b91447a740ec896f7af54b (diff)
INTEGRATION: CWS os8 (1.11.10.2.48); FILE MERGED
2003/03/31 14:25:45 os 1.11.10.2.48.1: #107869# invalidate SwTransferable in SwView::~SwView
Diffstat (limited to 'sw/source/ui/inc/swdtflvr.hxx')
-rw-r--r--sw/source/ui/inc/swdtflvr.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/ui/inc/swdtflvr.hxx b/sw/source/ui/inc/swdtflvr.hxx
index 91a2d8197be6..aa080858a721 100644
--- a/sw/source/ui/inc/swdtflvr.hxx
+++ b/sw/source/ui/inc/swdtflvr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swdtflvr.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 15:43:44 $
+ * last change: $Author: vg $ $Date: 2003-04-17 15:32:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,6 +87,7 @@ class SwWrtShell;
class Reader;
class SvxClipboardFmtItem;
class ViewShell;
+class SwView_Impl;
enum TransferBufferType
{
@@ -105,6 +106,7 @@ enum TransferBufferType
class SwTransferable : public TransferableHelper
{
+ friend class SwView_Impl;
SvEmbeddedObjectRef aDocShellRef;
TransferableDataHelper aOleData;
TransferableObjectDescriptor aObjDesc;
@@ -244,6 +246,11 @@ public:
static void ClearSelection( SwWrtShell& rSh,
const ViewShell * pCreator = NULL );
+ // the related SwView is being closed and the SwTransferable is invalid now
+ void Invalidate() {pWrtShell = 0;}
+ static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
+
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
};