summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2012-06-22 12:30:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-31 16:13:17 +0100
commit61dfc6fa942e9d9c241231fb5467c860fe95ea06 (patch)
treecd188a10033b222fab837032b0e976151f9a6144 /include/sfx2
parentf0545c44400a78acea9ca7cb97de212f245efc6a (diff)
Resolves: #i120030# optimize thumbnail creation/painting
(cherry picked from commit 255beb8f56a074ce85eaf1db3cdf168f9c09466e) Conflicts: sfx2/inc/sfx2/objsh.hxx sw/source/core/layout/paintfrm.cxx Change-Id: I23157f7a6983ba81b1c8ddcc409a4989915be2ed
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/objsh.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 4c366a56710f..4ace1801ddc0 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -198,6 +198,7 @@ private:
sal_Bool bHasName :1, // sal_True := existing object,
// sal_False := new object
bIsTmp :1; // temporary Storage
+ sal_Bool bIsInGenerateThumbnail; //optimize thumbnail generate and store procedure to improve odt saving performance, i120030
private:
SAL_DLLPRIVATE void UpdateTime_Impl(const ::com::sun::star::uno::Reference<
@@ -444,6 +445,8 @@ public:
sal_Bool bIsTemplate,
const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xStream );
+ sal_Bool IsInGenerateAndStoreThumbnail() const {return bIsInGenerateThumbnail;}//optimize thumbnail generate and store procedure to improve odt saving performance, i120030
+
// Transfer IFace
void AbortImport();
sal_Bool IsAbortingImport() const;