summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/UnoDocumentSettings.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
commit1234f96b963d3bc71736c29b455872447266f11c (patch)
tree1835cdc3334ab8865fa50249a1ac098a604ddf8d /sd/source/ui/unoidl/UnoDocumentSettings.cxx
parent4446cdf20b7b2ef8438058529aeee9b1e1f6549d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0c6d14f0762ae804b931472bc201826821572e3e
Diffstat (limited to 'sd/source/ui/unoidl/UnoDocumentSettings.cxx')
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index 2e00c231b758..e55be9d19a18 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -126,7 +126,7 @@ namespace sd
throw ()
{
DBG_ASSERT( pModel, "I need a model for the DocumentSettings!" );
- return (XWeak*)new DocumentSettings( pModel );
+ return static_cast<XWeak*>(new DocumentSettings( pModel ));
}
enum SdDocumentSettingsPropertyHandles