Author: spouliot
Date: 2007-03-14 15:57:24 -0500 (Wed, 14 Mar 2007)
New Revision: 74303

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing.Imaging/MetafileHeader.cs
Log:
2007-03-14  Sebastien Pouliot  <[EMAIL PROTECTED]> 

        * MetafileHeader.cs: WmfHeader is available on non-placeable WMF too.



Modified: trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog     
2007-03-14 20:41:57 UTC (rev 74302)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog     
2007-03-14 20:57:24 UTC (rev 74303)
@@ -1,3 +1,7 @@
+2007-03-14  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+
+       * MetafileHeader.cs: WmfHeader is available on non-placeable WMF too.
+
 2007-03-09  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * MetafileHeader.cs: WmfHeader throws if the metafile isn't a WMF (e.g. 

Modified: 
trunk/mcs/class/System.Drawing/System.Drawing.Imaging/MetafileHeader.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Imaging/MetafileHeader.cs     
2007-03-14 20:41:57 UTC (rev 74302)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Imaging/MetafileHeader.cs     
2007-03-14 20:57:24 UTC (rev 74303)
@@ -187,7 +187,7 @@
                // properties even if they don't seems to affect anything)
                public MetaHeader WmfHeader {
                        get {
-                               if (IsWmfPlaceable ())
+                               if (IsWmf ())
                                         return new MetaHeader 
(header.wmf_header);
                                throw new ArgumentException ("WmfHeader only 
available on WMF files.");
                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to