summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index d6e1e7a28923..bc72beae0fbd 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -901,8 +901,8 @@ namespace drawinglayer
// PDF export. Emulate data handling from UnoControlPDFExportContact
// I have now moved describePDFControl to toolkit, thus i can implement the PDF
// form control support now as follows
- ::std::auto_ptr< ::vcl::PDFWriter::AnyWidget > pPDFControl;
- ::toolkitform::describePDFControl( rXControl, pPDFControl, *mpPDFExtOutDevData );
+ ::std::unique_ptr< ::vcl::PDFWriter::AnyWidget > pPDFControl(
+ ::toolkitform::describePDFControl( rXControl, *mpPDFExtOutDevData ) );
if(pPDFControl.get())
{