summaryrefslogtreecommitdiff
path: root/forms/source/solar
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/solar')
-rw-r--r--forms/source/solar/component/navbarcontrol.hxx16
-rw-r--r--forms/source/solar/inc/navtoolbar.hxx4
2 files changed, 9 insertions, 11 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( )
diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx
index b8fb4f6030b7..47347b9dc087 100644
--- a/forms/source/solar/inc/navtoolbar.hxx
+++ b/forms/source/solar/inc/navtoolbar.hxx
@@ -36,7 +36,7 @@ namespace frm
class ImplNavToolBar;
- class NavigationToolBar : public vcl::Window
+ class NavigationToolBar final : public vcl::Window
{
public:
enum ImageSize
@@ -115,7 +115,7 @@ namespace frm
void SetTextLineColor( );
void SetTextLineColor( const Color& rColor );
- protected:
+ private:
// Window overridables
virtual void Resize() override;
virtual void StateChanged( StateChangedType nType ) override;