X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlot2d%2FPlot2d_ViewWindow.cxx;h=e562e30dc182786ffe2b86232434dfd965a91515;hb=399155730966dfc225fbb24f66204b05664385f2;hp=eda8bd6fbca6a981b90c95edc2f215a8d0889487;hpb=aa05f2a1b23a54321ea7248ae9ac3463652c734e;p=modules%2Fgui.git diff --git a/src/Plot2d/Plot2d_ViewWindow.cxx b/src/Plot2d/Plot2d_ViewWindow.cxx index eda8bd6fb..e562e30dc 100755 --- a/src/Plot2d/Plot2d_ViewWindow.cxx +++ b/src/Plot2d/Plot2d_ViewWindow.cxx @@ -14,7 +14,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // Plot2d_ViewWindow.cxx: implementation of the Plot2d_ViewWindow class. @@ -500,11 +500,11 @@ QImage Plot2d_ViewWindow::dumpView() \param fileName - name of file \param format - string contains name of format (for example, "BMP"(default) or "JPEG", "JPG") */ -bool Plot2d_ViewWindow::dumpViewToFormat( const QString& fileName, const QString& format ) +bool Plot2d_ViewWindow::dumpViewToFormat( const QImage& img, const QString& fileName, const QString& format ) { bool res = myViewFrame ? myViewFrame->print( fileName, format ) : false; if( !res ) - res = SUIT_ViewWindow::dumpViewToFormat( fileName, format ); + res = SUIT_ViewWindow::dumpViewToFormat( img, fileName, format ); return res; }