[Libreoffice-commits] .: sw/source

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Oct 7 00:32:43 PDT 2011


 sw/source/ui/docvw/PageBreakWin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a08ce297711ae13ac4080d444a199ba47957c06
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Oct 7 09:30:31 2011 +0200

    Trying to unbreak the build with older GCC
    
    If I am completely wrong, feel free to revert
    and fix it the right way

diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx
index 5ccb209..6566488 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() )
                     {


More information about the Libreoffice-commits mailing list