diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 12:56:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:17:08 +0100 |
commit | 00c62e306f4fd866f04a496a28c15d317ba02222 (patch) | |
tree | 7721f038bda5655f40b53da34c01459f37c9c326 /sc/source/ui/view | |
parent | 9ff5abf2e17e1f482a608c8c4a76b563fe8fe7e3 (diff) |
loplugin:privatebase: Publicly derive from binary_/unary_function
Somewhat arbitrarily prefer public over private derivation; ultimately,
derivation from those deprecated (C++11)/removed (C++17) classes should be
removed, anyway.
Change-Id: I5ed24427d37586e72f8c16509cf5002a54af73f1
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/drawvie4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx index b28a9a17b707..9264b857a4e9 100644 --- a/sc/source/ui/view/drawvie4.cxx +++ b/sc/source/ui/view/drawvie4.cxx @@ -287,7 +287,7 @@ void getChartSourceRanges(ScDocument* pDoc, const SdrMarkList& rObjs, std::vecto } } -class InsertTabIndex : std::unary_function<ScRange, void> +class InsertTabIndex : public std::unary_function<ScRange, void> { std::vector<SCTAB>& mrTabs; public: @@ -298,7 +298,7 @@ public: } }; -class CopyRangeData : std::unary_function<ScRange, void> +class CopyRangeData : public std::unary_function<ScRange, void> { ScDocument* mpSrc; ScDocument* mpDest; |