diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-25 23:43:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-25 23:43:59 +0100 |
commit | f7a226952ddd335d670f1a3766b2b87eb1572375 (patch) | |
tree | 584a1b69b1afed0c936ed8099e73e73d3af14dc9 /sw | |
parent | Fix warning: unknown log area 'sw.docx' [loplugin] (diff) | |
download | core-f7a226952ddd335d670f1a3766b2b87eb1572375.tar.gz core-f7a226952ddd335d670f1a3766b2b87eb1572375.zip |
coverity#704364 Logically dead code
Change-Id: Ic02afc5db3fd661dfc462f7528cffcfa07fe6e04
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unorefmk.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 52e34cd9afd0..5dccc5370596 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( |