diff options
Diffstat (limited to 'forms/source/solar/component/navbarcontrol.hxx')
-rw-r--r-- | forms/source/solar/component/navbarcontrol.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index 22ebb3046b2b..4f2463e652e5 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -78,10 +78,8 @@ namespace frm { public: /** factory method - @return - a new ONavigationBarPeer instance, which has been acquired once! */ - static ONavigationBarPeer* Create( + static rtl::Reference<ONavigationBarPeer> Create( const css::uno::Reference< css::uno::XComponentContext >& _rxORB, vcl::Window* _pParentWindow, const css::uno::Reference< css::awt::XControlModel >& _rxModel |