sw/source/core/unocore/unorefmk.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f7a226952ddd335d670f1a3766b2b87eb1572375 Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Mar 25 23:43:49 2013 +0100 coverity#704364 Logically dead code Change-Id: Ic02afc5db3fd661dfc462f7528cffcfa07fe6e04 diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 52e34cd..5dccc53 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -1017,7 +1017,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException) } SwDoc * const pDoc( - pRange ? pRange->GetDoc() : pCursor ? pCursor->GetDoc() : 0 ); + pRange ? pRange->GetDoc() : pCursor->GetDoc()); if (!pDoc) { throw lang::IllegalArgumentException( _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits