summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 11:26:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:34:56 +0100
commit18e07fd7d98d157af922dc64070e7c57f7dc9802 (patch)
treed4f3abb676f18be2b80c3358807a249daf82f53a /vcl/headless
parent4f502dd5700f29ce8fe0c1e6a9de337a9ebe3216 (diff)
loplugin:subtlezeroinit: vcl
Change-Id: I041390c7cea1e246f07e799ee2430c16e86723d8
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx
index ac6cfdd26cab..ec5450a87c61 100644
--- a/vcl/headless/svpprn.cxx
+++ b/vcl/headless/svpprn.cxx
@@ -160,7 +160,7 @@ SalInfoPrinter* SvpSalInstance::CreateInfoPrinter( SalPrinterQueueInfo* pQueueIn
ImplJobSetup* pJobSetup )
{
// create and initialize SalInfoPrinter
- SvpSalInfoPrinter* pPrinter = new SvpSalInfoPrinter();
+ SvpSalInfoPrinter* pPrinter = new SvpSalInfoPrinter;
if( pJobSetup )
{