summaryrefslogtreecommitdiff
path: root/sax/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-05-04 15:51:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-05-04 15:52:57 +0200
commit135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch)
tree5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /sax/test
parentc48fe716225b1b784d657685396b6cf5fee4fc3d (diff)
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'sax/test')
-rw-r--r--sax/test/sax/testsax.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/test/sax/testsax.cxx b/sax/test/sax/testsax.cxx
index aad3b9ed5f7c..dd2e5c38a496 100644
--- a/sax/test/sax/testsax.cxx
+++ b/sax/test/sax/testsax.cxx
@@ -112,7 +112,7 @@ private:
Reference < XInterface > SAL_CALL OSaxParserTest_CreateInstance( const Reference < XMultiServiceFactory > & rSMgr ) throw(Exception)
{
OSaxParserTest *p = new OSaxParserTest( rSMgr );
- return Reference < XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) );
+ return Reference < XInterface > ( (static_cast< OWeakObject * >(p)) );
}