diff options
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/saldata.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/saldata.hxx b/vcl/inc/unx/saldata.hxx index 6a7902dbf444..eed9619608ed 100644 --- a/vcl/inc/unx/saldata.hxx +++ b/vcl/inc/unx/saldata.hxx @@ -56,7 +56,7 @@ class VCLPLUG_GEN_PUBLIC X11SalData : public GenericUnixSalData XIOErrorHandler m_aOrigXIOErrorHandler; protected: - SalXLib *pXLib_; + std::unique_ptr<SalXLib> pXLib_; public: X11SalData( GenericUnixSalDataType t, SalInstance *pInstance ); @@ -70,7 +70,7 @@ public: void DeleteDisplay(); // for shutdown - SalXLib* GetLib() const { return pXLib_; } + SalXLib* GetLib() const { return pXLib_.get(); } static void Timeout(); |