mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
clarify types
This commit is contained in:
parent
3f0a3424e6
commit
c1ac0c790a
|
@ -62,14 +62,14 @@ public:
|
|||
class XLNT_CLASS border_property
|
||||
{
|
||||
public:
|
||||
optional<color> color() const;
|
||||
optional<class color> color() const;
|
||||
border_property &color(const xlnt::color &c);
|
||||
|
||||
optional<border_style> style() const;
|
||||
border_property &style(border_style style);
|
||||
|
||||
private:
|
||||
optional<xlnt::color> color_;
|
||||
optional<class color> color_;
|
||||
optional<border_style> style_;
|
||||
};
|
||||
|
||||
|
|
|
@ -188,13 +188,13 @@ public:
|
|||
/// Returns the gradient fill represented by this fill.
|
||||
/// Throws an invalid_attribute exception if this is not a gradient fill.
|
||||
/// </summary>
|
||||
gradient_fill gradient_fill() const;
|
||||
class gradient_fill gradient_fill() const;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the pattern fill represented by this fill.
|
||||
/// Throws an invalid_attribute exception if this is not a pattern fill.
|
||||
/// </summary>
|
||||
pattern_fill pattern_fill() const;
|
||||
class pattern_fill pattern_fill() const;
|
||||
|
||||
protected:
|
||||
std::string to_hash_string() const override;
|
||||
|
|
Loading…
Reference in New Issue
Block a user