summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-08-26 23:49:40 +0200
committerJan Holesovsky <kendy@suse.cz>2011-08-26 23:49:40 +0200
commitf952331f0cf11f624d1df7c1c5a7468c16ffdc82 (patch)
tree6143402ca9ff9eb006c72acee2d40133316c2c41 /sw
parent9c7e4d87c327ad929992b0a0ff2e70f156de5ff8 (diff)
Remove unused parameter.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index ad41abd73de7..550c8a9e45b6 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -103,7 +103,7 @@ namespace {
return bRet;
}
- long lcl_GetSurface( SwPosition* pPos, const SwPageFrm* pPageFrm )
+ long lcl_GetSurface( SwPosition* pPos )
{
SwRect aArea;
@@ -237,7 +237,7 @@ sal_Bool SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
//aktuellen an. Mit Flys ist es dann allerdings vorbei.
if ( SwLayoutFrm::GetCrsrOfst( &aTextPos, aPoint, pCMS ) )
{
- nTextSurface = lcl_GetSurface( &aTextPos, this );
+ nTextSurface = lcl_GetSurface( &aTextPos );
bTextRet = sal_True;
}
else