From 504d4620c612c6983d460e41f9a5ad4ed22962f0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 Feb 2017 12:31:59 +0100 Subject: loplugin:subtlezeroinit: sot Change-Id: Ibb99c0e1dce1dd3ae66161af010d071f1d46c75a --- sot/source/base/exchange.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sot') diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx index a03c34534e25..95b02b2b9f3a 100644 --- a/sot/source/base/exchange.cxx +++ b/sot/source/base/exchange.cxx @@ -242,7 +242,7 @@ static tDataFlavorList& InitFormats_Impl() { SotData_Impl *pSotData = &ImplData::get(); if( !pSotData->pDataFlavorList ) - pSotData->pDataFlavorList = new tDataFlavorList(); + pSotData->pDataFlavorList = new tDataFlavorList; return *pSotData->pDataFlavorList; } -- cgit