[Libreoffice-commits] .: svtools/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Jul 19 00:22:00 PDT 2012
svtools/source/contnr/imivctl2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c68afc22fe8b1f90033cbe7d328a74daeae18e22
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jul 19 09:21:51 2012 +0200
Work around Mac GCC error
Change-Id: I7fcd84e923c0971f420cfd3f298e5a1d0b111d1a
diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx
index de19b97..5582403 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;
More information about the Libreoffice-commits
mailing list