[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 1563
Date       : Wed Jul 26 19:12:54 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/filters.cpp

Disable flash export in release


Diff:
Index: Trunk/XaraLX/Kernel/filters.cpp
===================================================================
--- Trunk/XaraLX/Kernel/filters.cpp	(revision 1562)
+++ Trunk/XaraLX/Kernel/filters.cpp	(revision 1563)
@@ -145,7 +145,10 @@
 #include "filtimag.h"		// Imagemap filter
 #include "pngfiltr.h"		// for PNG filter class
 #include "imjpeg.h"			// for JPEGImportFilter
+PORTNOTE("filter","Removed Flash filter for 0.7")
+#if defined(_DEBUG)
 #include "swffiltr.h"		// For the SWF export filter.
+#endif
 //#include "extfilts.h"		// For the TIFF filter.
 #include "kerneldc.h"
 #include "xsepsops.h"
@@ -866,10 +869,12 @@
 	OILFilter::InitPluginFilters(FilterList);
 #endif
 
-#ifndef STANDALONE
-
+PORTNOTE("filter","Removed Flash filter for 0.7")
+#if defined(_DEBUG)
 	ADD_FILTER(FlashFilter)
+#endif
 
+#ifndef STANDALONE
 	// Other filters in alphabetical order.
 PORTNOTE("filter","Removed filters usage")
 #ifndef EXCLUDE_FROM_XARALX


Xara