diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-24 23:10:57 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-25 03:20:47 +0100 |
commit | c63ff2a769f4601f67ffd13cb36df63c70fdd601 (patch) | |
tree | d10b44d679def800c543edf95342b47bcfd7916f /sc | |
parent | 7a66f9491cd9f07d365c5f8b6b49f6e200e2f9ff (diff) |
xPoolHelper is empty in a clipboard doc
Found by the crashreporter:
http://crashreport.libreoffice.org/stats/signature/ScDocument::IsClipboardSource()
Change-Id: I3fb030921b653396deb46a9e98d30d5df9c9ce15
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 5f3ae62f5407..9df69da20860 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -2515,7 +2515,7 @@ void ScDocument::SetClipParam(const ScClipParam& rParam) bool ScDocument::IsClipboardSource() const { ScDocument* pClipDoc = ScModule::GetClipDoc(); - return pClipDoc && pClipDoc->xPoolHelper.is() && + return xPoolHelper.is() && pClipDoc && pClipDoc->xPoolHelper.is() && xPoolHelper->GetDocPool() == pClipDoc->xPoolHelper->GetDocPool(); } |