Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0f9f8e05
Kaydet (Commit)
0f9f8e05
authored
May 21, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
speed-up writer conversion in headless mode
Change-Id: Ie5ccd62608c0643e3c8f019aea136ba74b282274
üst
27a84e96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sfxpicklist.cxx
sfx2/source/appl/sfxpicklist.cxx
+1
-1
docsh.cxx
sw/source/core/uibase/app/docsh.cxx
+1
-1
No files found.
sfx2/source/appl/sfxpicklist.cxx
Dosyayı görüntüle @
0f9f8e05
...
@@ -196,7 +196,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
...
@@ -196,7 +196,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
OUString
aThumbnail
;
OUString
aThumbnail
;
// don't generate thumbnail when in headless mode, or on non-desktop (?)
// don't generate thumbnail when in headless mode, or on non-desktop (?)
#if HAVE_FEATURE_DESKTOP
#if HAVE_FEATURE_DESKTOP
if
(
!
pDocSh
->
IsModified
()
&&
!
Application
::
IsHeadlessMode
Request
ed
())
if
(
!
pDocSh
->
IsModified
()
&&
!
Application
::
IsHeadlessMode
Enabl
ed
())
{
{
// not modified => the document matches what is in the shell
// not modified => the document matches what is in the shell
boost
::
shared_ptr
<
GDIMetaFile
>
pMetaFile
=
pDocSh
->
GetPreviewMetaFile
();
boost
::
shared_ptr
<
GDIMetaFile
>
pMetaFile
=
pDocSh
->
GetPreviewMetaFile
();
...
...
sw/source/core/uibase/app/docsh.cxx
Dosyayı görüntüle @
0f9f8e05
...
@@ -710,7 +710,7 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium )
...
@@ -710,7 +710,7 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium )
const
OUString
aFileName
(
rMedium
.
GetName
()
);
const
OUString
aFileName
(
rMedium
.
GetName
()
);
// No View, so the whole Document!
// No View, so the whole Document!
if
(
pWrtShell
)
if
(
pWrtShell
&&
!
Application
::
IsHeadlessModeEnabled
()
)
{
{
SwWait
aWait
(
*
this
,
true
);
SwWait
aWait
(
*
this
,
true
);
// #i106906#
// #i106906#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment