[Libreoffice] REVIEW: EMF+ disable on Win32 ...

Michael Meeks michael.meeks at novell.com
Fri Feb 11 04:17:24 PST 2011

Hi guys,

	Talking to Radek (wrt. the EMF+ previews missing in action - ie. we
just get white images (apparently)) - from bug:


	It seems that the quick workaround is appended;

diff --git a/svtools/source/filter.vcl/wmf/enhwmf.cxx b/svtools/source/filter.vcl/wmf/enhwmf.cxx
index cc50b1b..1dd5c64 100644
--- a/svtools/source/filter.vcl/wmf/enhwmf.cxx
+++ b/svtools/source/filter.vcl/wmf/enhwmf.cxx
@@ -348,7 +348,7 @@ BOOL EnhWMFReader::ReadEnhWMF()
     static sal_Bool bEnableEMFPlus = ( getenv( "EMF_PLUS_DISABLE" ) == NULL );
     // TODO: make it possible to disable emf+ on windows
-    static sal_Bool bEnableEMFPlus = sal_True;
+    static sal_Bool bEnableEMFPlus = sal_False;
     while( bStatus && nRecordCount-- )

	And hopefully, then we will fall back (where it is present) to the EMF
(not EMF+) or WMF preview instead.

	Jesus - it'd be wonderful if you could do a test of that (?) otherwise,
other reviews appreciated.

	Tor - rumour has it that you looked at getting this working on Windows,
the interaction is with vcl/source/gdi/gdimtf.cxx incidentally and some
UNO-ised canvas pieces I guess.



 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list