[Libreoffice-commits] core.git: writerfilter/source

Michael Stahl mstahl at redhat.com
Wed Apr 3 06:47:22 PDT 2013


 writerfilter/source/dmapper/DomainMapperTableHandler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c2006fb823985c560404b0060ffe88810aa1d52f
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Apr 3 15:43:44 2013 +0200

    writerfilter: fix silly init causing trivial STL assertion in test
    
    (regression from 35b75ed510f49ff64cd86b38e228c2b5b9a9f3fc)
    
    Change-Id: I4342fd619f4d1f760b8fef2594a67b9fb7cd8f0e

diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index 6a0609b..495165b 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -362,8 +362,8 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
             }
         }
 
-        PropertyMap::iterator aTblLookIter =
-        aTblLookIter = m_aTableProperties->find( PropertyDefinition( PROP_TBL_LOOK, false ) );
+        PropertyMap::iterator const aTblLookIter =
+            m_aTableProperties->find(PropertyDefinition(PROP_TBL_LOOK, false));
         if(aTblLookIter != m_aTableProperties->end())
         {
             aTblLookIter->second >>= rInfo.nTblLook;


More information about the Libreoffice-commits mailing list