summaryrefslogtreecommitdiff
path: root/sfx2/qa/cppunit/test_misc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/qa/cppunit/test_misc.cxx')
-rw-r--r--sfx2/qa/cppunit/test_misc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx
index 4f4920185e0d..c86eca8262a2 100644
--- a/sfx2/qa/cppunit/test_misc.cxx
+++ b/sfx2/qa/cppunit/test_misc.cxx
@@ -181,6 +181,7 @@ void MiscTest::testHardLinks()
xStorable->store();
struct stat buf;
+ // coverity[toctou] - this is legitimate in the context of this text
int nRet = stat(aOld.getStr(), &buf);
CPPUNIT_ASSERT_EQUAL(0, nRet);
// This failed: hard link count was 1, the hard link broke on store.