You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ye...@apache.org on 2009/12/21 15:57:23 UTC

svn commit: r892842 - /poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java

Author: yegor
Date: Mon Dec 21 14:57:23 2009
New Revision: 892842

URL: http://svn.apache.org/viewvc?rev=892842&view=rev
Log:
undo code mistakenly submitted in r892839

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java?rev=892842&r1=892841&r2=892842&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/dev/BiffViewer.java Mon Dec 21 14:57:23 2009
@@ -176,7 +176,6 @@
 			case GutsRecord.sid:           return new GutsRecord(in);
 			case HCenterRecord.sid:        return new HCenterRecord(in);
 			case HeaderRecord.sid:         return new HeaderRecord(in);
-            case HeaderFooterRecord.sid:   return new HeaderFooterRecord(in);
 			case HideObjRecord.sid:        return new HideObjRecord(in);
 			case HorizontalPageBreakRecord.sid: return new HorizontalPageBreakRecord(in);
 			case HyperlinkRecord.sid:      return new HyperlinkRecord(in);
@@ -239,7 +238,6 @@
 			case TopMarginRecord.sid:      return new TopMarginRecord(in);
 			case UnitsRecord.sid:          return new UnitsRecord(in);
 			case UseSelFSRecord.sid:       return new UseSelFSRecord(in);
-            case UserSViewBegin.sid:       return new UserSViewBegin(in);
 			case VCenterRecord.sid:        return new VCenterRecord(in);
 			case ValueRangeRecord.sid:     return new ValueRangeRecord(in);
 			case VerticalPageBreakRecord.sid: return new VerticalPageBreakRecord(in);
@@ -294,7 +292,7 @@
 			boolean noint = false;
 			boolean out = false;
 			boolean rawhex = false;
-            boolean header = true;
+            boolean noheader = false;
 			File file = null;
 			for (int i=0; i<nArgs; i++) {
 				String arg = args[i];
@@ -310,7 +308,7 @@
 					} else if ("--rawhex".equals(arg)) {
 						rawhex = true;
                     } else if ("--noheader".equals(arg)) {
-                        header = true;
+                        noheader = false;
 					} else {
 						throw new CommandParseException("Unexpected option '" + arg + "'");
 					}
@@ -327,7 +325,7 @@
 			if (file == null) {
 				throw new CommandParseException("Biff viewer needs a filename");
 			}
-			return new CommandArgs(biffhex, noint, out, rawhex, header, file);
+			return new CommandArgs(biffhex, noint, out, rawhex, noheader, file);
 		}
 		public boolean shouldDumpBiffHex() {
 			return _biffhex;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org