To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102354
                 Issue #|102354
                 Summary|sw: Import the document the same with debug on
               Component|Word processor
                 Version|DEV300m48
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|open-import
             Assigned to|kendy
             Reported by|kendy





------- Additional comments from ke...@openoffice.org Fri May 29 07:43:43 +0000 
2009 -------
It is not a good idea to log errors directly to the document that's being
imported, even in the case of the debug builds; committing the following to the
CWS ooxml03:

--- ww8par.cxx  (revision 272433)
+++ ww8par.cxx  (working copy)
@@ -2686,12 +2686,8 @@
             break;                  // Auto-Fussnoten-Nummer
 #if OSL_DEBUG_LEVEL > 1
         default:
-            {
-                String sUnknown( '<' );
-                sUnknown += String::CreateFromInt32( nWCharVal );
-                sUnknown += '>';
-                rDoc.Insert( *pPaM, sUnknown, true );
-            }
+            ::std::clog << "<unknownValue val=\"" << nWCharVal << "\">" <<
::std::endl;
+            break;
 #endif
     }

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to