sw/source/core/layout/atrfrm.cxx | 2 ++ sw/source/core/layout/frmtool.cxx | 1 + 2 files changed, 3 insertions(+)
New commits: commit e24ed4e3a0bf603f2ea359b10542477ddd654564 Author: Tor Lillqvist <t...@collabora.com> Date: Sun Nov 9 22:52:15 2014 +0200 WaE: unused parameter 'pTbl' Change-Id: I96dcaeb1b0d01b8b7b21cafce7fed4261c1060a7 diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 5132eec..8f714b5 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -1001,6 +1001,7 @@ SwCntntNotify::~SwCntntNotify() void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex, SwFrm *pFrm, SwPageFrm *pPage, SwDoc* doc ) { + (void) pTbl; #if OSL_DEBUG_LEVEL > 0 std::list<SwFrmFmt*> checkFmts; for ( sal_uInt16 i = 0; i < pTbl->size(); ++i ) commit 985708407a53bc66225e3779dd7b6ee8936cdb02 Author: Tor Lillqvist <t...@collabora.com> Date: Sun Nov 9 22:50:09 2014 +0200 WaE: private field 'doc' is not used Change-Id: I0386d6ee091288ae0913d31ee0ddddee4d3cbb6f diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index f3304f5..d263dcf 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -3342,12 +3342,14 @@ SwFrmFmtAnchorMap::SwFrmFmtAnchorMap( const SwDoc* _doc ) void SwFrmFmtAnchorMap::Add( SwFrmFmt* fmt, const SwNodeIndex& pos ) { + (void) doc; assert( pos.GetNode().GetDoc() == doc ); items.insert( std::make_pair( pos, fmt )); } void SwFrmFmtAnchorMap::Remove( SwFrmFmt* fmt, const SwNodeIndex& pos ) { + (void) doc; assert( pos.GetNode().GetDoc() == doc ); typedef std::multimap< SwNodeIndex, SwFrmFmt* >::iterator iterator; std::pair< iterator, iterator > range = items.equal_range( pos ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits