diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-29 17:01:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-29 18:37:50 +0200 |
commit | 1467751fd825218a44c735642d5fcb82e661ea4e (patch) | |
tree | 0de56dcfd270a32def19d2c736c7d9015e55dc77 /drawinglayer/source | |
parent | 27f58d539d2e322f5a1c68e406abfea783be3e6a (diff) |
toolkit: std::auto_ptr -> std::unique_ptr
Change-Id: I4566a0b7215b729f04591bed0ad5bed42f71f227
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 |
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()) { |