summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-11 13:11:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-11 13:17:10 +0100
commit608dee4f5fbf10ba4c0f8c971f4f93b23be006fa (patch)
tree679796899e6d36e5d6803a02696456d8dc1e1c4a /svx
parent549810971af09e18daca9fdaee8b095e71cd389b (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.hxx2
-rw-r--r--svx/source/inc/GraphCtlAccessibleContext.hxx2
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;