mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix bug in worksheet::set_title
This commit is contained in:
parent
dadf852752
commit
eee47c267c
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -17,3 +17,9 @@
|
|||
path = third-party/pugixml
|
||||
url = https://github.com/zeux/pugixml
|
||||
branch = master
|
||||
[submodule "third-party/botan"]
|
||||
path = third-party/botan
|
||||
url = https://github.com/randombit/botan
|
||||
[submodule "third-party/pole"]
|
||||
path = third-party/pole
|
||||
url = https://github.com/catlan/pole
|
||||
|
|
|
@ -275,6 +275,9 @@ void worksheet::set_title(const std::string &title)
|
|||
throw invalid_sheet_title(title);
|
||||
}
|
||||
|
||||
get_workbook().d_->sheet_title_rel_id_map_[title] =
|
||||
get_workbook().d_->sheet_title_rel_id_map_[d_->title_];
|
||||
get_workbook().d_->sheet_title_rel_id_map_.erase(d_->title_);
|
||||
d_->title_ = title;
|
||||
}
|
||||
|
||||
|
|
1
third-party/botan
vendored
Submodule
1
third-party/botan
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 35657e0f76931f0d3a333610e7065c81c35e9f1e
|
1
third-party/pole
vendored
Submodule
1
third-party/pole
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 0f8eadd8b9600cf1254b1efb702d2fe49ae00b71
|
Loading…
Reference in New Issue
Block a user