summaryrefslogtreecommitdiff
path: root/include/svl/itempool.hxx
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:50:25 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:10 +0200
commitbf42b6f9f51b4bc66e267ae24c87ac79122825cc (patch)
tree449f642fc53e3d654ae36a39877efc41a8b74fcc /include/svl/itempool.hxx
parent3f84d81412f123bda0dde57c4e52abe9f49f58af (diff)
fdo#62475 - remove visual noise
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
Diffstat (limited to 'include/svl/itempool.hxx')
-rw-r--r--include/svl/itempool.hxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 01c9e5bbed70..4fba3e33b213 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -36,21 +36,15 @@ struct SfxItemPool_Impl;
DBG_NAMEEX(SfxItemPool)
-//====================================================================
-
#define SFX_ITEM_POOLABLE 0x0001
#define SFX_ITEM_NOT_POOLABLE 0x0002
-//====================================================================
-
struct SfxItemInfo
{
sal_uInt16 _nSID;
sal_uInt16 _nFlags;
};
-//====================================================================
-
class SfxStyleSheetIterator;
struct SfxPoolItemArray_Impl;
class SfxItemPool;
@@ -64,8 +58,6 @@ protected:
~SfxItemPoolUser() {}
};
-class SVL_DLLPUBLIC SfxItemPool
-
/* [Beschreibung]
Die von dieser Klasse abgeleiteten Klassen dienen der Bereitstellung von
@@ -78,7 +70,7 @@ class SVL_DLLPUBLIC SfxItemPool
beschleunigt und ein einfaches Laden und Speichern von Attributen
bereitstellt.
*/
-
+class SVL_DLLPUBLIC SfxItemPool
{
friend struct SfxItemPool_Impl;
@@ -89,9 +81,7 @@ public:
void AddSfxItemPoolUser(SfxItemPoolUser& rNewUser);
void RemoveSfxItemPoolUser(SfxItemPoolUser& rOldUser);
- //---------------------------------------------------------------------
#ifndef _SFXITEMS_HXX
-
private:
sal_uInt16 GetIndex_Impl(sal_uInt16 nWhich) const;
sal_uInt16 GetSize_Impl() const;
@@ -103,9 +93,7 @@ public:
// fuer dflt. SfxItemSet::CTOR, setze dflt. WhichRanges
void FillItemIdRanges_Impl( sal_uInt16*& pWhichRanges ) const;
const sal_uInt16* GetFrozenIdRanges() const;
-
#endif
- //---------------------------------------------------------------------
protected:
static inline void SetRefCount( SfxPoolItem& rItem, sal_uLong n );
@@ -121,8 +109,10 @@ public:
const SfxItemInfo *pItemInfos,
SfxPoolItem **pDefaults = 0,
bool bLoadRefCounts = true );
+
protected:
virtual ~SfxItemPool();
+
public:
static void Free(SfxItemPool* pPool);
@@ -240,8 +230,6 @@ private:
static const SfxItemPool* pStoringPool_;
};
-// --------------- Inline Implementierungen ------------------------------
-
// nur der Pool darf den Referenz-Zaehler manipulieren !!!
inline void SfxItemPool::SetRefCount( SfxPoolItem& rItem, sal_uLong n )
{