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

Fridrich Štrba fridrich.strba at bluewin.ch
Sat Dec 19 10:20:24 PST 2015


 src/lib/VSD5Parser.cpp |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 5bc423adc427f85a3ca7909c0639770543dd88de
Author: Fridrich Štrba <fridrich.strba at bluewin.ch>
Date:   Sat Dec 19 19:19:59 2015 +0100

    Fix warnings about explicit constructors of boost optional
    
    Change-Id: Icb7e6533a1b69e7a02b2c606ce8f65b466d2527e

diff --git a/src/lib/VSD5Parser.cpp b/src/lib/VSD5Parser.cpp
index 58d62b3..601313d 100644
--- a/src/lib/VSD5Parser.cpp
+++ b/src/lib/VSD5Parser.cpp
@@ -240,6 +240,8 @@ void libvisio::VSD5Parser::readParaIX(librevenge::RVNGInputStream *input)
   input->seek(1, librevenge::RVNG_SEEK_CUR);
 
   VSDName bulletStr;
+  double textPosAfterTab(0.0);
+  unsigned flags(0);
   /*
     long remainingData = m_header.dataLength - input->tell() + startPosition;
     unsigned blockLength = 0;
@@ -270,7 +272,7 @@ void libvisio::VSD5Parser::readParaIX(librevenge::RVNGInputStream *input)
   */
   if (m_isInStyles)
     m_collector->collectParaIXStyle(m_header.id, m_header.level, charCount, indFirst, indLeft, indRight,
-                                    spLine, spBefore, spAfter, align, bullet, bulletStr, 0.0, 0);
+                                    spLine, spBefore, spAfter, align, bullet, bulletStr, textPosAfterTab, flags);
   else
   {
     if (m_isStencilStarted)
@@ -280,9 +282,9 @@ void libvisio::VSD5Parser::readParaIX(librevenge::RVNGInputStream *input)
 
     m_shape.m_paraStyle.override(VSDOptionalParaStyle(charCount, indFirst, indLeft, indRight,
                                                       spLine, spBefore, spAfter, align, bullet,
-                                                      bulletStr, 0.0, 0));
+                                                      bulletStr, textPosAfterTab, 0));
     m_shape.m_paraList.addParaIX(m_header.id, m_header.level, charCount, indFirst, indLeft, indRight,
-                                 spLine, spBefore, spAfter, align, bullet, bulletStr, 0.0, 0);
+                                 spLine, spBefore, spAfter, align, bullet, bulletStr, textPosAfterTab, flags);
   }
 }
 


More information about the Libreoffice-commits mailing list