summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edlingu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edlingu.cxx')
-rw-r--r--sw/source/core/edit/edlingu.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index c40d776b419a..faecd8033ec2 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -155,7 +155,7 @@ class SwHyphIter : public SwLinguIter
// With that we save a GetFrame() in Hyphenate //TODO: does it actually matter?
const SwTextNode *m_pLastNode;
SwTextFrame *m_pLastFrame;
- friend SwTextFrame * sw::SwHyphIterCacheLastTextFrame(SwTextNode* pNode, const sw::Creator& rCreator);
+ friend SwTextFrame * sw::SwHyphIterCacheLastTextFrame(SwTextNode const * pNode, const sw::Creator& rCreator);
bool bOldIdle;
static void DelSoftHyph( SwPaM &rPam );
@@ -568,8 +568,7 @@ void SwHyphIter::InsertSoftHyph( const sal_Int32 nHyphPos )
namespace sw {
SwTextFrame *
-SwHyphIterCacheLastTextFrame(SwTextNode *const pNode,
- const sw::Creator& create)
+SwHyphIterCacheLastTextFrame(SwTextNode const * pNode, const sw::Creator& create)
{
assert(g_pHyphIter);
if (pNode != g_pHyphIter->m_pLastNode || !g_pHyphIter->m_pLastFrame)