diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:54 +0200 |
commit | ced1ffc2d91e0eeac14fedb94f7f31532d3e8f22 (patch) | |
tree | a1c565c5907dd2c46066dc596a39cc1309863bbf /writerperfect/source/impress | |
parent | f6ec07a3963a401dc736baa9bdd2ed3c7325bb66 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I72ba7c59cfcf0ec4e5e31067a260e82f8f604567
Diffstat (limited to 'writerperfect/source/impress')
-rw-r--r-- | writerperfect/source/impress/KeynoteImportFilter.cxx | 2 | ||||
-rw-r--r-- | writerperfect/source/impress/MWAWPresentationImportFilter.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index f4e2cba4fd04..bd51f1df69c5 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.cxx +++ b/writerperfect/source/impress/KeynoteImportFilter.cxx @@ -257,7 +257,7 @@ throw (RuntimeException) Reference< XInterface > SAL_CALL KeynoteImportFilter_createInstance(const Reference< XComponentContext > &rContext) throw(Exception) { - return (cppu::OWeakObject *) new KeynoteImportFilter(rContext); + return static_cast<cppu::OWeakObject *>(new KeynoteImportFilter(rContext)); } // XServiceInfo diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx index c93a9bcf7802..1abcaf6548a0 100644 --- a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx +++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx @@ -158,7 +158,7 @@ throw (RuntimeException) Reference< XInterface > SAL_CALL MWAWPresentationImportFilter_createInstance(const Reference< XComponentContext > &rContext) throw(Exception) { - return (cppu::OWeakObject *) new MWAWPresentationImportFilter(rContext); + return static_cast<cppu::OWeakObject *>(new MWAWPresentationImportFilter(rContext)); } // XServiceInfo |