[Libreoffice-commits] libcdr.git: src/lib

Fridrich Štrba fridrich.strba at bluewin.ch
Thu Jul 14 08:42:33 UTC 2016


 src/lib/CDRParser.cpp |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ca6444d0c64a75120bf40ad2c4df66556ff166ca
Author: Fridrich Štrba <fridrich.strba at bluewin.ch>
Date:   Thu Jul 14 10:42:08 2016 +0200

    This does not look like used
    
    Change-Id: I4af4f9118d18ac15af228d9586b15d1c31e896a1

diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index bdef6cf..5368c35 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -2555,7 +2555,6 @@ void libcdr::CDRParser::readStlt(librevenge::RVNGInputStream *input, unsigned le
   try
   {
 #endif
-    std::map<unsigned, CDRCharacterStyle> charStyles;
     if (m_version < 700)
       return;
     if (!_redirectX6Chunk(&input, length))
@@ -2798,7 +2797,6 @@ void libcdr::CDRParser::readStlt(librevenge::RVNGInputStream *input, unsigned le
         if (parentId)
           tmpCharStyle.m_parentId = parentId;
         m_collector->collectStld(iter->first, tmpCharStyle);
-        charStyles[iter->first] = tmpCharStyle;
       }
     }
     catch (libcdr::EndOfStreamException &)


More information about the Libreoffice-commits mailing list