Revert 2633fb54
as it does not work on github/Ubuntu. Bad boost.
This commit is contained in:
parent
2633fb543b
commit
4420da664e
|
@ -18,7 +18,7 @@
|
|||
#include <unistd.h>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <QApplication>
|
||||
#include <QImage>
|
||||
#include "hurricane/configuration/Configuration.h"
|
||||
|
@ -200,7 +200,7 @@ namespace Hurricane {
|
|||
//cerr << "(w,h) = (" << w << "," << h << ")" << endl;
|
||||
//cerr << "(dw,dh) = (" << drawingWidth << "," << drawingHeight << ")" << endl;
|
||||
|
||||
CellWidget::PainterCb_t cb = boost::bind( &CellImage::pageDecorate, this, boost::placeholders::_1 );
|
||||
CellWidget::PainterCb_t cb = boost::bind( &CellImage::pageDecorate, this, _1 );
|
||||
_cellWidget->copyToImage( _image, cb );
|
||||
|
||||
return _image;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <unistd.h>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <QApplication>
|
||||
#include <QPrinter>
|
||||
#include "hurricane/configuration/Configuration.h"
|
||||
|
@ -378,7 +378,7 @@ namespace Hurricane {
|
|||
//cerr << " (xpaper,ypaper) = (" << _xpaper << "," << _ypaper << ")" << endl;
|
||||
//cerr << " (dw,dh) = (" << _drawingWidth << "," << _drawingHeight << ")" << endl;
|
||||
|
||||
CellWidget::PainterCb_t cb = boost::bind( &CellPrinter::pageDecorate, this, boost::placeholders::_1 );
|
||||
CellWidget::PainterCb_t cb = boost::bind( &CellPrinter::pageDecorate, this, _1 );
|
||||
_cellWidget->copyToPrinter( _xpaper, _ypaper, _printer, cb );
|
||||
|
||||
_printer = NULL;
|
||||
|
|
Loading…
Reference in New Issue