summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-08 07:42:29 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-08 07:42:29 +0000
commit348cb383ac86553dfce7fb9adb80c253bd0e28d8 (patch)
tree8b1a0adba062213fd6798b91e6ab7ca529cceba5 /sfx2
parente8cc1e8f5eade3fb2828676ff9a2e43b6e8a6d47 (diff)
INTEGRATION: CWS sw30bf06 (1.13.76); FILE MERGED
2008/06/19 07:25:41 od 1.13.76.1: #i88291# classes <SvLinkSource> and <SvBaseLink> - provide possibility to clear the stream to load from in order to free this resource.
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/lnkbase2.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index bb8e931e16..6858ef4ad3 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -1,13 +1,13 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: lnkbase2.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
* This file is part of OpenOffice.org.
*
@@ -357,6 +357,16 @@ void SvBaseLink::SetUpdateMode( USHORT nMode )
}
}
+// --> OD 2008-06-19 #i88291#
+void SvBaseLink::clearStreamToLoadFrom()
+{
+ m_xInputStreamToLoadFrom.clear();
+ if( xObj.Is() )
+ {
+ xObj->clearStreamToLoadFrom();
+ }
+}
+// <--
BOOL SvBaseLink::Update()
{