summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-18 17:09:42 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-18 17:09:42 +0200
commit1424048914312fccd587e415d1f94f8df1531f8e (patch)
treeab02f76cba2d073b9a7e06a7ed9e9dcd78dab80a /src/lib
parent54b2749837d6e7977b7e07c1e305f389641c9c88 (diff)
pointless whitespace cleanup to increase my commit count
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/VSDCharacterList.cpp14
-rw-r--r--src/lib/VSDCollector.h6
-rw-r--r--src/lib/VSDContentCollector.cpp4
-rw-r--r--src/lib/VSDContentCollector.h6
-rw-r--r--src/lib/VSDParagraphList.cpp6
-rw-r--r--src/lib/VSDStyles.h2
-rw-r--r--src/lib/VSDStylesCollector.cpp2
-rw-r--r--src/lib/VSDStylesCollector.h6
8 files changed, 23 insertions, 23 deletions
diff --git a/src/lib/VSDCharacterList.cpp b/src/lib/VSDCharacterList.cpp
index 24aa5bf..0856d8a 100644
--- a/src/lib/VSDCharacterList.cpp
+++ b/src/lib/VSDCharacterList.cpp
@@ -47,8 +47,8 @@ class VSDCharIX : public VSDCharacterListElement
{
public:
VSDCharIX(unsigned id , unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, double fontSize,
- bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
- bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace) :
+ bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
+ bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace) :
m_id(id), m_level(level), m_charCount(charCount), m_fontID(fontID), m_fontColour(fontColour), m_fontSize(fontSize),
m_bold(bold), m_italic(italic), m_underline(underline), m_doubleunderline(doubleunderline), m_strikeout(strikeout),
m_doublestrikeout(doublestrikeout), m_allcaps(allcaps), m_initcaps(initcaps), m_smallcaps(smallcaps),
@@ -72,15 +72,15 @@ private:
void libvisio::VSDCharIX::handle(VSDCollector *collector)
{
collector->collectVSDCharStyle(m_id, m_level, m_charCount, m_fontID, m_fontColour, m_fontSize, m_bold, m_italic, m_underline,
- m_doubleunderline, m_strikeout, m_doublestrikeout, m_allcaps, m_initcaps, m_smallcaps,
- m_superscript, m_subscript, m_fontFace);
+ m_doubleunderline, m_strikeout, m_doublestrikeout, m_allcaps, m_initcaps, m_smallcaps,
+ m_superscript, m_subscript, m_fontFace);
}
libvisio::VSDCharacterListElement *libvisio::VSDCharIX::clone()
{
return new VSDCharIX(m_id, m_level, m_charCount, m_fontID, m_fontColour, m_fontSize, m_bold, m_italic, m_underline,
- m_doubleunderline, m_strikeout, m_doublestrikeout, m_allcaps, m_initcaps, m_smallcaps,
- m_superscript, m_subscript, m_fontFace);
+ m_doubleunderline, m_strikeout, m_doublestrikeout, m_allcaps, m_initcaps, m_smallcaps,
+ m_superscript, m_subscript, m_fontFace);
}
@@ -119,7 +119,7 @@ void libvisio::VSDCharacterList::addCharIX(unsigned id , unsigned level, unsigne
bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace)
{
m_elements[id] = new VSDCharIX(id, level, charCount, fontID, fontColour, fontSize, bold, italic, underline, doubleunderline,
- strikeout, doublestrikeout, allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
+ strikeout, doublestrikeout, allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
}
void libvisio::VSDCharacterList::setElementsOrder(const std::vector<unsigned> &elementsOrder)
diff --git a/src/lib/VSDCollector.h b/src/lib/VSDCollector.h
index c314370..838f54b 100644
--- a/src/lib/VSDCollector.h
+++ b/src/lib/VSDCollector.h
@@ -84,10 +84,10 @@ public:
virtual void collectFont(unsigned short fontID, const ::WPXBinaryData &textStream, TextFormat format) = 0;
virtual void collectText(unsigned id, unsigned level, const ::WPXBinaryData &textStream, TextFormat format) = 0;
virtual void collectVSDCharStyle(unsigned id , unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, double fontSize,
- bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
- bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace) = 0;
+ bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
+ bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace) = 0;
virtual void collectVSDParaStyle(unsigned id , unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight,
- double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) = 0;
+ double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) = 0;
virtual void collectTextBlock(unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin,
unsigned char verticalAlign, unsigned char bgClrId, const Colour &bgColour, double defaultTabStop,
unsigned char textDirection) = 0;
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index e08ccb6..125b025 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -2179,8 +2179,8 @@ void libvisio::VSDContentCollector::collectVSDCharStyle(unsigned /*id*/ , unsign
{
_handleLevelChange(level);
VSDCharStyle format(charCount, fontID, fontColour, fontSize, bold, italic,
- underline, doubleunderline, strikeout, doublestrikeout,
- allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
+ underline, doubleunderline, strikeout, doublestrikeout,
+ allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
m_charFormats.push_back(format);
}
diff --git a/src/lib/VSDContentCollector.h b/src/lib/VSDContentCollector.h
index 3cf9792..ef70b2d 100644
--- a/src/lib/VSDContentCollector.h
+++ b/src/lib/VSDContentCollector.h
@@ -106,10 +106,10 @@ public:
void collectFont(unsigned short fontID, const WPXBinaryData &textStream, TextFormat format);
void collectText(unsigned id, unsigned level, const WPXBinaryData &textStream, TextFormat format);
void collectVSDCharStyle(unsigned id , unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, double fontSize,
- bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
- bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace);
+ bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
+ bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace);
void collectVSDParaStyle(unsigned id , unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight,
- double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags);
+ double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags);
void collectTextBlock(unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign,
unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection);
void collectNameList(unsigned id, unsigned level);
diff --git a/src/lib/VSDParagraphList.cpp b/src/lib/VSDParagraphList.cpp
index 210756b..324caf1 100644
--- a/src/lib/VSDParagraphList.cpp
+++ b/src/lib/VSDParagraphList.cpp
@@ -47,7 +47,7 @@ class VSDParaIX : public VSDParagraphListElement
{
public:
VSDParaIX(unsigned id , unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight,
- double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) :
+ double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) :
m_id(id), m_level(level), m_charCount(charCount), m_indFirst(indFirst), m_indLeft(indLeft), m_indRight(indRight),
m_spLine(spLine), m_spBefore(spBefore), m_spAfter(spAfter), m_align(align), m_flags(flags) {}
~VSDParaIX() {}
@@ -71,13 +71,13 @@ private:
void libvisio::VSDParaIX::handle(VSDCollector *collector)
{
collector->collectVSDParaStyle(m_id, m_level, m_charCount, m_indFirst, m_indLeft, m_indRight,
- m_spLine, m_spBefore, m_spAfter, m_align, m_flags);
+ m_spLine, m_spBefore, m_spAfter, m_align, m_flags);
}
libvisio::VSDParagraphListElement *libvisio::VSDParaIX::clone()
{
return new VSDParaIX(m_id, m_level, m_charCount, m_indFirst, m_indLeft, m_indRight,
- m_spLine, m_spBefore, m_spAfter, m_align, m_flags);
+ m_spLine, m_spBefore, m_spAfter, m_align, m_flags);
}
diff --git a/src/lib/VSDStyles.h b/src/lib/VSDStyles.h
index 7a49052..e3cdec2 100644
--- a/src/lib/VSDStyles.h
+++ b/src/lib/VSDStyles.h
@@ -44,7 +44,7 @@ struct VSDLineStyle
VSDLineStyle()
: width(0.01), colour(), pattern(0), startMarker(0), endMarker(0), cap(0) {}
VSDLineStyle(double w, Colour col, unsigned char p, unsigned char sm,
- unsigned char em, unsigned char c)
+ unsigned char em, unsigned char c)
: width(w), colour(col), pattern(p), startMarker(sm), endMarker(em), cap(c) {}
~VSDLineStyle() {}
double width;
diff --git a/src/lib/VSDStylesCollector.cpp b/src/lib/VSDStylesCollector.cpp
index 959cbc8..b48f0df 100644
--- a/src/lib/VSDStylesCollector.cpp
+++ b/src/lib/VSDStylesCollector.cpp
@@ -341,7 +341,7 @@ void libvisio::VSDStylesCollector::collectCharIXStyle(unsigned /*id*/ , unsigned
_handleLevelChange(level);
if (!m_charStyle)
m_charStyle = new VSDCharStyle(charCount, fontID, fontColour, fontSize, bold, italic, underline, doubleunderline, strikeout, doublestrikeout,
- allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
+ allcaps, initcaps, smallcaps, superscript, subscript, fontFace);
}
void libvisio::VSDStylesCollector::collectTextBlockStyle(unsigned /* id */, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin,
diff --git a/src/lib/VSDStylesCollector.h b/src/lib/VSDStylesCollector.h
index 9abb1d9..ba93e0b 100644
--- a/src/lib/VSDStylesCollector.h
+++ b/src/lib/VSDStylesCollector.h
@@ -97,10 +97,10 @@ public:
void collectText(unsigned id, unsigned level, const ::WPXBinaryData &textStream, TextFormat format);
void collectVSDCharStyle(unsigned id , unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour,
- double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
- bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace);
+ double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout,
+ bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDFont fontFace);
void collectVSDParaStyle(unsigned id , unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight,
- double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags);
+ double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags);
void collectTextBlock(unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign,
unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection);
void collectNameList(unsigned id, unsigned level)