On 23/04/2014 10:02, Miklos Vajna wrote:
...
// the fileheader is not used
    4450                     {
    4451                         p_EscherBlibEntry->mnSize -= 22;
    4452                         pGraphicAry += 22;
    4453                     }
    4454                 }
However, if you change WMF to EMF here, then one wonders if you want to skip an
EMF header as well, and the answer is probably: not (and even if you want to do
that, the EMF header is not fixed size, so a constant 22 won't help there). So
I would just delete the dead code here.
Thank you Miklos for your feedback, I pushed the change on master 
sources (see 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b39ee2bc8f6df28f020ed13ddc7b39d208dfc7a5)
Julien
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.