summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/ed_idataobj.cxx
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2003-03-12 14:38:00 +0000
committerMikhail Voitenko <mav@openoffice.org>2003-03-12 14:38:00 +0000
commit8c0eb7d4b5072d3c69d3c6552e2ae92732d71558 (patch)
tree38770b41110e7e3c5e9df66b6d9a3482750297d8 /embedserv/source/embed/ed_idataobj.cxx
parent4ed31202a053a7b41871c7ac246dd1cf4a3d7f49 (diff)
#i2822# lock the document
Diffstat (limited to 'embedserv/source/embed/ed_idataobj.cxx')
-rwxr-xr-xembedserv/source/embed/ed_idataobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embedserv/source/embed/ed_idataobj.cxx b/embedserv/source/embed/ed_idataobj.cxx
index 9944e7f9b672..3ed8ead5fadd 100755
--- a/embedserv/source/embed/ed_idataobj.cxx
+++ b/embedserv/source/embed/ed_idataobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ed_idataobj.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mav $ $Date: 2003-03-10 16:08:37 $
+ * last change: $Author: mav $ $Date: 2003-03-12 15:37:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,7 +102,7 @@ sal_uInt64 EmbedDocument_Impl::getMetaFileHandle_Impl( sal_Bool isEnhMeta )
{
sal_uInt64 pResult = NULL;
- uno::Reference< datatransfer::XTransferable > xTransferable( m_xDocument, uno::UNO_QUERY );
+ uno::Reference< datatransfer::XTransferable > xTransferable( m_pDocHolder->GetDocument(), uno::UNO_QUERY );
if ( xTransferable.is() )
{
uno::Sequence< sal_Int8 > aMetaBuffer;