diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-04-17 11:26:26 +0200 |
---|---|---|
committer | László Németh <laszlo.nemeth@collabora.com> | 2015-04-17 12:10:59 +0200 |
commit | 21a9ddbc1c69f57dec7944dc7751b5377e9c50ff (patch) | |
tree | 7737fb9338e771d9a6f6286f3829e5edfabbb6ab /sw | |
parent | 06a2e00c1a3c00cb40700f61f7cd61ac6681a7c3 (diff) |
Writer export: don't update doc stat using SkipImages
to speed up text extraction
Change-Id: Ifa81483f537c8a79326c40fb610201f0bbbcc97a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index aadb70713ed7..c3641364b557 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -589,7 +589,8 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium ) } // #i76360# Update document statistics - m_pDoc->getIDocumentStatistics().UpdateDocStat( false, true ); + if ( !rMedium.IsSkipImages() ) + m_pDoc->getIDocumentStatistics().UpdateDocStat( false, true ); CalcLayoutForOLEObjects(); // format for OLE objets // #i62875# |