summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen7.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-11 12:56:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-11 13:17:08 +0100
commit00c62e306f4fd866f04a496a28c15d317ba02222 (patch)
tree7721f038bda5655f40b53da34c01459f37c9c326 /sc/source/core/data/documen7.cxx
parent9ff5abf2e17e1f482a608c8c4a76b563fe8fe7e3 (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/core/data/documen7.cxx')
-rw-r--r--sc/source/core/data/documen7.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index eedb0e1ae499..82afce2aeb27 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -169,7 +169,7 @@ void ScDocument::BroadcastCells( const ScRange& rRange, sal_uInt32 nHint, bool b
namespace {
-class RefMovedNotifier : std::unary_function<SvtListener*, void>
+class RefMovedNotifier : public std::unary_function<SvtListener*, void>
{
const sc::RefMovedHint& mrHint;
public: