diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-02 10:07:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-02 10:07:19 +0100 |
commit | b004bf7f54b31f1b2eab01ed8b21a2c605be55d4 (patch) | |
tree | 64faf0b9b2629454988ec8af8c160ed1a7f74bb9 /sal/qa/osl/pipe | |
parent | e2299dccfd1c881b9fc058f51154ff5ef3f51ac4 (diff) |
Fix CppunitTest_sal_osl_pipe
Change-Id: I8b092d7e5132e2462b7fe9981f81a41543ca8694
Diffstat (limited to 'sal/qa/osl/pipe')
-rw-r--r-- | sal/qa/osl/pipe/osl_Pipe.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx index 2ef7e69a1449..9f1ae6e3db4b 100644 --- a/sal/qa/osl/pipe/osl_Pipe.cxx +++ b/sal/qa/osl/pipe/osl_Pipe.cxx @@ -190,6 +190,7 @@ namespace osl_Pipe { /// create a pipe. ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); + osl_acquirePipe(aPipe.getHandle()); /// constructs a pipe reference without acquiring the handle. ::osl::Pipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE ); @@ -697,6 +698,7 @@ namespace osl_StreamPipe { // create a pipe. ::osl::StreamPipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); + osl_acquirePipe(aPipe.getHandle()); // constructs a pipe reference without acquiring the handle. ::osl::StreamPipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE ); |