summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-11-09 22:59:41 +0100
committerLuboš Luňák <l.lunak@collabora.com>2014-11-09 23:00:23 +0100
commit167a0383f0064372ad36d08f6318385adaacc6dc (patch)
treec2de2a70eacf962b21780d421c0c5ef6ef9c81c5
parentspeed up SwDoc::IsInHeaderFooter() by using SwFrmFmtAnchorMap (diff)
downloadcore-167a0383f0064372ad36d08f6318385adaacc6dc.tar.gz
core-167a0383f0064372ad36d08f6318385adaacc6dc.zip
avoid unused argument warning
Change-Id: Ib67b804423b521407710f8319cb89977e44494cc
-rw-r--r--sw/source/core/layout/frmtool.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 8f714b5a1745..a3dc23f34824 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1014,6 +1014,8 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex,
checkFmts.push_back( pFmt );
}
}
+#else
+ (void)pTbl;
#endif
SwFrmFmtAnchorMap::const_iterator_pair range = doc->GetFrmFmtAnchorMap()->equal_range( SwNodeIndex( doc->GetNodes(), nIndex ));
for( std::multimap< SwNodeIndex, SwFrmFmt* >::const_iterator it = range.first;