summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-07-25 01:47:40 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-07-25 09:47:55 +0200
commit93d9abd966a875a9f5f188786f1baedeb390c4c9 (patch)
tree171e6bb1178a2862131e9caead4118ada1ce4a25 /sw
parent9cb5358d2fd6d1a86b79134dfab17bbcd858e640 (diff)
remove unused params
Change-Id: I6e297a5972bf6d50f99e0533c6f8b15d552de970
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/CntntIdxStore.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx
index d3c07bf3b00b..5f9b44a8a32c 100644
--- a/sw/source/core/doc/CntntIdxStore.cxx
+++ b/sw/source/core/doc/CntntIdxStore.cxx
@@ -156,8 +156,8 @@ namespace
RestoreBkmks(pDoc, aUpdater);
RestoreRedlines(pDoc, aUpdater);
RestoreFlys(pDoc, aUpdater, bAuto);
- RestoreUnoCrsrs(pDoc, aUpdater);
- RestoreShellCrsrs(pDoc, aUpdater);
+ RestoreUnoCrsrs(aUpdater);
+ RestoreShellCrsrs(aUpdater);
}
virtual void Restore(SwNode& rNd, sal_Int32 nLen, sal_Int32 nCorrLen) SAL_OVERRIDE
{
@@ -167,8 +167,8 @@ namespace
RestoreBkmks(pDoc, aUpdater);
RestoreRedlines(pDoc, aUpdater);
RestoreFlys(pDoc, aUpdater, false);
- RestoreUnoCrsrs(pDoc, aUpdater);
- RestoreShellCrsrs(pDoc, aUpdater);
+ RestoreUnoCrsrs(aUpdater);
+ RestoreShellCrsrs(aUpdater);
}
virtual ~CntntIdxStoreImpl(){};
private:
@@ -179,9 +179,9 @@ namespace
inline void SaveFlys(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt, bool bSaveFlySplit);
inline void RestoreFlys(SwDoc* pDoc, updater_t& rUpdater, bool bAuto);
inline void SaveUnoCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt);
- inline void RestoreUnoCrsrs(SwDoc* pDoc, updater_t& rUpdater);
+ inline void RestoreUnoCrsrs(updater_t& rUpdater);
inline void SaveShellCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt);
- inline void RestoreShellCrsrs(SwDoc* pDoc, updater_t& rUpdater);
+ inline void RestoreShellCrsrs(updater_t& rUpdater);
inline const SwPosition& GetRightMarkPos(::sw::mark::IMark* pMark, bool bOther)
{ return bOther ? pMark->GetOtherMarkPos() : pMark->GetMarkPos(); };
inline void SetRightMarkPos(MarkBase* pMark, bool bOther, const SwPosition* const pPos)
@@ -392,7 +392,7 @@ void CntntIdxStoreImpl::SaveUnoCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCn
}
}
-void CntntIdxStoreImpl::RestoreUnoCrsrs(SwDoc* /* pDoc */, updater_t& rUpdater)
+void CntntIdxStoreImpl::RestoreUnoCrsrs(updater_t& rUpdater)
{
BOOST_FOREACH(const PaMEntry& aEntry, m_aUnoCrsrEntries)
{
@@ -423,7 +423,7 @@ void CntntIdxStoreImpl::SaveShellCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 n
} while((_pStartShell=(SwViewShell*)_pStartShell->GetNext())!= pShell );
}
-void CntntIdxStoreImpl::RestoreShellCrsrs(SwDoc* /* pDoc */, updater_t& rUpdater)
+void CntntIdxStoreImpl::RestoreShellCrsrs(updater_t& rUpdater)
{
BOOST_FOREACH(const PaMEntry& aEntry, m_aShellCrsrEntries)
{