Revert 2633fb54 as it does not work on github/Ubuntu. Bad boost.

This commit is contained in:
Jean-Paul Chaput 2023-09-21 13:19:10 +02:00
parent 2633fb543b
commit 4420da664e
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;