mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
resolve warnings
This commit is contained in:
parent
e8cb8d9bc6
commit
f4d00acb9f
|
@ -141,7 +141,7 @@ public:
|
|||
{
|
||||
convert_comma_to_pt(buf, len);
|
||||
}
|
||||
return std::string(buf, len);
|
||||
return std::string(buf, static_cast<size_t>(len));
|
||||
}
|
||||
|
||||
double deserialise(std::string &s) const noexcept
|
||||
|
|
|
@ -149,11 +149,6 @@ public:
|
|||
/// </summary>
|
||||
bool operator!=(const char *reference_string) const;
|
||||
|
||||
/// <summary>
|
||||
/// Assigns the extents of the provided range to this range.
|
||||
/// </summary>
|
||||
range_reference &operator=(const range_reference &ref);
|
||||
|
||||
private:
|
||||
/// <summary>
|
||||
/// The top left cell in the range
|
||||
|
|
|
@ -177,11 +177,4 @@ XLNT_API bool operator!=(const char *reference_string, const range_reference &re
|
|||
return ref != reference_string;
|
||||
}
|
||||
|
||||
range_reference &range_reference::operator=(const range_reference &ref)
|
||||
{
|
||||
top_left_ = ref.top_left_;
|
||||
bottom_right_ = ref.bottom_right_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
} // namespace xlnt
|
||||
|
|
Loading…
Reference in New Issue
Block a user