Merge pull request #1506 from akoeplinger/fix-paste-test
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / ColorPalette.cs
index a7c989f5c264b88cc0bde5f805fcdb2a10cb0556..28599a7b47ac2b4be9aeafb6465542b4c20cc5f8 100644 (file)
@@ -50,7 +50,6 @@ namespace System.Drawing.Imaging
                //
                internal ColorPalette ()
                {
-                       flags = 0;
                        entries = new Color [0];
                }
 
@@ -70,7 +69,6 @@ namespace System.Drawing.Imaging
                                return flags;
                        }
                }
-#if !TARGET_JVM
                /* Caller should call FreeHGlobal*/
                internal IntPtr getGDIPalette() 
                {
@@ -113,6 +111,5 @@ namespace System.Drawing.Imaging
                                offset += 4;
                        }
                }
-#endif
        }
 }