path: root/sal
diff options
authorJochen Nitschke <>2017-07-02 17:10:53 +0200
committerNoel Grandin <>2017-07-07 08:31:48 +0200
commitdb4741043d09437af871fa8ea9849ec37e946f9b (patch)
tree3ed043060e283bc6b3b386bacc4a6ff84e42f3ab /sal
parent307e528275cb91776e8f5560b3137c3c1649b39c (diff)
C++11 remove std::binary_function bases from functors
std::binary_function is deprecated since C++11 and removed in C++17 90% done with regexp magic. removed obsolete <functional> includes. The std::binary_function base class was used by deprecated std::bind2nd, this was solved in individual commits. The members first_argument_type and second_argument_type were used in chart2/source/controller/dialogs/DataBrowserModel.cxx: DataBrowserModel::implColumnLess and are inlined in this commit. Change-Id: I60ded60a8d4afd59e15ac15a58e18d2498c9be5a Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
Diffstat (limited to 'sal')
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx
index 23c08a197040..73d1079c2bb8 100644
--- a/sal/osl/w32/procimpl.cxx
+++ b/sal/osl/w32/procimpl.cxx
@@ -64,8 +64,7 @@ namespace /* private */
The comparison is in upper case and returns true
if the first of both strings is less than the
second one. */
- struct less_environment_variable :
- public std::binary_function<rtl::OUString, rtl::OUString, bool>
+ struct less_environment_variable
bool operator() (const rtl::OUString& lhs, const rtl::OUString& rhs) const