mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
don't use string_literal for now
This commit is contained in:
parent
e104c6a9b6
commit
245f5117d3
|
@ -41,8 +41,6 @@
|
||||||
#include <xlnt/worksheet/header_footer.hpp>
|
#include <xlnt/worksheet/header_footer.hpp>
|
||||||
#include <xlnt/worksheet/worksheet.hpp>
|
#include <xlnt/worksheet/worksheet.hpp>
|
||||||
|
|
||||||
using namespace std::string_literals;
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -2477,9 +2475,9 @@ void xlsx_producer::write_worksheet(const relationship &rel)
|
||||||
auto first_header = std::string();
|
auto first_header = std::string();
|
||||||
auto first_footer = std::string();
|
auto first_footer = std::string();
|
||||||
|
|
||||||
const auto locations =
|
const auto locations =
|
||||||
{
|
{
|
||||||
header_footer::location::left,
|
header_footer::location::left,
|
||||||
header_footer::location::center,
|
header_footer::location::center,
|
||||||
header_footer::location::right
|
header_footer::location::right
|
||||||
};
|
};
|
||||||
|
@ -2715,7 +2713,7 @@ void xlsx_producer::write_comments(const relationship & /*rel*/, worksheet ws, c
|
||||||
if (run.second.is_set())
|
if (run.second.is_set())
|
||||||
{
|
{
|
||||||
write_start_element(xmlns, "rPr");
|
write_start_element(xmlns, "rPr");
|
||||||
|
|
||||||
if (run.second.get().bold())
|
if (run.second.get().bold())
|
||||||
{
|
{
|
||||||
write_start_element(xmlns, "b");
|
write_start_element(xmlns, "b");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user