diff options
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 2 | ||||
-rw-r--r-- | vcl/generic/print/prtsetup.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index 689d9315762f..5e0b7a788b95 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -144,7 +144,7 @@ namespace int QueryFaxNumber(OUString& rNumber) { OUString aTmpString(VclResId(SV_PRINT_QUERYFAXNUMBER_TXT)); - ScopedVclPtr<QueryString> aQuery(new QueryString(NULL, aTmpString, rNumber)); + ScopedVclPtrInstance< QueryString > aQuery( nullptr, aTmpString, rNumber ); return aQuery->Execute(); } } diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx index 3d34bb1fcdee..b44678700f28 100644 --- a/vcl/generic/print/prtsetup.cxx +++ b/vcl/generic/print/prtsetup.cxx @@ -502,7 +502,7 @@ void RTSDevicePage::FillValueBox( const PPDKey* pKey ) int SetupPrinterDriver(::psp::PrinterInfo& rJobData) { int nRet = 0; - ScopedVclPtr<RTSDialog> aDialog(new RTSDialog( rJobData, NULL ) ); + ScopedVclPtrInstance< RTSDialog > aDialog( rJobData, nullptr ); if( aDialog->Execute() ) { |