From 4f44aae85dbbe6ec0beb05727b8d697867175e76 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Tue, 20 Jul 2010 01:05:20 -0700 Subject: [PATCH] Restore code safety for all but Win32. --- src/style.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/style.h b/src/style.h index d437a50f0..f937fe33b 100644 --- a/src/style.h +++ b/src/style.h @@ -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 -- 2.30.2