diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:11:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:17:10 +0100 |
commit | 608dee4f5fbf10ba4c0f8c971f4f93b23be006fa (patch) | |
tree | 679796899e6d36e5d6803a02696456d8dc1e1c4a /svx | |
parent | 549810971af09e18daca9fdaee8b095e71cd389b (diff) |
loplugin:privatebase: Make various derivations public
...assuming they were implicitly made private by accident rather than by design.
(And private derivation can cause unexpected failure of dynamic_cast, cf.
63b67ab5cab8cf7576a68cabe5fb1a42c6ad800c "Use public derivation, and remove
then-unnecessary downcasts.")
Change-Id: Id821afba34fd2f155e30fac903567707e46d1fde
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws1.hxx | 2 | ||||
-rw-r--r-- | svx/source/inc/GraphCtlAccessibleContext.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx index f5f77f3a5356..3ebce43f4fef 100644 --- a/svx/source/gallery2/galbrws1.hxx +++ b/svx/source/gallery2/galbrws1.hxx @@ -70,7 +70,7 @@ class SfxItemSet; namespace svx { namespace sidebar { class GalleryControl; } } -class GalleryBrowser1 : public Control, SfxListener +class GalleryBrowser1 : public Control, public SfxListener { friend class GalleryBrowser; friend class svx::sidebar::GalleryControl; diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx index 406ff19b8065..bb9027b854e1 100644 --- a/svx/source/inc/GraphCtlAccessibleContext.hxx +++ b/svx/source/inc/GraphCtlAccessibleContext.hxx @@ -79,7 +79,7 @@ typedef ::cppu::WeakAggComponentImplHelper7< class SvxGraphCtrlAccessibleContext: private comphelper::OBaseMutex, public SvxGraphCtrlAccessibleContext_Base, - SfxListener, accessibility::IAccessibleViewForwarder + public SfxListener, public accessibility::IAccessibleViewForwarder { public: friend class GraphCtrl; |