diff options
Diffstat (limited to 'forms/source/richtext/richtextcontrol.hxx')
-rw-r--r-- | forms/source/richtext/richtextcontrol.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index e19d68b08d8e..c48fa618da62 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -86,10 +86,8 @@ namespace frm public: /** factory method - @return - a new ORichTextPeer instance, which has been acquired once! */ - static ORichTextPeer* Create( + static rtl::Reference<ORichTextPeer> Create( const css::uno::Reference< css::awt::XControlModel >& _rxModel, vcl::Window* _pParentWindow, WinBits _nStyle |