summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-11 16:23:55 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-11 16:23:55 +0100
commit698c00dbdd95ebc3c6df113133076979ff2cd0a7 (patch)
treeadf73cb3197fabd1120ca007ddc0b50166103745 /svl
parent322a75edf8bad6616b1543a6b81972f4c3765ee2 (diff)
removetooltypes01: #i112600# do not affect FASTBOOL in this cws
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/filerec.hxx38
-rw-r--r--svl/inc/svl/itempool.hxx28
-rw-r--r--svl/inc/svl/itemset.hxx4
-rw-r--r--svl/source/filerec/filerec.cxx20
-rw-r--r--svl/source/inc/poolio.hxx4
-rw-r--r--svl/source/items/itempool.cxx6
-rw-r--r--svl/source/items/itemset.cxx4
-rw-r--r--svl/source/items/poolio.cxx30
8 files changed, 67 insertions, 67 deletions
diff --git a/svl/inc/svl/filerec.hxx b/svl/inc/svl/filerec.hxx
index 2742d2ce537f..0a831023f3ff 100644
--- a/svl/inc/svl/filerec.hxx
+++ b/svl/inc/svl/filerec.hxx
@@ -223,7 +223,7 @@ class SVL_DLLPUBLIC SfxMiniRecordWriter
protected:
SvStream* _pStream; // <SvStream>, in dem der Record liegt
sal_uInt32 _nStartPos; // Start-Position des Gesamt-Records im Stream
- int _bHeaderOk; /* sal_True, wenn der Header schon geschrieben ist;
+ FASTBOOL _bHeaderOk; /* sal_True, wenn der Header schon geschrieben ist;
bei DBG_UTIL wird SFX_BOOL_DONTCARE ver-
wendet, um die Gr"o\se von Fix-Sized-Records
zu pr"ufen. */
@@ -241,7 +241,7 @@ public:
inline void Reset();
- sal_uInt32 Close( int bSeekToEndOfRec = sal_True );
+ sal_uInt32 Close( FASTBOOL bSeekToEndOfRec = sal_True );
private:
// not implementend, not allowed
@@ -281,7 +281,7 @@ class SVL_DLLPUBLIC SfxMiniRecordReader
protected:
SvStream* _pStream; // <SvStream>, aus dem gelesen wird
sal_uInt32 _nEofRec; // Position direkt hinter dem Record
- int _bSkipped; // sal_True: der Record wurde explizit geskippt
+ FASTBOOL _bSkipped; // sal_True: der Record wurde explizit geskippt
sal_uInt8 _nPreTag; // aus dem Header gelesenes Pre-Tag
// Drei-Phasen-Ctor f"ur Subklassen
@@ -292,7 +292,7 @@ protected:
_bSkipped = sal_False;
_nPreTag = nTag;
}
- inline int SetHeader_Impl( sal_uInt32 nHeader );
+ inline FASTBOOL SetHeader_Impl( sal_uInt32 nHeader );
// als ung"ultig markieren und zur"uck-seeken
void SetInvalid_Impl( sal_uInt32 nRecordStartPos )
@@ -309,7 +309,7 @@ public:
inline ~SfxMiniRecordReader();
inline sal_uInt8 GetTag() const;
- inline int IsValid() const;
+ inline FASTBOOL IsValid() const;
inline SvStream& operator*() const;
@@ -374,7 +374,7 @@ public:
inline void Reset();
- sal_uInt32 Close( int bSeekToEndOfRec = sal_True );
+ sal_uInt32 Close( FASTBOOL bSeekToEndOfRec = sal_True );
};
//------------------------------------------------------------------------
@@ -420,8 +420,8 @@ protected:
SfxMiniRecordReader::Construct_Impl(
pStream, SFX_REC_PRETAG_EXT );
}
- int FindHeader_Impl( sal_uInt16 nTypes, sal_uInt16 nTag );
- int ReadHeader_Impl( sal_uInt16 nTypes );
+ FASTBOOL FindHeader_Impl( sal_uInt16 nTypes, sal_uInt16 nTag );
+ FASTBOOL ReadHeader_Impl( sal_uInt16 nTypes );
public:
SfxSingleRecordReader( SvStream *pStream );
@@ -430,7 +430,7 @@ public:
inline sal_uInt16 GetTag() const;
inline sal_uInt8 GetVersion() const;
- inline int HasVersion( sal_uInt16 nVersion ) const;
+ inline FASTBOOL HasVersion( sal_uInt16 nVersion ) const;
};
//------------------------------------------------------------------------
@@ -505,7 +505,7 @@ public:
inline void Reset();
- sal_uInt32 Close( int bSeekToEndOfRec = sal_True );
+ sal_uInt32 Close( FASTBOOL bSeekToEndOfRec = sal_True );
};
//------------------------------------------------------------------------
@@ -576,7 +576,7 @@ public:
void NewContent();
- virtual sal_uInt32 Close( int bSeekToEndOfRec = sal_True );
+ virtual sal_uInt32 Close( FASTBOOL bSeekToEndOfRec = sal_True );
};
//------------------------------------------------------------------------
@@ -676,17 +676,17 @@ class SVL_DLLPUBLIC SfxMultiRecordReader: public SfxSingleRecordReader
sal_uInt16 _nContentTag; // Art-Kennung des aktuellen Contents
sal_uInt8 _nContentVer; // Versions-Kennung des akt. Contents
- int ReadHeader_Impl();
+ FASTBOOL ReadHeader_Impl();
public:
SfxMultiRecordReader( SvStream *pStream );
SfxMultiRecordReader( SvStream *pStream, sal_uInt16 nTag );
~SfxMultiRecordReader();
- int GetContent();
+ FASTBOOL GetContent();
inline sal_uInt16 GetContentTag();
inline sal_uInt8 GetContentVersion() const;
- inline int HasContentVersion( sal_uInt16 nVersion ) const;
+ inline FASTBOOL HasContentVersion( sal_uInt16 nVersion ) const;
inline sal_uInt32 ContentCount() const;
};
@@ -835,7 +835,7 @@ inline sal_uInt8 SfxMiniRecordReader::GetTag() const
//-------------------------------------------------------------------------
-inline int SfxMiniRecordReader::IsValid() const
+inline FASTBOOL SfxMiniRecordReader::IsValid() const
/* [Beschreibung]
@@ -865,9 +865,9 @@ inline SvStream& SfxMiniRecordReader::operator*() const
//=========================================================================
-inline sal_uInt32 SfxSingleRecordWriter::Close( int bSeekToEndOfRec )
+inline sal_uInt32 SfxSingleRecordWriter::Close( FASTBOOL bSeekToEndOfRec )
-// siehe <SfxMiniRecordWriter::Close(int)>
+// siehe <SfxMiniRecordWriter::Close(FASTBOOL)>
{
sal_uInt32 nRet = 0;
@@ -931,7 +931,7 @@ inline sal_uInt8 SfxSingleRecordReader::GetVersion() const
//-------------------------------------------------------------------------
-inline int SfxSingleRecordReader::HasVersion( sal_uInt16 nVersion ) const
+inline FASTBOOL SfxSingleRecordReader::HasVersion( sal_uInt16 nVersion ) const
/* [Beschreibung]
@@ -1054,7 +1054,7 @@ inline sal_uInt8 SfxMultiRecordReader::GetContentVersion() const
//-------------------------------------------------------------------------
-inline int SfxMultiRecordReader::HasContentVersion( sal_uInt16 nVersion ) const
+inline FASTBOOL SfxMultiRecordReader::HasContentVersion( sal_uInt16 nVersion ) const
/* [Beschreibung]
diff --git a/svl/inc/svl/itempool.hxx b/svl/inc/svl/itempool.hxx
index 3ca4bf3129b7..7f00f89bc9e2 100644
--- a/svl/inc/svl/itempool.hxx
+++ b/svl/inc/svl/itempool.hxx
@@ -121,7 +121,7 @@ class SVL_DLLPUBLIC SfxItemPool
SfxItemPool* pSecondary;
SfxItemPool* pMaster;
sal_uInt16* _pPoolRanges;
- int bPersistentRefCounts;
+ FASTBOOL bPersistentRefCounts;
private:
// ObjectUser section
@@ -141,14 +141,14 @@ private:
inline sal_uInt16 GetSize_Impl() const { return nEnd - nStart + 1; }
SVL_DLLPRIVATE SvStream& Load1_Impl( SvStream &rStream );
- SVL_DLLPRIVATE int IsItemFlag_Impl( sal_uInt16 nWhich, sal_uInt16 nFlag ) const;
+ SVL_DLLPRIVATE FASTBOOL IsItemFlag_Impl( sal_uInt16 nWhich, sal_uInt16 nFlag ) const;
public:
// fuer dflt. SfxItemSet::CTOR, setze dflt. WhichRanges
void FillItemIdRanges_Impl( sal_uInt16*& pWhichRanges ) const;
const sal_uInt16* GetFrozenIdRanges() const
{ return _pPoolRanges; }
- int IsVer2_Impl() const;
+ FASTBOOL IsVer2_Impl() const;
#endif
//---------------------------------------------------------------------
@@ -170,7 +170,7 @@ public:
#ifndef TF_POOLABLE
sal_uInt16 *pSlotIds = 0,
#endif
- int bLoadRefCounts = sal_True );
+ FASTBOOL bLoadRefCounts = sal_True );
protected:
virtual ~SfxItemPool();
public:
@@ -202,11 +202,11 @@ public:
virtual const SfxPoolItem& GetDefaultItem( sal_uInt16 nWhich ) const;
const SfxPoolItem* LoadItem( SvStream &rStream,
- int bDirect = sal_False,
+ FASTBOOL bDirect = sal_False,
const SfxItemPool *pRefPool = 0 );
- int StoreItem( SvStream &rStream,
+ FASTBOOL StoreItem( SvStream &rStream,
const SfxPoolItem &rItem,
- int bDirect = sal_False ) const;
+ FASTBOOL bDirect = sal_False ) const;
sal_uInt32 GetSurrogate(const SfxPoolItem *) const;
const SfxPoolItem * GetItem2(sal_uInt16 nWhich, sal_uInt32 nSurrogate) const;
@@ -214,7 +214,7 @@ public:
const SfxPoolItem* LoadSurrogate(SvStream& rStream,
sal_uInt16 &rWhich, sal_uInt16 nSlotId,
const SfxItemPool* pRefPool = 0 );
- int StoreSurrogate(SvStream& rStream,
+ FASTBOOL StoreSurrogate(SvStream& rStream,
const SfxPoolItem *pItem ) const;
virtual SvStream & Load(SvStream &);
@@ -225,11 +225,11 @@ public:
sal_uInt16 GetFirstWhich() const { return nStart; }
sal_uInt16 GetLastWhich() const { return nEnd; }
- int IsInRange( sal_uInt16 nWhich ) const {
+ FASTBOOL IsInRange( sal_uInt16 nWhich ) const {
return nWhich >= nStart &&
nWhich <= nEnd; }
- int IsInVersionsRange( sal_uInt16 nWhich ) const;
- int IsInStoringRange( sal_uInt16 nWhich ) const;
+ FASTBOOL IsInVersionsRange( sal_uInt16 nWhich ) const;
+ FASTBOOL IsInStoringRange( sal_uInt16 nWhich ) const;
void SetStoringRange( sal_uInt16 nFrom, sal_uInt16 nTo );
void SetSecondaryPool( SfxItemPool *pPool );
SfxItemPool* GetSecondaryPool() const {
@@ -242,8 +242,8 @@ public:
void Delete();
#ifdef TF_POOLABLE
- int IsItemFlag( sal_uInt16 nWhich, sal_uInt16 nFlag ) const;
- int IsItemFlag( const SfxPoolItem &rItem, sal_uInt16 nFlag ) const
+ FASTBOOL IsItemFlag( sal_uInt16 nWhich, sal_uInt16 nFlag ) const;
+ FASTBOOL IsItemFlag( const SfxPoolItem &rItem, sal_uInt16 nFlag ) const
{ return IsItemFlag( rItem.Which(), nFlag ); }
void SetItemInfos( const SfxItemInfo *pInfos )
{ pItemInfos = pInfos; }
@@ -266,7 +266,7 @@ public:
{ return _nFileFormatVersion; }
void SetFileFormatVersion( sal_uInt16 nFileFormatVersion );
sal_uInt16 GetLoadingVersion() const;
- int IsCurrentVersionLoading() const;
+ FASTBOOL IsCurrentVersionLoading() const;
static int IsWhich(sal_uInt16 nId) {
return nId && nId <= SFX_WHICH_MAX; }
diff --git a/svl/inc/svl/itemset.hxx b/svl/inc/svl/itemset.hxx
index 7ef299442e5b..7e6429ca37ab 100644
--- a/svl/inc/svl/itemset.hxx
+++ b/svl/inc/svl/itemset.hxx
@@ -168,9 +168,9 @@ public:
void MergeRange( sal_uInt16 nFrom, sal_uInt16 nTo );
const SfxItemSet* GetParent() const { return _pParent; }
- virtual SvStream & Load( SvStream &, int bDirect = sal_False,
+ virtual SvStream & Load( SvStream &, FASTBOOL bDirect = sal_False,
const SfxItemPool *pRefPool = 0 );
- virtual SvStream & Store( SvStream &, int bDirect = sal_False ) const;
+ virtual SvStream & Store( SvStream &, FASTBOOL bDirect = sal_False ) const;
virtual int operator==(const SfxItemSet &) const;
};
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 3170db4e4f2a..9e5a8b2027f9 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -74,7 +74,7 @@ SV_IMPL_VARARR( SfxUINT32s, sal_uInt32 );
sal_uInt32 SfxMiniRecordWriter::Close
(
- int bSeekToEndOfRec /* sal_True (default)
+ FASTBOOL bSeekToEndOfRec /* sal_True (default)
Der Stream wird an das Ende des Records
positioniert.
@@ -260,7 +260,7 @@ sal_uInt16 SfxMiniRecordReader::ScanRecordType
//-------------------------------------------------------------------------
-int SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader )
+FASTBOOL SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader )
/* [Beschreibung]
@@ -272,7 +272,7 @@ int SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader )
*/
{
- int bRet = sal_True;
+ FASTBOOL bRet = sal_True;
// Record-Ende und Pre-Tag aus dem Header ermitteln
_nEofRec = _pStream->Tell() + SFX_REC_OFS(nHeader);
@@ -487,7 +487,7 @@ SfxSingleRecordWriter::SfxSingleRecordWriter
//=========================================================================
-inline int SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
+inline FASTBOOL SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
/* [Beschreibung]
@@ -498,7 +498,7 @@ inline int SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
*/
{
- int bRet;
+ FASTBOOL bRet;
// Basisklassen-Header einlesen
sal_uInt32 nHeader=0;
@@ -561,7 +561,7 @@ SfxSingleRecordReader::SfxSingleRecordReader( SvStream *pStream, sal_uInt16 nTag
//-------------------------------------------------------------------------
-int SfxSingleRecordReader::FindHeader_Impl
+FASTBOOL SfxSingleRecordReader::FindHeader_Impl
(
sal_uInt16 nTypes, // arithm. Veroderung erlaubter Record-Typen
sal_uInt16 nTag // zu findende Record-Art-Kennung
@@ -674,7 +674,7 @@ SfxMultiFixRecordWriter::SfxMultiFixRecordWriter
//------------------------------------------------------------------------
-sal_uInt32 SfxMultiFixRecordWriter::Close( int bSeekToEndOfRec )
+sal_uInt32 SfxMultiFixRecordWriter::Close( FASTBOOL bSeekToEndOfRec )
// siehe <SfxMiniRecordWriter>
@@ -799,7 +799,7 @@ void SfxMultiVarRecordWriter::NewContent()
//-------------------------------------------------------------------------
-sal_uInt32 SfxMultiVarRecordWriter::Close( int bSeekToEndOfRec )
+sal_uInt32 SfxMultiVarRecordWriter::Close( FASTBOOL bSeekToEndOfRec )
// siehe <SfxMiniRecordWriter>
@@ -872,7 +872,7 @@ void SfxMultiMixRecordWriter::NewContent
//=========================================================================
-int SfxMultiRecordReader::ReadHeader_Impl()
+FASTBOOL SfxMultiRecordReader::ReadHeader_Impl()
/* [Beschreibung]
@@ -963,7 +963,7 @@ SfxMultiRecordReader::~SfxMultiRecordReader()
//-------------------------------------------------------------------------
-int SfxMultiRecordReader::GetContent()
+FASTBOOL SfxMultiRecordReader::GetContent()
/* [Beschreibung]
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index a0c977237d8b..013b6c760096 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -82,8 +82,8 @@ struct SfxItemPool_Impl
sal_uInt16 nStoringStart, nStoringEnd; // zu speichernder Range
sal_uInt8 nMajorVer, nMinorVer; // Pool selbst
SfxMapUnit eDefMetric;
- int bInSetItem;
- int bStreaming; // in Load() bzw. Store()
+ FASTBOOL bInSetItem;
+ FASTBOOL bStreaming; // in Load() bzw. Store()
SfxItemPool_Impl( sal_uInt16 nStart, sal_uInt16 nEnd )
: ppPoolItems (new SfxPoolItemArray_Impl*[ nEnd - nStart + 1])
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index a3ae4c0a7c7e..c5c0aa68addf 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -74,7 +74,7 @@ const SfxPoolItem* SfxItemPool::GetPoolDefaultItem( sal_uInt16 nWhich ) const
// -----------------------------------------------------------------------
-inline int SfxItemPool::IsItemFlag_Impl( sal_uInt16 nPos, sal_uInt16 nFlag ) const
+inline FASTBOOL SfxItemPool::IsItemFlag_Impl( sal_uInt16 nPos, sal_uInt16 nFlag ) const
{
sal_uInt16 nItemFlag = pItemInfos[nPos]._nFlags;
return nFlag == (nItemFlag & nFlag);
@@ -82,7 +82,7 @@ inline int SfxItemPool::IsItemFlag_Impl( sal_uInt16 nPos, sal_uInt16 nFlag ) con
// -----------------------------------------------------------------------
-int SfxItemPool::IsItemFlag( sal_uInt16 nWhich, sal_uInt16 nFlag ) const
+FASTBOOL SfxItemPool::IsItemFlag( sal_uInt16 nWhich, sal_uInt16 nFlag ) const
{
for ( const SfxItemPool *pPool = this; pPool; pPool = pPool->pSecondary )
{
@@ -118,7 +118,7 @@ SfxItemPool::SfxItemPool
#ifndef TF_POOLABLE
sal_uInt16* pSlotIdArray, /* Zuordnung von Slot-Ids zu Which-Ids */
#endif
- int bLoadRefCounts /* Ref-Counts mitladen oder auf 1 setzen */
+ FASTBOOL bLoadRefCounts /* Ref-Counts mitladen oder auf 1 setzen */
)
/* [Beschreibung]
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 69efd2e7aa2c..1c7b6a17231b 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1498,7 +1498,7 @@ sal_uInt16 SfxItemSet::GetWhichByPos( sal_uInt16 nPos ) const
SvStream &SfxItemSet::Store
(
SvStream& rStream, // Zielstream f"ur normale Items
- int bDirect // sal_True: Items direkt speicher, sal_False: Surrogate
+ FASTBOOL bDirect // sal_True: Items direkt speicher, sal_False: Surrogate
) const
/* [Beschreibung]
@@ -1565,7 +1565,7 @@ SvStream &SfxItemSet::Load
(
SvStream& rStream, // Stream, aus dem geladen werden soll
- int bDirect, /* sal_True
+ FASTBOOL bDirect, /* sal_True
Items werden direkt aus dem Stream
gelesen, nicht "uber Surrogate
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index d384cdedf89f..62cb544fa04d 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -625,7 +625,7 @@ SvStream &SfxItemPool::Load(SvStream &rStream)
}
// Items laden
- int bSecondaryLoaded = sal_False;
+ FASTBOOL bSecondaryLoaded = sal_False;
long nSecondaryEnd = 0;
{
SfxMultiRecordReader aWhichIdsRec( &rStream, SFX_ITEMPOOL_REC_WHICHIDS);
@@ -818,7 +818,7 @@ SvStream &SfxItemPool::Load1_Impl(SvStream &rStream)
// Items laden
rStream.Seek( nStartPos );
CHECK_FILEFORMAT( rStream, SFX_ITEMPOOL_TAG_ITEMS );
- int bSecondaryLoaded = sal_False;
+ FASTBOOL bSecondaryLoaded = sal_False;
long nSecondaryEnd = 0;
sal_uInt16 nWhich, nSlot;
while ( rStream >> nWhich, nWhich )
@@ -1090,7 +1090,7 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate
// auf jeden Fall aufgel"ost werden.
if ( !pRefPool )
pRefPool = this;
- int bResolvable = pRefPool->GetName().Len() > 0;
+ FASTBOOL bResolvable = pRefPool->GetName().Len() > 0;
if ( !bResolvable )
{
// Bei einem anders aufgebauten Pool im Stream, mu\s die SlotId
@@ -1153,7 +1153,7 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate
//-------------------------------------------------------------------------
-int SfxItemPool::StoreSurrogate
+FASTBOOL SfxItemPool::StoreSurrogate
(
SvStream& rStream,
const SfxPoolItem* pItem
@@ -1166,7 +1166,7 @@ int SfxItemPool::StoreSurrogate
[R"uckgabewert]
- int sal_True
+ FASTBOOL sal_True
es wurde ein echtes Surrogat gespeichert, auch
SFX_ITEMS_NULL bei 'pItem==0',
SFX_ITEMS_STATICDEFAULT und SFX_ITEMS_POOLDEFAULT
@@ -1181,7 +1181,7 @@ int SfxItemPool::StoreSurrogate
{
if ( pItem )
{
- int bRealSurrogate = IsItemFlag(*pItem, SFX_ITEM_POOLABLE);
+ FASTBOOL bRealSurrogate = IsItemFlag(*pItem, SFX_ITEM_POOLABLE);
rStream << ( bRealSurrogate
? GetSurrogate( pItem )
: SFX_ITEMS_DIRECT );
@@ -1227,7 +1227,7 @@ sal_uInt32 SfxItemPool::GetSurrogate(const SfxPoolItem *pItem) const
// -----------------------------------------------------------------------
-int SfxItemPool::IsInStoringRange( sal_uInt16 nWhich ) const
+FASTBOOL SfxItemPool::IsInStoringRange( sal_uInt16 nWhich ) const
{
return nWhich >= pImp->nStoringStart &&
nWhich <= pImp->nStoringEnd;
@@ -1444,14 +1444,14 @@ sal_uInt16 SfxItemPool::GetNewWhich
// -----------------------------------------------------------------------
-int SfxItemPool::IsInVersionsRange( sal_uInt16 nWhich ) const
+FASTBOOL SfxItemPool::IsInVersionsRange( sal_uInt16 nWhich ) const
{
return nWhich >= pImp->nVerStart && nWhich <= pImp->nVerEnd;
}
// -----------------------------------------------------------------------
-int SfxItemPool::IsCurrentVersionLoading() const
+FASTBOOL SfxItemPool::IsCurrentVersionLoading() const
/* [Beschreibung]
@@ -1542,7 +1542,7 @@ sal_uInt16 SfxItemPool::GetLoadingVersion() const
//-------------------------------------------------------------------------
-int SfxItemPool::IsVer2_Impl() const
+FASTBOOL SfxItemPool::IsVer2_Impl() const
{
return pMaster->pImp->nMajorVer >= 2;
}
@@ -1550,8 +1550,8 @@ int SfxItemPool::IsVer2_Impl() const
//-------------------------------------------------------------------------
-int SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem,
- int bDirect ) const
+FASTBOOL SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem,
+ FASTBOOL bDirect ) const
/* [Beschreibung]
@@ -1576,7 +1576,7 @@ int SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem,
[Querverweise]
- <SfxItemPool::LoadItem(SvStream&,int)const>
+ <SfxItemPool::LoadItem(SvStream&,FASTBOOL)const>
*/
{
@@ -1616,7 +1616,7 @@ int SfxItemPool::StoreItem( SvStream &rStream, const SfxPoolItem &rItem,
//-------------------------------------------------------------------------
-const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, int bDirect,
+const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, FASTBOOL bDirect,
const SfxItemPool *pRefPool )
// pRefPool==-1 => nicht putten!
@@ -1650,7 +1650,7 @@ const SfxPoolItem* SfxItemPool::LoadItem( SvStream &rStream, int bDirect,
}
// wird eine andere Version geladen?
- int bCurVersion = pRefPool->IsCurrentVersionLoading();
+ FASTBOOL bCurVersion = pRefPool->IsCurrentVersionLoading();
if ( !bCurVersion )
// Which-Id auf neue Version mappen
nWhich = pRefPool->GetNewWhich( nWhich );