diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:59 +0200 |
commit | e7b4225fc8dbc8482150163b0e0c26f1fc3a7449 (patch) | |
tree | 2ceaec08f8cb37edbaa9e58ddba686845c142c79 /xmlhelp/source/treeview | |
parent | ced1ffc2d91e0eeac14fedb94f7f31532d3e8f22 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4e24ee646763e758a404bf0832e31e5cebc9d71d
Diffstat (limited to 'xmlhelp/source/treeview')
-rw-r--r-- | xmlhelp/source/treeview/tvfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx index e76fcfeb4a25..81881f828ca2 100644 --- a/xmlhelp/source/treeview/tvfactory.cxx +++ b/xmlhelp/source/treeview/tvfactory.cxx @@ -171,7 +171,7 @@ Reference< XInterface > SAL_CALL TVFactory::CreateInstance( const Reference< XMultiServiceFactory >& xMultiServiceFactory ) { - XServiceInfo* xP = (XServiceInfo*) new TVFactory( comphelper::getComponentContext(xMultiServiceFactory) ); + XServiceInfo* xP = static_cast<XServiceInfo*>(new TVFactory( comphelper::getComponentContext(xMultiServiceFactory) )); return Reference< XInterface >::query( xP ); } |