summaryrefslogtreecommitdiff
path: root/sd/source
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 /sd/source
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 'sd/source')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 2df074ed1db5..679e40713de5 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -330,7 +330,7 @@ namespace {
/** Read the resource file and process it into a sequence of properties
that can be passed to the printing dialog.
*/
- class DialogCreator : Resource
+ class DialogCreator : public Resource
{
public:
DialogCreator (bool bImpress, sal_Int32 nCurPage)