summaryrefslogtreecommitdiffstats
path: root/starmath
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 /starmath
parentloplugin:privatebase: Make derivation from OBaseMutex explicitly private (diff)
downloadcore-608dee4f5fbf10ba4c0f8c971f4f93b23be006fa.tar.gz
core-608dee4f5fbf10ba4c0f8c971f4f93b23be006fa.zip
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 'starmath')
-rw-r--r--starmath/inc/smmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index 4a53375063f3..57158a4b06a5 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -85,7 +85,7 @@ public:
static const OUString GetExportSymbolSetName( const OUString &rUiName );
};
-class SmModule : public SfxModule, utl::ConfigurationListener
+class SmModule : public SfxModule, public utl::ConfigurationListener
{
std::unique_ptr<svtools::ColorConfig> mpColorConfig;
std::unique_ptr<SmMathConfig> mpConfig;