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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/ui/view/DocumentRenderer.cxx | 2 |
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) |