summaryrefslogtreecommitdiff
path: root/editors/lyx/patches/patch-src_insets_InsetText.cpp
blob: 48cda63ea0d094341d853ea850ebb813e1eb6941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-src_insets_InsetText.cpp,v 1.1 2013/05/09 13:56:58 joerg Exp $

--- src/insets/InsetText.cpp.orig	2013-05-09 12:13:13.000000000 +0000
+++ src/insets/InsetText.cpp
@@ -62,7 +62,6 @@ using namespace std;
 using namespace lyx::support;
 
 using boost::bind;
-using boost::ref;
 
 namespace lyx {
 
@@ -353,7 +352,7 @@ int InsetText::docbook(odocstream & os, 
 void InsetText::validate(LaTeXFeatures & features) const
 {
 	for_each(paragraphs().begin(), paragraphs().end(),
-		 bind(&Paragraph::validate, _1, ref(features)));
+		 bind(&Paragraph::validate, _1, boost::ref(features)));
 }
 
 
@@ -435,7 +434,7 @@ void InsetText::appendParagraphs(Paragra
 		       distance(pl.begin(), ins) - 1);
 
 	for_each(pit, plist.end(),
-		 bind(&ParagraphList::push_back, ref(pl), _1));
+		 bind(&ParagraphList::push_back, boost::ref(pl), _1));
 }