summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVarun Dhall <varun.dhall@studentpartner.com>2017-08-17 01:57:59 +0530
committerMichael Stahl <mstahl@redhat.com>2017-08-17 10:54:59 +0200
commit006a7b50546c57e260245d4630de565705f2fc38 (patch)
treec913778b89039c85f0ebeea86bf7a5da11175b9b /include
parenta82af43b526c9eca38f74f51d9af0c99c62f8121 (diff)
Removing unused serialisation code
Change-Id: I86911c77f0831d448ff803afae2a74ec55ad4dd8 Reviewed-on: https://gerrit.libreoffice.org/41233 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editeng.hxx2
-rw-r--r--include/svl/itempool.hxx7
-rw-r--r--include/svl/macitem.hxx2
-rw-r--r--include/svx/svdpool.hxx2
-rw-r--r--include/svx/xpool.hxx2
5 files changed, 4 insertions, 11 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 55fe8dc174af..e7b33cfd5345 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -506,7 +506,7 @@ public:
virtual tools::Rectangle GetBulletArea( sal_Int32 nPara );
- static SfxItemPool* CreatePool( bool bLoadRefCounts = true );
+ static SfxItemPool* CreatePool();
static SfxItemPool& GetGlobalItemPool();
static bool DoesKeyChangeText( const KeyEvent& rKeyEvent );
static bool DoesKeyMoveCursor( const KeyEvent& rKeyEvent );
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index f2940ad49732..f8d5ca32f0af 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -91,8 +91,7 @@ public:
SfxItemPool( const OUString &rName,
sal_uInt16 nStart, sal_uInt16 nEnd,
const SfxItemInfo *pItemInfos,
- std::vector<SfxPoolItem*> *pDefaults = nullptr,
- bool bLoadRefCounts = true );
+ std::vector<SfxPoolItem*> *pDefaults = nullptr );
protected:
virtual ~SfxItemPool();
@@ -159,7 +158,6 @@ public:
sal_uInt16 GetFirstWhich() const;
sal_uInt16 GetLastWhich() const;
bool IsInRange( sal_uInt16 nWhich ) const;
- bool IsInVersionsRange( sal_uInt16 nWhich ) const;
void SetSecondaryPool( SfxItemPool *pPool );
SfxItemPool* GetSecondaryPool() const;
SfxItemPool* GetMasterPool() const;
@@ -176,9 +174,6 @@ public:
sal_uInt16 GetTrueWhich( sal_uInt16 nSlot, bool bDeep = true ) const;
sal_uInt16 GetTrueSlotId( sal_uInt16 nWhich ) const;
- sal_uInt16 GetNewWhich( sal_uInt16 nOldWhich ) const;
- void SetFileFormatVersion( sal_uInt16 nFileFormatVersion );
-
static bool IsWhich(sal_uInt16 nId) {
return nId && nId <= SFX_WHICH_MAX; }
static bool IsSlot(sal_uInt16 nId) {
diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx
index 788a721ccb37..504a8dcaab54 100644
--- a/include/svl/macitem.hxx
+++ b/include/svl/macitem.hxx
@@ -130,8 +130,6 @@ public:
OUString &rText,
const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
- virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const override;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const override;
const SvxMacroTableDtor& GetMacroTable() const { return aMacroTable;}
diff --git a/include/svx/svdpool.hxx b/include/svx/svdpool.hxx
index f82f88643c04..da8c241831d9 100644
--- a/include/svx/svdpool.hxx
+++ b/include/svx/svdpool.hxx
@@ -31,7 +31,7 @@ class XFillAttrSetItem;
class SVX_DLLPUBLIC SdrItemPool : public XOutdevItemPool
{
public:
- SdrItemPool(SfxItemPool* pMaster = nullptr, bool bLoadRefCounts = true);
+ SdrItemPool(SfxItemPool* pMaster = nullptr);
SdrItemPool(const SdrItemPool& rPool);
protected:
virtual ~SdrItemPool() override;
diff --git a/include/svx/xpool.hxx b/include/svx/xpool.hxx
index 6d3122153330..b849cbe1efd3 100644
--- a/include/svx/xpool.hxx
+++ b/include/svx/xpool.hxx
@@ -38,7 +38,7 @@ protected:
std::unique_ptr<SfxItemInfo[]> mpLocalItemInfos;
public:
- XOutdevItemPool( SfxItemPool* pMaster, bool bLoadRefCounts = true);
+ XOutdevItemPool( SfxItemPool* pMaster);
XOutdevItemPool(const XOutdevItemPool& rPool);
virtual SfxItemPool* Clone() const override;