From c68afc22fe8b1f90033cbe7d328a74daeae18e22 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jul 2012 09:21:51 +0200 Subject: Work around Mac GCC error Change-Id: I7fcd84e923c0971f420cfd3f298e5a1d0b111d1a --- svtools/source/contnr/imivctl2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx index de19b973c45d..5582403f9a59 100644 --- a/svtools/source/contnr/imivctl2.cxx +++ b/svtools/source/contnr/imivctl2.cxx @@ -128,7 +128,7 @@ SvxIconChoiceCtrlEntry* IcnCursor_Impl::SearchCol(sal_uInt16 nCol, sal_uInt16 nT IconChoiceMap::iterator mapIt = pColumns->find( nCol ); if ( mapIt == pColumns->end() ) return 0; - SvxIconChoiceCtrlEntryPtrVec& rList = mapIt->second; + SvxIconChoiceCtrlEntryPtrVec const & rList = mapIt->second; const sal_uInt16 nCount = rList.size(); if( !nCount ) return 0; @@ -203,7 +203,7 @@ SvxIconChoiceCtrlEntry* IcnCursor_Impl::SearchRow(sal_uInt16 nRow, sal_uInt16 nL IconChoiceMap::iterator mapIt = pRows->find( nRow ); if ( mapIt == pRows->end() ) return 0; - SvxIconChoiceCtrlEntryPtrVec& rList = mapIt->second; + SvxIconChoiceCtrlEntryPtrVec const & rList = mapIt->second; const sal_uInt16 nCount = rList.size(); if( !nCount ) return 0; -- cgit