summaryrefslogtreecommitdiff
path: root/sc/inc
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 /sc/inc
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 'sc/inc')
-rw-r--r--sc/inc/chart2uno.hxx6
-rw-r--r--sc/inc/externalrefmgr.hxx2
-rw-r--r--sc/inc/scmod.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 9742908e8286..44df1e7037fc 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -62,7 +62,7 @@ class ScChart2DataProvider : public
css::chart2::data::XRangeXMLConversion,
css::beans::XPropertySet,
css::lang::XServiceInfo>,
- SfxListener
+ public SfxListener
{
public:
@@ -188,7 +188,7 @@ class ScChart2DataSource : public
::cppu::WeakImplHelper<
css::chart2::data::XDataSource,
css::lang::XServiceInfo>,
- SfxListener
+ public SfxListener
{
public:
@@ -235,7 +235,7 @@ class ScChart2DataSequence : public
css::util::XModifyBroadcaster,
css::beans::XPropertySet,
css::lang::XServiceInfo>,
- SfxListener,
+ public SfxListener,
private boost::noncopyable
{
public:
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index cb8a1b296a2d..a80a56ae69f5 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -358,7 +358,7 @@ private:
mutable DocDataType maDocs;
};
-class SC_DLLPUBLIC ScExternalRefManager : public formula::ExternalReferenceHelper, SfxListener
+class SC_DLLPUBLIC ScExternalRefManager : public formula::ExternalReferenceHelper, public SfxListener
{
public:
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index ec935631a256..285a3feee9de 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -79,7 +79,7 @@ struct ScClipData;
#define SC_DROP_NAVIGATOR 1
#define SC_DROP_TABLE 2
-class ScModule: public SfxModule, public SfxListener, utl::ConfigurationListener
+class ScModule: public SfxModule, public SfxListener, public utl::ConfigurationListener
{
Timer aIdleTimer;
Idle aSpellIdle;