summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-15 16:59:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-15 17:01:57 +0100
commit87891c1c8bb82904fd68c523cb1aa11ddcfaaa3d (patch)
tree97de9e8f324c5c13618f9d3117c3f5c64161e319
parent346849d646e4821b2d85559130c5aba44c94b8a5 (diff)
Related gcc#50394 pernickety gcc 4.7.0
-rw-r--r--oox/inc/oox/helper/refmap.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/inc/oox/helper/refmap.hxx b/oox/inc/oox/helper/refmap.hxx
index dc1089aeb61d..8afaa102ef7a 100644
--- a/oox/inc/oox/helper/refmap.hxx
+++ b/oox/inc/oox/helper/refmap.hxx
@@ -178,10 +178,10 @@ private:
};
inline const mapped_type* getRef( key_type nKey ) const
- {
- typename container_type::const_iterator aIt = find( nKey );
- return (aIt == this->end()) ? 0 : &aIt->second;
- }
+ {
+ typename container_type::const_iterator aIt = this->find( nKey );
+ return (aIt == this->end()) ? 0 : &aIt->second;
+ }
};
// ============================================================================