summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-25 23:43:49 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-25 23:43:59 +0100
commitf7a226952ddd335d670f1a3766b2b87eb1572375 (patch)
tree584a1b69b1afed0c936ed8099e73e73d3af14dc9 /sw
parentb5d30295cbfc2a0131942cd7706c65d08ebe8930 (diff)
coverity#704364 Logically dead code
Change-Id: Ic02afc5db3fd661dfc462f7528cffcfa07fe6e04
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unorefmk.cxx2
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(