summaryrefslogtreecommitdiff
path: root/sc/inc/typedstrdata.hxx
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/inc/typedstrdata.hxx
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/inc/typedstrdata.hxx')
-rw-r--r--sc/inc/typedstrdata.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/typedstrdata.hxx b/sc/inc/typedstrdata.hxx
index 42dcd609c079..523c8e7bc3d6 100644
--- a/sc/inc/typedstrdata.hxx
+++ b/sc/inc/typedstrdata.hxx
@@ -67,7 +67,7 @@ private:
bool mbIsDate;
};
-class FindTypedStrData : std::unary_function<ScTypedStrData, bool>
+class FindTypedStrData : public std::unary_function<ScTypedStrData, bool>
{
ScTypedStrData maVal;
bool mbCaseSens;