summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-16 10:21:03 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-16 10:21:03 +0100
commitafd15e87c3a85d2c5e86d5703a5f3ccf50d97002 (patch)
treea12b70895607590cc3e12d86bb9a21b0161ff5b5
parentccfc261d411d6be27967d28833bad633c06282eb (diff)
m_lead -> m_leader to correspond to the Visio terminology
Change-Id: I0944e0f3329f6761720048b0c9d0cc0bce698647
-rw-r--r--src/lib/VSDParser.cpp2
-rw-r--r--src/lib/VSDTypes.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/VSDParser.cpp b/src/lib/VSDParser.cpp
index c332963..c935a59 100644
--- a/src/lib/VSDParser.cpp
+++ b/src/lib/VSDParser.cpp
@@ -780,7 +780,7 @@ void libvisio::VSDParser::readTabsData(librevenge::RVNGInputStream *input)
input->seek(1, librevenge::RVNG_SEEK_CUR);
tabStop.m_position = readDouble(input);
tabStop.m_alignment = readU8(input);
- tabStop.m_lead = readU8(input);
+ tabStop.m_leader = readU8(input);
tabStops.push_back(tabStop);
}
}
diff --git a/src/lib/VSDTypes.h b/src/lib/VSDTypes.h
index 6790fa4..214db21 100644
--- a/src/lib/VSDTypes.h
+++ b/src/lib/VSDTypes.h
@@ -213,11 +213,11 @@ struct VSDTabStop
{
double m_position;
unsigned char m_alignment;
- unsigned char m_lead;
- VSDTabStop() : m_position(0.0), m_alignment(0), m_lead(0) {}
+ unsigned char m_leader;
+ VSDTabStop() : m_position(0.0), m_alignment(0), m_leader(0) {}
VSDTabStop(const VSDTabStop &tabStop) :
m_position(tabStop.m_position), m_alignment(tabStop.m_alignment),
- m_lead(tabStop.m_lead) {}
+ m_leader(tabStop.m_leader) {}
};
} // namespace libvisio