summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-09 22:50:09 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-09 22:50:09 +0200
commit985708407a53bc66225e3779dd7b6ee8936cdb02 (patch)
treea8e97a51f65ee7b13f775b86aced63d159385648 /sw/source
parent1166966eb4112fdf332c656eae5082d82a3ec2f2 (diff)
WaE: private field 'doc' is not used
Change-Id: I0386d6ee091288ae0913d31ee0ddddee4d3cbb6f
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/atrfrm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index f3304f5fbe81..d263dcfeaca1 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 );