From 7cb07a7a7cb2b05be3f698daccf8bfaef427a728 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 9 Aug 2018 13:23:37 +0200 Subject: Improve wording of comment ...as discussed on #libreoffice-dev Change-Id: I5314bdcaf0e023db615c68785b76f4ee6144b079 Reviewed-on: https://gerrit.libreoffice.org/58758 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sfx2/qa/cppunit/test_misc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx index 88764a63f842..7162dfc58581 100644 --- a/sfx2/qa/cppunit/test_misc.cxx +++ b/sfx2/qa/cppunit/test_misc.cxx @@ -140,8 +140,8 @@ void MiscTest::testNoThumbnail() osl::FileStatus aStatus(osl_FileStatus_Mask_Attributes); CPPUNIT_ASSERT_EQUAL(osl::DirectoryItem::E_None, aItem.getFileStatus(aStatus)); - // This failed, osl_File_Attribute_GrpRead was not set even if umask - // requested so. + // The following checks used to fail in the past, osl_File_Attribute_GrpRead was not set even if + // umask requested so: CPPUNIT_ASSERT(aStatus.getAttributes() & osl_File_Attribute_GrpRead); CPPUNIT_ASSERT(aStatus.getAttributes() & osl_File_Attribute_OthRead); umask(nMask); -- cgit ue='distro/capgemini/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-04-17New loplugin:selfinitStephan Bergmann