summaryrefslogtreecommitdiffstats
path: root/src/rtf2html/rtf_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtf2html/rtf_table.cpp')
-rw-r--r--src/rtf2html/rtf_table.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/rtf2html/rtf_table.cpp b/src/rtf2html/rtf_table.cpp
index b5cdf7b..9126844 100644
--- a/src/rtf2html/rtf_table.cpp
+++ b/src/rtf2html/rtf_table.cpp
@@ -106,8 +106,9 @@ std::string table::make()
cell_def_2=
std::find_if((*span_row)->CellDefs->begin(),
(*span_row)->CellDefs->end(),
- std::bind2nd(
- std::mem_fun(&table_cell_def::right_equals),
+ std::bind(
+ std::mem_fn(&table_cell_def::right_equals),
+ std::placeholders::_1,
(*cell_def)->Right));
if (cell_def_2==(*span_row)->CellDefs->end())
break;
@@ -157,8 +158,9 @@ std::string table::make()
cell_def_2=
std::find_if((*row2)->CellDefs->begin(),
(*row2)->CellDefs->end(),
- std::bind2nd(
- std::mem_fun(&table_cell_def::right_equals),
+ std::bind(
+ std::mem_fn(&table_cell_def::right_equals),
+ std::placeholders::_1,
left));
if (cell_def_2!=(*row2)->CellDefs->end())
{
@@ -167,8 +169,9 @@ std::string table::make()
cell_def_2=
std::find_if((*row2)->CellDefs->begin(),
(*row2)->CellDefs->end(),
- std::bind2nd(
- std::mem_fun(&table_cell_def::left_equals),
+ std::bind(
+ std::mem_fn(&table_cell_def::left_equals),
+ std::placeholders::_1,
right));
if (cell_def_2!=(*row2)->CellDefs->end())
{