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
928068cc
Kaydet (Commit)
928068cc
authored
Eki 21, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lok: Avoid adding to recent documents completely.
Change-Id: I292281e300e8976bf5ae286262a6a3e20de41858
üst
5a10f877
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sfxpicklist.cxx
sfx2/source/appl/sfxpicklist.cxx
+5
-5
No files found.
sfx2/source/appl/sfxpicklist.cxx
Dosyayı görüntüle @
928068cc
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include <config_features.h>
#include <config_features.h>
#include <comphelper/lok.hxx>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <unotools/historyoptions.hxx>
#include <unotools/historyoptions.hxx>
#include <unotools/useroptions.hxx>
#include <unotools/useroptions.hxx>
...
@@ -161,7 +162,7 @@ SfxPickList::PickListEntry* SfxPickList::GetPickListEntry( sal_uInt32 nIndex )
...
@@ -161,7 +162,7 @@ SfxPickList::PickListEntry* SfxPickList::GetPickListEntry( sal_uInt32 nIndex )
void
SfxPickList
::
AddDocumentToPickList
(
SfxObjectShell
*
pDocSh
)
void
SfxPickList
::
AddDocumentToPickList
(
SfxObjectShell
*
pDocSh
)
{
{
if
(
pDocSh
->
IsAvoidRecentDocs
())
if
(
pDocSh
->
IsAvoidRecentDocs
()
||
comphelper
::
LibreOfficeKit
::
isActive
()
)
return
;
return
;
SfxMedium
*
pMed
=
pDocSh
->
GetMedium
();
SfxMedium
*
pMed
=
pDocSh
->
GetMedium
();
...
@@ -196,10 +197,9 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
...
@@ -196,10 +197,9 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
if
(
pFilter
)
if
(
pFilter
)
aFilter
=
pFilter
->
GetFilterName
();
aFilter
=
pFilter
->
GetFilterName
();
// generate a thumbnail
boost
::
optional
<
OUString
>
aThumbnail
;
boost
::
optional
<
OUString
>
aThumbnail
;
// don't generate thumbnail when in headless mode, or on non-desktop (?)
#if HAVE_FEATURE_DESKTOP
// generate the thumbnail
if
(
!
pDocSh
->
IsModified
()
&&
!
Application
::
IsHeadlessModeEnabled
())
if
(
!
pDocSh
->
IsModified
()
&&
!
Application
::
IsHeadlessModeEnabled
())
{
{
// not modified => the document matches what is in the shell
// not modified => the document matches what is in the shell
...
@@ -227,7 +227,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
...
@@ -227,7 +227,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
}
}
}
}
}
}
#endif
// add to svtool history options
// add to svtool history options
SvtHistoryOptions
().
AppendItem
(
ePICKLIST
,
SvtHistoryOptions
().
AppendItem
(
ePICKLIST
,
aURL
.
GetURLNoPass
(
INetURLObject
::
NO_DECODE
),
aURL
.
GetURLNoPass
(
INetURLObject
::
NO_DECODE
),
...
...
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