clarify types

This commit is contained in:
Thomas Fussell 2016-08-18 22:03:31 -04:00
parent 3f0a3424e6
commit c1ac0c790a
2 changed files with 4 additions and 4 deletions

View File

@ -62,14 +62,14 @@ public:
class XLNT_CLASS border_property class XLNT_CLASS border_property
{ {
public: public:
optional<color> color() const; optional<class color> color() const;
border_property &color(const xlnt::color &c); border_property &color(const xlnt::color &c);
optional<border_style> style() const; optional<border_style> style() const;
border_property &style(border_style style); border_property &style(border_style style);
private: private:
optional<xlnt::color> color_; optional<class color> color_;
optional<border_style> style_; optional<border_style> style_;
}; };

View File

@ -188,13 +188,13 @@ public:
/// Returns the gradient fill represented by this fill. /// Returns the gradient fill represented by this fill.
/// Throws an invalid_attribute exception if this is not a gradient fill. /// Throws an invalid_attribute exception if this is not a gradient fill.
/// </summary> /// </summary>
gradient_fill gradient_fill() const; class gradient_fill gradient_fill() const;
/// <summary> /// <summary>
/// Returns the pattern fill represented by this fill. /// Returns the pattern fill represented by this fill.
/// Throws an invalid_attribute exception if this is not a pattern fill. /// Throws an invalid_attribute exception if this is not a pattern fill.
/// </summary> /// </summary>
pattern_fill pattern_fill() const; class pattern_fill pattern_fill() const;
protected: protected:
std::string to_hash_string() const override; std::string to_hash_string() const override;