ooo-build r13937 - in trunk: . patches/dev300
- From: freuter svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13937 - in trunk: . patches/dev300
- Date: Thu, 18 Sep 2008 11:21:19 +0000 (UTC)
Author: freuter
Date: Thu Sep 18 11:21:19 2008
New Revision: 13937
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13937&view=rev
Log:
Removed some debug code.(n#426348)
Modified:
trunk/ChangeLog
trunk/patches/dev300/sw-field-patch.diff
Modified: trunk/patches/dev300/sw-field-patch.diff
==============================================================================
--- trunk/patches/dev300/sw-field-patch.diff (original)
+++ trunk/patches/dev300/sw-field-patch.diff Thu Sep 18 11:21:19 2008
@@ -2604,18 +2604,18 @@
if((aPic.lcb > 0x3A) && !pDataStream->GetError() )
{
pDataStream->Seek( nPicLocFc + aPic.cbHeader );
++#if 0 // some debug fun; remove this later...
+ int len=aPic.lcb-aPic.cbHeader;
+ char *pBuf=(char*)malloc(len);
+ pDataStream->Read( pBuf, len);
-+#if 0 // some debug fun; remove this later...
+ static int _h=0;
+ char fname[255];
+ sprintf(fname, "data%03i.data", _h++);
+ FILE *out=fopen(fname, "wb");
+ fwrite(pBuf, len, 1, out);
+ fclose(out);
-+#endif
+ pDataStream->Seek( nPicLocFc + aPic.cbHeader );
++#endif
aFormula.FormulaRead(nWhich,pDataStream);
bRet = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]