summaryrefslogtreecommitdiff
path: root/include/vcl/oldprintadaptor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/oldprintadaptor.hxx')
-rw-r--r--include/vcl/oldprintadaptor.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/oldprintadaptor.hxx b/include/vcl/oldprintadaptor.hxx
index bd65f4d2ce27..9889a18b6870 100644
--- a/include/vcl/oldprintadaptor.hxx
+++ b/include/vcl/oldprintadaptor.hxx
@@ -27,7 +27,7 @@ namespace vcl
struct ImplOldStyleAdaptorData;
class VCL_DLLPUBLIC OldStylePrintAdaptor : public PrinterController
{
- ImplOldStyleAdaptorData* mpData;
+ std::unique_ptr<ImplOldStyleAdaptorData> mpData;
public:
OldStylePrintAdaptor( const VclPtr< Printer >& );
virtual ~OldStylePrintAdaptor() override;