On Wed, 2010-09-29 at 00:51 -0600, Tor Lillqvist wrote:
Could it be that a switch statement is used here because there are
 other possible values of the parameter that the code really should
 handle, but doesn't ye? The author used a switch statement
 anticipating more cases later? 
Other way around, in one sense, the original author of the code did
handle multiple switch values, but when it was reduced down to handle a
single value later on by someone else it remained as a switch.
Those "CHINA" comments typically relate to stuff that existed only to
support the older binary .sdw etc. formats which were removed or moved
to binfilter.
C.
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.