ParagraphStyleData: Fixed line spacing not being set/adopted/compared.
This commit is contained in:
@@ -15,6 +15,7 @@ ParagraphStyleData::ParagraphStyleData()
|
|||||||
|
|
||||||
fFirstLineInset(0.0f),
|
fFirstLineInset(0.0f),
|
||||||
fLineInset(0.0f),
|
fLineInset(0.0f),
|
||||||
|
fLineSpacing(0.0f),
|
||||||
|
|
||||||
fSpacingTop(0.0f),
|
fSpacingTop(0.0f),
|
||||||
fSpacingBottom(0.0f),
|
fSpacingBottom(0.0f),
|
||||||
@@ -31,6 +32,7 @@ ParagraphStyleData::ParagraphStyleData(const ParagraphStyleData& other)
|
|||||||
|
|
||||||
fFirstLineInset(other.fFirstLineInset),
|
fFirstLineInset(other.fFirstLineInset),
|
||||||
fLineInset(other.fLineInset),
|
fLineInset(other.fLineInset),
|
||||||
|
fLineSpacing(other.fLineSpacing),
|
||||||
|
|
||||||
fSpacingTop(other.fSpacingTop),
|
fSpacingTop(other.fSpacingTop),
|
||||||
fSpacingBottom(other.fSpacingBottom),
|
fSpacingBottom(other.fSpacingBottom),
|
||||||
@@ -50,6 +52,7 @@ ParagraphStyleData::operator==(const ParagraphStyleData& other) const
|
|||||||
&& fJustify == other.fJustify
|
&& fJustify == other.fJustify
|
||||||
&& fFirstLineInset == other.fFirstLineInset
|
&& fFirstLineInset == other.fFirstLineInset
|
||||||
&& fLineInset == other.fLineInset
|
&& fLineInset == other.fLineInset
|
||||||
|
&& fLineSpacing == other.fLineSpacing
|
||||||
&& fSpacingTop == other.fSpacingTop
|
&& fSpacingTop == other.fSpacingTop
|
||||||
&& fSpacingBottom == other.fSpacingBottom
|
&& fSpacingBottom == other.fSpacingBottom
|
||||||
&& fBullet == other.fBullet;
|
&& fBullet == other.fBullet;
|
||||||
|
|||||||
Reference in New Issue
Block a user