diff options
Diffstat (limited to 'include/svx/unoshtxt.hxx')
-rw-r--r-- | include/svx/unoshtxt.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/unoshtxt.hxx b/include/svx/unoshtxt.hxx index 50d8cf8e80ed..f9163141b9f9 100644 --- a/include/svx/unoshtxt.hxx +++ b/include/svx/unoshtxt.hxx @@ -52,7 +52,8 @@ public: The window is necessary, since our views can display on multiple windows */ SvxTextEditSource( SdrObject& rObj, SdrText* pText, SdrView& rView, const vcl::Window& rViewWindow ); - + SvxTextEditSource(const SvxTextEditSource&) = delete; + SvxTextEditSource& operator=(const SvxTextEditSource&) = delete; virtual ~SvxTextEditSource(); virtual SvxEditSource* Clone() const override; @@ -83,7 +84,7 @@ public: private: SVX_DLLPRIVATE SvxTextEditSource( SvxTextEditSourceImpl* pImpl ); - SvxTextEditSourceImpl* mpImpl; + rtl::Reference<SvxTextEditSourceImpl> mpImpl; }; #endif |