[Libreoffice-commits] libvisio.git: 2 commits - configure.ac NEWS src/lib

David Tardon dtardon at redhat.com
Sat Jul 25 00:33:25 PDT 2015


 NEWS                    |    5 +++++
 configure.ac            |    2 +-
 src/lib/VSDMetaData.cpp |    8 ++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

New commits:
commit 3b6d0b1c7c68defa667af9c073f35e5e702d9513
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jul 25 09:30:57 2015 +0200

    prepare for a new release
    
    Change-Id: I941d9ddb230f1f990dd276ed8ea1c5ab3bf058ab

diff --git a/NEWS b/NEWS
index cde71fc..25e5cf9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+libvisio 0.1.3
+
+- Fix a build failure with some compilers.
+- Do not use C++11 syntax.
+
 libvisio 0.1.2
 
 - Fix several build problems with different compilers.
diff --git a/configure.ac b/configure.ac
index 4569a17..1611dcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ AC_PREREQ([2.65])
 # ====================
 m4_define([libvisio_version_major],[0])
 m4_define([libvisio_version_minor],[1])
-m4_define([libvisio_version_micro],[2])
+m4_define([libvisio_version_micro],[3])
 m4_define([libvisio_version],[libvisio_version_major.libvisio_version_minor.libvisio_version_micro])
 
 # =============
commit 998af1f9e3acadab72d9cb56c558ea3dce64a311
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jul 25 09:18:10 2015 +0200

    C++11 syntax is not allowed
    
    Change-Id: Ia705f789b3f9d600b03d25db90972a315e782302

diff --git a/src/lib/VSDMetaData.cpp b/src/lib/VSDMetaData.cpp
index 32d8fcb..00dca07 100644
--- a/src/lib/VSDMetaData.cpp
+++ b/src/lib/VSDMetaData.cpp
@@ -217,15 +217,15 @@ void libvisio::VSDMetaData::readTypedPropertyValue(librevenge::RVNGInputStream *
       {
         switch (m_idsAndOffsets[index].first)
         {
-        case PIDDSI::PIDDSI_CATEGORY:
+        case PIDDSI_CATEGORY:
           m_metaData.insert("librevenge:category", string);
           break;
-        case PIDDSI::PIDDSI_LINECOUNT:
-          // this should actually be PIDDSI::PIDDSI_COMPANY but this
+        case PIDDSI_LINECOUNT:
+          // this should actually be PIDDSI_COMPANY but this
           // is what company is mapped to
           m_metaData.insert("librevenge:company", string);
           break;
-        case PIDDSI::PIDDSI_LANGUAGE:
+        case PIDDSI_LANGUAGE:
           m_metaData.insert("dc:language", string);
           break;
         }


More information about the Libreoffice-commits mailing list