summaryrefslogtreecommitdiff
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-14 13:27:38 +0100
commit44f40b82d52cfe60de3f18ed5aeae04171c9b197 (patch)
tree1e18676b46feef420c5de41e3648782bd054a3a0
parent390b6e5cf66363275ac693bfc37ead8508412c86 (diff)
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 be5c72768eed..1d8362828401 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1016,6 +1016,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;