diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-13 15:26:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-15 11:55:28 +0000 |
commit | 74844277cc2194c9e43f5bd7a6f78a9603da32f3 (patch) | |
tree | 71fe0efd482ee745fb203481447ddbec44d4a769 /sc/inc | |
parent | f78ad80e5562567e8612269b8bed1283bafb6198 (diff) |
disable generation of ole previews in ODF format until after load
so the user update links dialog can control their generation
SdrEmbedObjectLink becomes exposed to calc so it can
detect if the link dialog needs to be used to update
ole links.
Change-Id: Id1dd7ea17342140eab9307d546528747e3a98090
Reviewed-on: https://gerrit.libreoffice.org/28879
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/documentlinkmgr.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx index 4553470af3e8..d5d801a4aeb2 100644 --- a/sc/inc/documentlinkmgr.hxx +++ b/sc/inc/documentlinkmgr.hxx @@ -55,14 +55,17 @@ public: bool idleCheckLinks(); bool hasDdeLinks() const; + bool hasDdeOrOleLinks() const; - bool updateDdeLinks( vcl::Window* pWin ); + bool updateDdeOrOleLinks(vcl::Window* pWin); void updateDdeLink( const OUString& rAppl, const OUString& rTopic, const OUString& rItem ); size_t getDdeLinkCount() const; void disconnectDdeLinks(); +private: + bool hasDdeOrOleLinks(bool bDde, bool bOle) const; }; } |