summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-10-07 09:30:31 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-10-07 09:31:32 +0200
commit1a08ce297711ae13ac4080d444a199ba47957c06 (patch)
treea754ae90f267f7959e9c54d73b8e62e35fb936c8 /sw
parent8cc9bf475a351bd0851f057f38ee596ca9ecc7ce (diff)
Trying to unbreak the build with older GCC
If I am completely wrong, feel free to revert and fix it the right way
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/PageBreakWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx
index 5ccb209c17b4..6566488a17b8 100644
--- a/sw/source/ui/docvw/PageBreakWin.cxx
+++ b/sw/source/ui/docvw/PageBreakWin.cxx
@@ -256,7 +256,7 @@ void SwPageBreakWin::Select( )
SwCntntFrm *pCnt = const_cast< SwCntntFrm* >( pBodyFrm->ContainsCntnt() );
SwCntntNode* pNd = pCnt->GetNode();
- rSh.SetSelection( SwPaM( *pNd ) );
+ rSh.SetSelection( *pNd );
if ( pBodyFrm->Lower()->IsTabFrm() )
{