summaryrefslogtreecommitdiff
path: root/forms/source/solar/component/navbarcontrol.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/solar/component/navbarcontrol.hxx')
-rw-r--r--forms/source/solar/component/navbarcontrol.hxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx
index 052cceedc8d7..bab88d1076a5 100644
--- a/forms/source/solar/component/navbarcontrol.hxx
+++ b/forms/source/solar/component/navbarcontrol.hxx
@@ -72,7 +72,7 @@ namespace frm
virtual void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) override;
};
- class ONavigationBarPeer
+ class ONavigationBarPeer final
:public VCLXWindow
,public OFormNavigationHelper
{
@@ -85,13 +85,6 @@ namespace frm
const css::uno::Reference< css::awt::XControlModel >& _rxModel
);
- protected:
- explicit ONavigationBarPeer(
- const css::uno::Reference< css::uno::XComponentContext >& _rxORB
- );
- virtual ~ONavigationBarPeer() override;
-
- public:
// XInterface
DECLARE_XINTERFACE( )
@@ -101,7 +94,12 @@ namespace frm
// XWindow2
using VCLXWindow::isEnabled;
- protected:
+ private:
+ explicit ONavigationBarPeer(
+ const css::uno::Reference< css::uno::XComponentContext >& _rxORB
+ );
+ virtual ~ONavigationBarPeer() override;
+
// XTypeProvider
DECLARE_XTYPEPROVIDER( )