Kaydet (Commit) 7c5b0cde authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Michael Stahl

cppcheck: fix duplicateExpression

(It seemed logical to me, hope I'm not wrong)

Change-Id: I2c1ffbe69b90655b260a7ecb41ab089b60b27b85
Reviewed-on: https://gerrit.libreoffice.org/4279Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst f0ed219c
...@@ -141,7 +141,7 @@ void Test::testFdo60769() ...@@ -141,7 +141,7 @@ void Test::testFdo60769()
uno::Reference<beans::XPropertySet> xPropertySet(xRunEnum->nextElement(), uno::UNO_QUERY); uno::Reference<beans::XPropertySet> xPropertySet(xRunEnum->nextElement(), uno::UNO_QUERY);
OUString aType = getProperty<OUString>(xPropertySet, "TextPortionType"); OUString aType = getProperty<OUString>(xPropertySet, "TextPortionType");
// Second paragraph: no field start // Second paragraph: no field start
CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd" || aType == "TextFieldEnd"); CPPUNIT_ASSERT(aType == "Text" || aType == "TextFieldEnd");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment