Apply fix (FC2347) for boost v1.60.0
This commit is contained in:
parent
3b96cbbeb6
commit
3eba56d463
|
@ -33,7 +33,6 @@
|
|||
#include <Base/Console.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <App/Application.h>
|
||||
#include <boost/regex.hpp>
|
||||
#include <iostream>
|
||||
|
||||
#include "DrawViewClip.h"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
# include <cstring>
|
||||
# include <cstdlib>
|
||||
# include <exception>
|
||||
# include <boost/regex.hpp>
|
||||
# include <QString>
|
||||
# include <QStringList>
|
||||
# include <QRegExp>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#endif
|
||||
|
||||
#include <iomanip>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#endif
|
||||
|
||||
#include <iomanip>
|
||||
#include <iterator>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#include <Base/Exception.h>
|
||||
|
@ -104,7 +105,7 @@ App::DocumentObjectExecReturn *DrawViewSymbol::execute(void)
|
|||
// change values of editable texts. Also strip the "freecad:editable"
|
||||
// attribute so it isn't detected by the page
|
||||
boost::regex e2 ("(<text.*?)(freecad:editable=\""+what[1].str()+"\")(.*?<tspan.*?)>(.*?)(</tspan>)");
|
||||
boost::re_detail::string_out_iterator<std::string > out(newsvg);
|
||||
std::back_insert_iterator<std::string> out(newsvg);
|
||||
boost::regex_replace(out, begin, what[0].second, e2, "$1$3>"+editText[count]+"$5");
|
||||
}
|
||||
count++;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
# include <sstream>
|
||||
# include <cstdlib>
|
||||
# include <exception>
|
||||
# include <boost/regex.hpp>
|
||||
#endif //#ifndef _PreComp_
|
||||
|
||||
#include <QGraphicsView>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
# include <sstream>
|
||||
# include <cstdlib>
|
||||
# include <exception>
|
||||
# include <boost/regex.hpp>
|
||||
#endif //#ifndef _PreComp_
|
||||
|
||||
#include <QGraphicsView>
|
||||
|
|
Loading…
Reference in New Issue
Block a user