diff options
author | Pierre Sauter <pierre.sauter@stwm.de> | 2015-12-01 17:28:48 +0000 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-12-07 13:07:32 +0000 |
commit | 1a032dcfebc2702f0612c470d6b9c3e3cf4fb637 (patch) | |
tree | f4c8996b73d19ff95fa77e71cd32b71ecd186379 /sfx2/source/control/recentdocsview.cxx | |
parent | 0abfcb735e60757ee64aa6d0fbb1b601c29813f3 (diff) |
tdf#74834 Expert Configuration option to disable thumbnails in StartCenter
If Office::Common::History::RecentDocsThumbnail is set to false, no new thumbnails
will be created and stored to registrymodifications.xcu. Existing thumbnails in
registrymodifications.xcu or the documents will not be read and displayed.
Change-Id: If9527aa0d336a6b77b4c9bb0cc09143ffa1725d8
Reviewed-on: https://gerrit.libreoffice.org/20338
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2/source/control/recentdocsview.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index e4f59320ba33..55f1c07fcbad 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -182,7 +182,8 @@ void RecentDocsView::Reload() a >>= aURL; else if (rRecentEntry[j].Name == "Title") a >>= aTitle; - else if (rRecentEntry[j].Name == "Thumbnail") + //fdo#74834: only load thumbnail if the corresponding option is not disabled in the configuration + else if (rRecentEntry[j].Name == "Thumbnail" && officecfg::Office::Common::History::RecentDocsThumbnail::get()) { OUString aBase64; a >>= aBase64; |