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

Fridrich Štrba fridrich.strba at bluewin.ch
Sun Feb 5 21:49:31 UTC 2017


 src/lib/VSDXMLParserBase.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3b137389ae81d3b3ae326561d7a314e38afa5e4c
Author: Fridrich Štrba <fridrich.strba at bluewin.ch>
Date:   Sun Feb 5 22:48:58 2017 +0100

    This one was wrong
    
    Change-Id: If578f9289aef9b4265545ef4b10215ea555091d7

diff --git a/src/lib/VSDXMLParserBase.cpp b/src/lib/VSDXMLParserBase.cpp
index ec2a4ab..d1b8676 100644
--- a/src/lib/VSDXMLParserBase.cpp
+++ b/src/lib/VSDXMLParserBase.cpp
@@ -2184,7 +2184,7 @@ int libvisio::VSDXMLParserBase::readExtendedColourData(Colour &value, long &idx,
         if (iter != m_colours.end())
           value = iter->second;
         else
-          return -1000;
+          idx = -1;
       }
     }
     else


More information about the Libreoffice-commits mailing list