sc/source/core/data/document.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 230fa66d96d632287bbf06f257c00105293ef1a6 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Wed Apr 24 13:40:03 2019 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Apr 24 13:41:45 2019 +0200 simplify condition (remove always true part) Change-Id: If846bb08ec6eceb307228bc628a4b186a3058051 Reviewed-on: https://gerrit.libreoffice.org/71230 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index d9cd4417f067..acc436a1b036 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -2570,8 +2570,7 @@ void ScDocument::SetClipParam(const ScClipParam& rParam) bool ScDocument::IsClipboardSource() const { - if (bIsClip || mpShell == nullptr || - (mpShell && mpShell->IsLoading())) + if (bIsClip || mpShell == nullptr || mpShell->IsLoading()) return false; ScDocument* pClipDoc = ScModule::GetClipDoc(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits