[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Thu Mar 13 23:36:50 PDT 2014


 sw/source/core/doc/docnum.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5483a31bfb3d3d0a44e198da196432cc430c67f5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Mar 14 08:33:20 2014 +0200

    WaE: expression result unused
    
    Change-Id: Ic0bb1e059817ff0f0c056720894b025222c6c5b4

diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 7e112f0..55f585c 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -385,7 +385,7 @@ bool SwDoc::OutlineUpDown( const SwPaM& rPam, short nOffset )
                 pColl = aCollArr[ aMoveArr[nLevel] ];
 
                 if (pColl != NULL)
-                    (SwTxtFmtColl*)pTxtNd->ChgFmtColl( pColl );
+                    pTxtNd->ChgFmtColl( pColl );
             }
 
         }


More information about the Libreoffice-commits mailing list