From 87891c1c8bb82904fd68c523cb1aa11ddcfaaa3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 15 Sep 2011 16:59:30 +0100 Subject: [PATCH] Related gcc#50394 pernickety gcc 4.7.0 --- oox/inc/oox/helper/refmap.hxx | 8 ++++---- 1 file 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; + } }; // ============================================================================