summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:31:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:34:59 +0100
commit504d4620c612c6983d460e41f9a5ad4ed22962f0 (patch)
treedac7302c41795b92c78a9fb426359063d0dbed2d /sot
parentc5e7e3bad75b29e7678c3a6234dbfe0a60517dce (diff)
loplugin:subtlezeroinit: sot
Change-Id: Ibb99c0e1dce1dd3ae66161af010d071f1d46c75a
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/exchange.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}