From 135c63c8f9cc363c0895542b0f3bed48b61ea836 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 4 May 2012 15:51:56 +0200 Subject: fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382 --- sax/source/expatwrap/saxwriter.cxx | 2 +- sax/test/sax/testsax.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sax') diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index e80b8bda7a92..287e2f7458e1 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -978,7 +978,7 @@ Reference < XInterface > SAL_CALL SaxWriter_CreateInstance( throw (Exception) { SAXWriter *p = new SAXWriter; - return Reference< XInterface > ( SAL_STATIC_CAST(OWeakObject *, p ) ); + return Reference< XInterface > ( (static_cast< OWeakObject * >(p)) ); } OUString SaxWriter_getServiceName() throw() 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)) ); } -- cgit