diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-11-21 16:53:01 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-11-21 16:53:01 +0000 |
commit | b1ea28cba239c7c6c9b45fb0c99b5061d2cdf4be (patch) | |
tree | 962a5c922d4700a5e30ba7022a7586dd3909c9f6 /svx | |
parent | 97f2d6011c41637c719e2036abaf2fcc3e094a07 (diff) |
#94902# save the correct vis area into the document
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/msfilter/msdffimp.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/svx/source/msfilter/msdffimp.cxx b/svx/source/msfilter/msdffimp.cxx index a5bed52f0e94..1f8e1e92b16a 100644 --- a/svx/source/msfilter/msdffimp.cxx +++ b/svx/source/msfilter/msdffimp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: msdffimp.cxx,v $ * - * $Revision: 1.45 $ + * $Revision: 1.46 $ * - * last change: $Author: sj $ $Date: 2001-11-19 16:59:51 $ + * last change: $Author: mtg $ $Date: 2001-11-21 17:53:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -5013,9 +5013,6 @@ const SvInPlaceObjectRef SvxMSDffManager::CheckForConvertToSOObj( UINT32 nConver STREAM_READWRITE| STREAM_SHARE_DENYALL)); xDoc->DoLoad( pMed ); - xDoc->DoSaveAs( xObjStor ); - xDoc->DoSaveCompleted( xObjStor ); - pMed = 0; //JP 26.10.2001: Bug 93374 / 91928 // the writer objects need the correct visarea @@ -5032,6 +5029,11 @@ const SvInPlaceObjectRef SvxMSDffManager::CheckForConvertToSOObj( UINT32 nConver xIPObj->GetVisArea().TopLeft(), aSz ) ); xIPObj->EnableSetModified( TRUE ); } + + xDoc->DoSaveAs( xObjStor ); + xDoc->DoSaveCompleted( xObjStor ); + pMed = 0; + } } delete pMed; |