[Uml-devel] KDE/kdesdk/umbrello/umbrello

Andi Fischer andi.fischer at hispeed.ch
Mon May 21 17:50:11 UTC 2012


SVN commit 1295980 by fischer:

Compiler warning fixed and tabs removed.

 M  +1 -4      umlviewimageexportermodel.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlviewimageexportermodel.cpp #1295979:1295980
@@ -508,13 +508,10 @@
         return false;
     }
 
-    bool exportSuccessful;
     UMLSceneRect rect = scene->diagramRect();
     QPixmap diagram(rect.width(), rect.height());
     scene->getDiagram(rect, diagram);
-    DEBUG(DBG_IEM) << "saving to file " << fileName << " , imageType=" << imageType << " successful=" << exportSuccessful;
-    exportSuccessful = diagram.save(fileName, qPrintable(imageType.toUpper()));
-
+    bool exportSuccessful = diagram.save(fileName, qPrintable(imageType.toUpper()));
     DEBUG(DBG_IEM) << "saving to file " << fileName
                    << " , imageType=" << imageType
 		   << " , width=" << rect.width()




More information about the umbrello-devel mailing list