summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-21 15:01:48 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-21 20:55:08 +0200
commit0f9f8e05dcb572bff6e8d719f9dcef8fb1e0f2c7 (patch)
tree484e6a4e5095f56a94f5502aed41b39517f1df93 /sfx2
parent27a84e96005c502e5d1f4164cd7befbb6230d666 (diff)
speed-up writer conversion in headless mode
Change-Id: Ie5ccd62608c0643e3c8f019aea136ba74b282274
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/sfxpicklist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx
index 0cfa9b7c7d11..19c1c313fbbd 100644
--- a/sfx2/source/appl/sfxpicklist.cxx
+++ b/sfx2/source/appl/sfxpicklist.cxx
@@ -196,7 +196,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
OUString aThumbnail;
// don't generate thumbnail when in headless mode, or on non-desktop (?)
#if HAVE_FEATURE_DESKTOP
- if (!pDocSh->IsModified() && !Application::IsHeadlessModeRequested())
+ if (!pDocSh->IsModified() && !Application::IsHeadlessModeEnabled())
{
// not modified => the document matches what is in the shell
boost::shared_ptr<GDIMetaFile> pMetaFile = pDocSh->GetPreviewMetaFile();