diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 12:31:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:34:58 +0100 |
commit | e99047fe3bbcc28b651bcb38d0db0800bb8e57d6 (patch) | |
tree | da2dc4060386167f6ca90761976e68d136e3ab5f /svx | |
parent | 0a5ab8502a8dcba1bdc1faa6972df2d9d01a4f1f (diff) |
loplugin:subtlezeroinit: svx
Change-Id: I41b2379e42710f908ab0b4531a52cfbff980725e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/charmapacc.cxx | 6 | ||||
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx | 2 | ||||
-rw-r--r-- | svx/source/engine3d/float3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdomedia.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tabledesign.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index 7d79b0a60349..6d80e21f4463 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -41,7 +41,7 @@ namespace svx using namespace ::com::sun::star::accessibility; -SvxShowCharSetVirtualAcc::SvxShowCharSetVirtualAcc( SvxShowCharSet* pParent ) : OAccessibleComponentHelper(new VCLExternalSolarLock()) +SvxShowCharSetVirtualAcc::SvxShowCharSetVirtualAcc( SvxShowCharSet* pParent ) : OAccessibleComponentHelper(new VCLExternalSolarLock) ,mpParent( pParent ) { osl_atomic_increment(&m_refCount); @@ -254,7 +254,7 @@ uno::Reference< css::accessibility::XAccessible > SvxShowCharSetItem::GetAccessi -SvxShowCharSetAcc::SvxShowCharSetAcc( SvxShowCharSetVirtualAcc* _pParent ) : OAccessibleSelectionHelper(new VCLExternalSolarLock()) +SvxShowCharSetAcc::SvxShowCharSetAcc( SvxShowCharSetVirtualAcc* _pParent ) : OAccessibleSelectionHelper(new VCLExternalSolarLock) ,m_pParent( _pParent ) { osl_atomic_increment(&m_refCount); @@ -560,7 +560,7 @@ sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleColumn( sal_Int32 nChildIndex } -SvxShowCharSetItemAcc::SvxShowCharSetItemAcc( SvxShowCharSetItem* pParent ) : OAccessibleComponentHelper(new VCLExternalSolarLock()) +SvxShowCharSetItemAcc::SvxShowCharSetItemAcc( SvxShowCharSetItem* pParent ) : OAccessibleComponentHelper(new VCLExternalSolarLock) ,mpParent( pParent ) { OSL_ENSURE(pParent,"NO parent supplied!"); diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx index d8d5758383e0..45f1d786f3d3 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx @@ -1090,7 +1090,7 @@ private: const ParserContextSharedPtr& getParserContext() { - static ParserContextSharedPtr lcl_parserContext( new ParserContext() ); + static ParserContextSharedPtr lcl_parserContext( new ParserContext ); // clear node stack (since we reuse the static object, that's // the whole point here) diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index 8159a9cb8884..ad1a163a5e5d 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -97,7 +97,7 @@ Svx3DWin::Svx3DWin(SfxBindings* pInBindings, SfxChildWindow *pCW, vcl::Window* p , pControllerItem(nullptr) , pConvertTo3DItem(nullptr) , pConvertTo3DLatheItem(nullptr) - , mpImpl(new Svx3DWinImpl()) + , mpImpl(new Svx3DWinImpl) , ePoolUnit(MapUnit::MapMM) , mpRemember2DAttributes(nullptr) { diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index 3ed8fb19b115..993ebd93b213 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -78,13 +78,13 @@ struct SdrMediaObj::Impl SdrMediaObj::SdrMediaObj() : SdrRectObj() - , m_xImpl( new Impl() ) + , m_xImpl( new Impl ) { } SdrMediaObj::SdrMediaObj( const Rectangle& rRect ) : SdrRectObj( rRect ) - , m_xImpl( new Impl() ) + , m_xImpl( new Impl ) { } diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index ab837d68ca82..31afe88eb2fe 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -737,7 +737,7 @@ void TableDesignFamily::removeVetoableChangeListener( const OUString& , const Re Reference< XNameAccess > CreateTableDesignFamily() { - return new TableDesignFamily(); + return new TableDesignFamily; } } } |