sc/qa/unit/subsequent_export-test.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d03308ad9520d97d948e1143a59f0c259f18ba36
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Feb 9 16:25:15 2021 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Feb 9 17:52:16 2021 +0100

    loplugin:cppunitassertequals (clang-cl)
    
    Change-Id: I9ab5d2047f9a13fb919c31ca66a0020feac08701
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110644
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to