[Libreoffice-commits] .: binfilter/bf_svtools binfilter/bf_svx
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon Oct 24 04:02:43 PDT 2011
binfilter/bf_svtools/source/items1/svt_poolio.cxx | 7 -------
binfilter/bf_svx/source/xoutdev/svx_xattr.cxx | 1 -
2 files changed, 8 deletions(-)
New commits:
commit e8c71c5ae20d33f8aa3bf67296b71c955fd11b34
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Oct 24 13:02:29 2011 +0200
Removed erroneously pushed debug printfs.
diff --git a/binfilter/bf_svtools/source/items1/svt_poolio.cxx b/binfilter/bf_svtools/source/items1/svt_poolio.cxx
index 98c5cce..0d453dc 100644
--- a/binfilter/bf_svtools/source/items1/svt_poolio.cxx
+++ b/binfilter/bf_svtools/source/items1/svt_poolio.cxx
@@ -114,7 +114,6 @@ void SfxItemPool::readTheItems (
SvStream & rStream, USHORT nItemCount, USHORT nVersion,
SfxPoolItem * pDefItem, SfxPoolItemArray_Impl ** ppArr)
{
-/*SB*/fprintf(stderr,"SfxItemPool::readTheItems %d %d\n",(int)nItemCount,(int)nVersion);
SfxMultiRecordReader aItemsRec( &rStream, SFX_ITEMPOOL_REC_ITEMS );
SfxPoolItemArray_Impl *pNewArr = new SfxPoolItemArray_Impl( nItemCount );
@@ -137,7 +136,6 @@ void SfxItemPool::readTheItems (
USHORT nRef(0);
rStream >> nRef;
-/*SB*/fprintf(stderr,"... X\n");
pItem = pDefItem->Create(rStream, nVersion);
pNewArr->C40_INSERT(SfxPoolItem, pItem, nSurrogate);
@@ -371,10 +369,8 @@ SvStream &SfxItemPool::Load(SvStream &rStream)
nWhich = GetNewWhich( nWhich );
// unbekanntes Item aus neuerer Version
-/*SB*/fprintf(stderr,"nWhich = %d\n",(int)nWhich);
if ( !IsInRange(nWhich) )
continue;
-/*SB*/fprintf(stderr," ,,,\n");
rStream >> nVersion;
rStream >> nCount;
@@ -1163,7 +1159,6 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, bool bDirect,
{
USHORT nWhich=0, nSlot=0; // nSurrogate;
rStream >> nWhich >> nSlot;
-/*SB*/fprintf(stderr,"A nWhich = %d\n",(int)nWhich);
BOOL bDontPut = (SfxItemPool*)-1 == pRefPool;
if ( bDontPut || !pRefPool )
@@ -1193,7 +1188,6 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, bool bDirect,
if ( !bCurVersion )
// Which-Id auf neue Version mappen
nWhich = pRefPool->GetNewWhich( nWhich );
-/*SB*/fprintf(stderr,"B nWhich = %d\n",(int)nWhich);
DBG_ASSERT( !nWhich || !pImp->bInSetItem ||
!pRefPool->ppStaticDefaults[pRefPool->GetIndex_Impl(nWhich)]->ISA(SfxSetItem),
@@ -1227,7 +1221,6 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, bool bDirect,
// Item direkt laden
SfxPoolItem *pNewItem =
pRefPool->GetDefaultItem(nWhich).Create(rStream, nVersion);
-/*SB*/fprintf(stderr,"C nWhich = %d, pNewItem = %p\n",(int)nWhich,pNewItem);
if ( bDontPut )
pItem = pNewItem;
else
diff --git a/binfilter/bf_svx/source/xoutdev/svx_xattr.cxx b/binfilter/bf_svx/source/xoutdev/svx_xattr.cxx
index 5c2f357..3f11fd3 100644
--- a/binfilter/bf_svx/source/xoutdev/svx_xattr.cxx
+++ b/binfilter/bf_svx/source/xoutdev/svx_xattr.cxx
@@ -3880,7 +3880,6 @@ const XHatch& XFillHatchItem::GetValue() const
/*N*/ SfxPoolItem* XFillAttrSetItem::Create( SvStream& rStream, USHORT /*nVersion*/ ) const
/*N*/ {
-/*SB*/fprintf(stderr,"XFillAttrSetItem::Create\n");
/*N*/ SfxItemSet* _pSet = new SfxItemSet( *GetItemSet().GetPool(),
/*N*/ XATTR_FILL_FIRST, XATTR_FILL_LAST);
/*N*/ _pSet->Load( rStream );
More information about the Libreoffice-commits
mailing list