summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/XPropertyTable.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:40 +0200
commitbc2becdf1a12a1020584ee808c965e41f1837383 (patch)
tree9e49c55cf32ce8cbd5997a62f9be2250ced4669f /svx/source/unodraw/XPropertyTable.cxx
parent95f03f49940f88ebd49a02e1d133cf83259eef47 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I94b2fbbb00e9772b668128f31cf08115bdfb16b5
Diffstat (limited to 'svx/source/unodraw/XPropertyTable.cxx')
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index aac26c4a4ecc..cda985d819ce 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -262,7 +262,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXColorTable_createInstance( XPropertyList* pList ) throw()
{
- return (OWeakObject*) new SvxUnoXColorTable( pList );
+ return static_cast<OWeakObject*>(new SvxUnoXColorTable( pList ));
}
// SvxUnoXPropertyTable
@@ -324,7 +324,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXLineEndTable_createInstance( XPropertyList* pTable ) throw()
{
- return (OWeakObject*)new SvxUnoXLineEndTable( pTable );
+ return static_cast<OWeakObject*>(new SvxUnoXLineEndTable( pTable ));
}
// SvxUnoXPropertyTable
@@ -397,7 +397,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXDashTable_createInstance( XPropertyList* pTable ) throw()
{
- return (OWeakObject*)new SvxUnoXDashTable( pTable );
+ return static_cast<OWeakObject*>(new SvxUnoXDashTable( pTable ));
}
// SvxUnoXPropertyTable
@@ -478,7 +478,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXHatchTable_createInstance( XPropertyList* pTable ) throw()
{
- return (OWeakObject*)new SvxUnoXHatchTable( pTable );
+ return static_cast<OWeakObject*>(new SvxUnoXHatchTable( pTable ));
}
// SvxUnoXPropertyTable
@@ -554,7 +554,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXGradientTable_createInstance( XPropertyList* pTable ) throw()
{
- return (OWeakObject*)new SvxUnoXGradientTable( pTable );
+ return static_cast<OWeakObject*>(new SvxUnoXGradientTable( pTable ));
}
// SvxUnoXPropertyTable
@@ -642,7 +642,7 @@ public:
uno::Reference< uno::XInterface > SAL_CALL SvxUnoXBitmapTable_createInstance( XPropertyList* pTable ) throw()
{
- return (OWeakObject*)new SvxUnoXBitmapTable( pTable );
+ return static_cast<OWeakObject*>(new SvxUnoXBitmapTable( pTable ));
}
// SvxUnoXPropertyTable