All pastes #415657 Raw Edit

Something

public text v1 · immutable
#415657 ·published 2007-03-29 19:44 UTC
rendered paste body
--- FilterOpenOffice.cs (revision 3608)
+++ FilterOpenOffice.cs (working copy)
@@ -428,9 +428,8 @@

                private void ExtractMetadata (XmlReader reader)
                {
-                       do {
-                               reader.Read ();
-                       } while (reader.Depth < 2);
+                       while (reader.Read () && reader.Depth < 2)
+                               ;