diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:54 +0200 |
commit | 950f7c31ea0ae8a724787f05f23d1fabe59a91b7 (patch) | |
tree | 00c063a7f1c643c039e1115be170ed7f3187186f /io/source/stm/omark.cxx | |
parent | 10bd50c25d485732cf274bec1e80a8500d91e071 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ia282c33c70977e3c9e8f1c6fd86bee2fa6eca5c3
Diffstat (limited to 'io/source/stm/omark.cxx')
-rw-r--r-- | io/source/stm/omark.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index c3d6f1e55e0c..9f1a5df600a1 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -451,7 +451,7 @@ Reference< XInterface > SAL_CALL OMarkableOutputStream_CreateInstance( { OMarkableOutputStream *p = new OMarkableOutputStream( ); - return Reference < XInterface > ( ( OWeakObject * ) p ); + return Reference < XInterface > ( static_cast<OWeakObject *>(p) ); } OUString OMarkableOutputStream_getImplementationName() @@ -966,7 +966,7 @@ Reference < XInterface > SAL_CALL OMarkableInputStream_CreateInstance( throw(Exception) { OMarkableInputStream *p = new OMarkableInputStream( ); - return Reference< XInterface > ( (OWeakObject * ) p ); + return Reference< XInterface > ( static_cast<OWeakObject *>(p) ); } OUString OMarkableInputStream_getImplementationName() |