mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Fix CI build warnings
This commit is contained in:
parent
8ba7f5b45d
commit
4ff68319b0
|
@ -29,12 +29,12 @@
|
||||||
namespace xlnt {
|
namespace xlnt {
|
||||||
|
|
||||||
rich_text::rich_text(const std::string &plain_text)
|
rich_text::rich_text(const std::string &plain_text)
|
||||||
: rich_text({plain_text, optional<font>()})
|
: rich_text(rich_text_run{plain_text, optional<font>(), false})
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
rich_text::rich_text(const std::string &plain_text, const class font &text_font)
|
rich_text::rich_text(const std::string &plain_text, const class font &text_font)
|
||||||
: rich_text({plain_text, optional<font>(text_font)})
|
: rich_text({plain_text, optional<font>(text_font), false})
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,14 +45,6 @@
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Returns true if d is exactly equal to an integer.
|
|
||||||
/// </summary>
|
|
||||||
bool is_integral(double d)
|
|
||||||
{
|
|
||||||
return std::fabs(d - static_cast<double>(static_cast<long long int>(d))) == 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<std::pair<std::string, std::string>> core_property_namespace(xlnt::core_property type)
|
std::vector<std::pair<std::string, std::string>> core_property_namespace(xlnt::core_property type)
|
||||||
{
|
{
|
||||||
using xlnt::core_property;
|
using xlnt::core_property;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user