summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/docsh2.cxx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-11-08 17:39:47 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-11-08 17:39:47 +0100
commit55046b9eadc7d0af117381c2675abdf47fdd2ffe (patch)
treedec91954c003d81d68386330af1903f56ae412cf /sw/source/ui/app/docsh2.cxx
parent08e6b37aa79d37741043b0c975a81a806815d339 (diff)
parent481d76f6bac2256082a290f93b9890a13c401f69 (diff)
CWS-TOOLING: integrate CWS os143
Diffstat (limited to 'sw/source/ui/app/docsh2.cxx')
-rw-r--r--sw/source/ui/app/docsh2.cxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx
index 17f11b115bf8..5bbc29aab2ee 100644
--- a/sw/source/ui/app/docsh2.cxx
+++ b/sw/source/ui/app/docsh2.cxx
@@ -1209,7 +1209,19 @@ void SwDocShell::Execute(SfxRequest& rReq)
}
break;
- case SID_MAIL_EXPORT_FINISHED:
+ case SID_MAIL_PREPAREEXPORT:
+ {
+ //pWrtShell is not set in page preview
+ if(pWrtShell)
+ pWrtShell->StartAllAction();
+ pDoc->UpdateFlds( NULL, false );
+ pDoc->EmbedAllLinks();
+ pDoc->RemoveInvisibleContent();
+ if(pWrtShell)
+ pWrtShell->EndAllAction();
+ }
+ break;
+ case SID_MAIL_EXPORT_FINISHED:
{
if(pWrtShell)
pWrtShell->StartAllAction();