Code

Restore code safety for all but Win32.
authorJon A. Cruz <jon@joncruz.org>
Tue, 20 Jul 2010 08:05:20 +0000 (01:05 -0700)
committerJon A. Cruz <jon@joncruz.org>
Tue, 20 Jul 2010 08:05:20 +0000 (01:05 -0700)
src/style.h

index d437a50f01c433b1fd3548cb9ca471f7cad7eff7..f937fe33b795e1c338522d4fe3987964c6b6b972 100644 (file)
@@ -178,9 +178,12 @@ struct SPIPaint {
 
     void read( gchar const *str, SPStyle &tyle, SPDocument *document = 0);
 
-//private:
-//    SPIPaint(SPIPaint const&);
-//    SPIPaint &operator=(SPIPaint const &);
+    // Win32 is a temp work-around until the emf extension is fixed:
+#ifndef WIN32
+private:
+    SPIPaint(SPIPaint const&);
+    SPIPaint &operator=(SPIPaint const &);
+#endif // WIN32
 };
 
 /// Filter type internal to SPStyle