desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 29fbb2512c741bc34221b7d13b9958c832f0a3f7 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Wed Jul 24 04:21:42 2019 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Jul 24 05:18:45 2019 +0200 Redundant condition Change-Id: I1c67cde8401106a7e9d7ecd5fd3e0b4925ab47d4 Reviewed-on: https://gerrit.libreoffice.org/76212 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 5a908f2dd8f6..f9ed2bdc76a8 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2197,7 +2197,7 @@ static void doc_iniUnoCommands () SfxViewFrame* pViewFrame = pViewShell? pViewShell->GetViewFrame(): nullptr; // check if Frame-Controller were created. - if (!pViewShell && !pViewFrame) + if (!pViewFrame) { SAL_WARN("lok", "iniUnoCommands: No Frame-Controller created."); return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits