summaryrefslogtreecommitdiff
path: root/io/test/stm/pipetest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/test/stm/pipetest.cxx')
-rw-r--r--io/test/stm/pipetest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx
index ebb89e69c117..c67ff9a86bf1 100644
--- a/io/test/stm/pipetest.cxx
+++ b/io/test/stm/pipetest.cxx
@@ -413,7 +413,7 @@ void OPipeTest::testMultithreading( const Reference < XInterface > &r )
Reference < XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMultiServiceFactory> & rSMgr ) throw (Exception)
{
OPipeTest *p = new OPipeTest( rSMgr );
- Reference< XInterface > x ( SAL_STATIC_CAST( OWeakObject * , p ) );
+ Reference< XInterface > x ( (static_cast< OWeakObject * >(p)) );
return x;
}