diff options
author | David Tardon <dtardon@redhat.com> | 2015-07-25 09:15:22 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-07-25 09:15:56 +0200 |
commit | bff49703c8dbb7bbae77537a0e783ca27755dc66 (patch) | |
tree | ec3fdbe2ecbe3bc77516c63fe2e0fae5cef28c50 | |
parent | c8aa2de59a473d95374a7a1beac2aff8ee5c371e (diff) |
C++11 syntax is not allowed
Change-Id: Id42b64c2ce7016874c6d55ab92f120c0d4d0e5e6
-rw-r--r-- | src/lib/VSDMetaData.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/VSDMetaData.cpp b/src/lib/VSDMetaData.cpp index 08e38fe..32d8fcb 100644 --- a/src/lib/VSDMetaData.cpp +++ b/src/lib/VSDMetaData.cpp @@ -140,7 +140,7 @@ uint32_t libvisio::VSDMetaData::getCodePage() { for (size_t i = 0; i < m_idsAndOffsets.size(); ++i) { - if (m_idsAndOffsets[i].first == PIDSI::CODEPAGE_PROPERTY_IDENTIFIER) + if (m_idsAndOffsets[i].first == CODEPAGE_PROPERTY_IDENTIFIER) { if (i >= m_typedPropertyValues.size()) break; @@ -188,23 +188,23 @@ void libvisio::VSDMetaData::readTypedPropertyValue(librevenge::RVNGInputStream * { switch (m_idsAndOffsets[index].first) { - case PIDSI::PIDSI_TITLE: + case PIDSI_TITLE: m_metaData.insert("dc:title", string); break; - case PIDSI::PIDSI_SUBJECT: + case PIDSI_SUBJECT: m_metaData.insert("dc:subject", string); break; - case PIDSI::PIDSI_AUTHOR: + case PIDSI_AUTHOR: m_metaData.insert("meta:initial-creator", string); m_metaData.insert("dc:creator", string); break; - case PIDSI::PIDSI_KEYWORDS: + case PIDSI_KEYWORDS: m_metaData.insert("meta:keyword", string); break; - case PIDSI::PIDSI_COMMENTS: + case PIDSI_COMMENTS: m_metaData.insert("dc:description", string); break; - case PIDSI::PIDSI_TEMPLATE: + case PIDSI_TEMPLATE: std::string templateHref(string.cstr()); size_t found = templateHref.find_last_of("/\\"); if (found != std::string::npos) |