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

David Tardon dtardon at redhat.com
Tue May 16 07:43:12 UTC 2017


 src/lib/VSDContentCollector.cpp |    4 ++--
 src/lib/VSDXMLParserBase.cpp    |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 1b35448f766f9baffc1482da0e75360168f76f24
Author: David Tardon <dtardon at redhat.com>
Date:   Tue May 16 09:42:49 2017 +0200

    drop :: prefix
    
    Change-Id: Iae34b40ce6fb2f99badf91fb7f97523f123ffcd4

diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index acb2a30..51484a3 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -3551,7 +3551,7 @@ void libvisio::VSDContentCollector::endPages()
 
 bool libvisio::VSDContentCollector::parseFormatId(const char *formatString, unsigned short &result)
 {
-  using namespace ::boost::spirit::qi;
+  using namespace boost::spirit::qi;
 
   result = 0xffff;
 
@@ -3748,7 +3748,7 @@ void libvisio::VSDContentCollector::collectLayerMem(unsigned level, const VSDNam
   memcpy(&tmpData[0], layerMem.m_data.getDataBuffer(), layerMem.m_data.size());
   appendCharacters(text, tmpData, layerMem.m_format);
 
-  using namespace ::boost::spirit::qi;
+  using namespace boost::spirit::qi;
   auto first = text.cstr();
   const auto last = first + strlen(first);
   bool bRes = phrase_parse(first, last, int_ % ';', space, m_currentLayerMem) && first == last;
diff --git a/src/lib/VSDXMLParserBase.cpp b/src/lib/VSDXMLParserBase.cpp
index 5eb6481..b557078 100644
--- a/src/lib/VSDXMLParserBase.cpp
+++ b/src/lib/VSDXMLParserBase.cpp
@@ -1971,7 +1971,7 @@ int libvisio::VSDXMLParserBase::readNURBSData(boost::optional<NURBSData> &data,
   {
     std::pair<double, double> point;
 
-    using namespace ::boost::spirit::qi;
+    using namespace boost::spirit::qi;
     namespace phx = boost::phoenix;
     using phx::push_back;
     using phx::ref;
@@ -2023,7 +2023,7 @@ int libvisio::VSDXMLParserBase::readPolylineData(boost::optional<PolylineData> &
   {
     std::pair<double, double> point;
 
-    using namespace ::boost::spirit::qi;
+    using namespace boost::spirit::qi;
     namespace phx = boost::phoenix;
     using phx::push_back;
     using phx::ref;
@@ -2236,7 +2236,7 @@ unsigned libvisio::VSDXMLParserBase::getIX(xmlTextReaderPtr reader)
 
 void libvisio::VSDXMLParserBase::readTriggerId(unsigned &id, xmlTextReaderPtr reader)
 {
-  using namespace ::boost::spirit::qi;
+  using namespace boost::spirit::qi;
 
   unsigned triggerId = MINUS_ONE;
   const std::shared_ptr<xmlChar> triggerString(xmlTextReaderGetAttribute(reader, BAD_CAST("F")), xmlFree);


More information about the Libreoffice-commits mailing list