summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-02-09 16:25:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-02-09 17:52:16 +0100
commitd03308ad9520d97d948e1143a59f0c259f18ba36 (patch)
treeacdd4fff970b2293d461738327e812931a8a95b5 /sc
parentea0d73e3e10bddda716e11b067d70fb2c9dba626 (diff)
loplugin:cppunitassertequals (clang-cl)
Change-Id: I9ab5d2047f9a13fb919c31ca66a0020feac08701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110644 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/subsequent_export-test.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 14f218aa5eaf..746eda5d3437 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -3462,7 +3462,11 @@ void ScExportTest::testRelativePathsODS()
sal_Unicode aDocDrive = lcl_getWindowsDrive(pTempFile->GetURL());
sal_Unicode aLinkDrive = lcl_getWindowsDrive(aURL);
CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
- aDocDrive != 0 && aLinkDrive != 0 && aDocDrive != aLinkDrive);
+ aDocDrive != 0);
+ CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
+ aLinkDrive != 0);
+ CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
+ aDocDrive != aLinkDrive);
return;
}
#endif