diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-12-02 17:08:41 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-12-02 23:20:32 +0100 |
commit | 37892b97d00de29a86c735aaaff47c12e66e78ad (patch) | |
tree | 4b79fd444349769d9c5e93b5846894ac918520b8 /sw/inc | |
parent | d6c3a3116648415dd324b139ade99f5fb4e46379 (diff) |
sw: update previews of OLE objects on "update all"
Charts were already updated, it was not consistent that other embedded
objects are not updated.
This is especially useful if an ODT file is manipulated by a 3rd-party,
then loaded into Writer just to update the previews of OLE objects.
Change-Id: If61aa037739c593abade933dcdd5474ad566b3e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126253
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/viewsh.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 620412dfc227..54ad92ee5ae0 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -370,6 +370,10 @@ public: // All about fields. void UpdateFields(bool bCloseDB = false); bool IsAnyFieldInDoc() const; + + /// Update the previews of all OLE objects. + void UpdateOleObjectPreviews(); + // Update all charts, for that exists any table. void UpdateAllCharts(); bool HasCharts() const; |