diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 11:26:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:34:56 +0100 |
commit | 18e07fd7d98d157af922dc64070e7c57f7dc9802 (patch) | |
tree | d4f3abb676f18be2b80c3358807a249daf82f53a /vcl/source/gdi/print.cxx | |
parent | 4f502dd5700f29ce8fe0c1e6a9de337a9ebe3216 (diff) |
loplugin:subtlezeroinit: vcl
Change-Id: I041390c7cea1e246f07e799ee2430c16e86723d8
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index d20345e30e5a..825f2cdff913 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1497,7 +1497,7 @@ OUString Printer::GetPaperName( Paper ePaper ) ImplSVData* pSVData = ImplGetSVData(); if( ! pSVData->mpPaperNames ) { - pSVData->mpPaperNames = new std::unordered_map< int, OUString >(); + pSVData->mpPaperNames = new std::unordered_map< int, OUString >; if( ImplGetResMgr() ) { ResStringArray aPaperStrings( VclResId( RID_STR_PAPERNAMES ) ); |