summaryrefslogtreecommitdiff
path: root/sw/qa/extras/odfexport
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-13 21:34:08 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-16 16:38:44 +0000
commit7c5b0cde8c2301dd23320831e4a528d9da6f6a2b (patch)
treee8934679f0406c2ae06c1e6219bcae71d0aaf4db /sw/qa/extras/odfexport
parentf0ed219c8f8c5c46e6244cc1bc0bb097b515574a (diff)
cppcheck: fix duplicateExpression
(It seemed logical to me, hope I'm not wrong) Change-Id: I2c1ffbe69b90655b260a7ecb41ab089b60b27b85 Reviewed-on: https://gerrit.libreoffice.org/4279 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/qa/extras/odfexport')
-rw-r--r--sw/qa/extras/odfexport/odfexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 09c342a65bac..efbd931dcd6e 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -141,7 +141,7 @@ void Test::testFdo60769()
uno::Reference<beans::XPropertySet> xPropertySet(xRunEnum->nextElement(), uno::UNO_QUERY);
OUString aType = getProperty<OUString>(xPropertySet, "TextPortionType");
// Second paragraph: no field start
- CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd" || aType == "TextFieldEnd");
+ CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd");
}
}