r25007 by craig - Code cleanup and fix include in scimage.h

scribus-commit scribus-commit at lists.scribus.net
Thu Mar 10 20:47:58 UTC 2022


Author: craig
Date: Thu Mar 10 20:47:57 2022
New Revision: 25007

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25007
Log:
Code cleanup and fix include in scimage.h

Modified:
    trunk/Scribus/scribus/pageitem_imageframe.cpp
    trunk/Scribus/scribus/scimage.h
    trunk/Scribus/scribus/scimagestructs.h

Modified: trunk/Scribus/scribus/pageitem_imageframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25007&path=/trunk/Scribus/scribus/pageitem_imageframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_imageframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_imageframe.cpp	Thu Mar 10 20:47:57 2022
@@ -62,7 +62,7 @@
 
 PageItem_ImageFrame::~PageItem_ImageFrame()
 {
-	if ((imageIsAvailable) && (!Pfile.isEmpty()))
+	if (imageIsAvailable && (!Pfile.isEmpty()))
 	{
 		ScCore->fileWatcher->removeFile(Pfile);
 		QFileInfo fi(Pfile);

Modified: trunk/Scribus/scribus/scimage.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25007&path=/trunk/Scribus/scribus/scimage.h
==============================================================================
--- trunk/Scribus/scribus/scimage.h	(original)
+++ trunk/Scribus/scribus/scimage.h	Thu Mar 10 20:47:57 2022
@@ -26,6 +26,7 @@
 
 #include "fpointarray.h"
 #include "sccolor.h"
+#include "scimagestructs.h"
 
 class ScribusDoc;
 class ScStreamFilter;

Modified: trunk/Scribus/scribus/scimagestructs.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25007&path=/trunk/Scribus/scribus/scimagestructs.h
==============================================================================
--- trunk/Scribus/scribus/scimagestructs.h	(original)
+++ trunk/Scribus/scribus/scimagestructs.h	Thu Mar 10 20:47:57 2022
@@ -163,7 +163,7 @@
 	ColorSpaceMonochrome = 4
 };
 
-class ImageInfoRecord
+class SCRIBUS_API ImageInfoRecord
 {
 public:
 	ImageInfoRecord();




More information about the scribus-commit mailing list