summaryrefslogtreecommitdiffstats
path: root/io/source/stm/odata.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:54 +0200
commit950f7c31ea0ae8a724787f05f23d1fabe59a91b7 (patch)
tree00c063a7f1c643c039e1115be170ed7f3187186f /io/source/stm/odata.cxx
parentloplugin:cstylecast: deal with remaining pointer casts (diff)
downloadcore-950f7c31ea0ae8a724787f05f23d1fabe59a91b7.tar.gz
core-950f7c31ea0ae8a724787f05f23d1fabe59a91b7.zip
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ia282c33c70977e3c9e8f1c6fd86bee2fa6eca5c3
Diffstat (limited to 'io/source/stm/odata.cxx')
-rw-r--r--io/source/stm/odata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index a4b48c9ac71f..ca2bc78423fa 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -477,7 +477,7 @@ Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance(
throw( Exception)
{
ODataInputStream *p = new ODataInputStream;
- return Reference< XInterface > ( (OWeakObject * ) p );
+ return Reference< XInterface > ( static_cast<OWeakObject *>(p) );
}
OUString ODataInputStream_getImplementationName()