summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-05 10:44:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-05 13:54:56 +0100
commit2326619cba28dcbe54063baffd6094f037230c88 (patch)
treefbad33c979c9d85acec2756107897ceaa5068b70 /dbaccess/source/ui/querydesign
parentbf720502e1ec1509053dc5998cd322e6d0cae234 (diff)
Replace deprecated std::mem_fun et al in dbaccess
(as std::mem_fun is gone by default at least from recent libc++ in C++17 mode) Change-Id: I98fabd88212001ac6f2cfe66f2c75a41a4cb4a3e Reviewed-on: https://gerrit.libreoffice.org/45860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 5fc7ee8cf995..8923a644bf21 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -1158,7 +1158,7 @@ void OJoinTableView::Command(const CommandEvent& rEvt)
if (rSelConnection)
{
const std::vector<OConnectionLine*>& rLines = rSelConnection->GetConnLineList();
- std::vector<OConnectionLine*>::const_iterator aIter = std::find_if(rLines.begin(), rLines.end(),std::mem_fun(&OConnectionLine::IsValid));
+ std::vector<OConnectionLine*>::const_iterator aIter = std::find_if(rLines.begin(), rLines.end(),std::mem_fn(&OConnectionLine::IsValid));
if( aIter != rLines.end() )
executePopup((*aIter)->getMidPoint(), rSelConnection);
}