fix bug in worksheet::set_title

This commit is contained in:
Thomas Fussell 2016-10-10 07:01:19 -04:00
parent dadf852752
commit eee47c267c
4 changed files with 11 additions and 0 deletions

6
.gitmodules vendored
View File

@ -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

View File

@ -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

@ -0,0 +1 @@
Subproject commit 35657e0f76931f0d3a333610e7065c81c35e9f1e

1
third-party/pole vendored Submodule

@ -0,0 +1 @@
Subproject commit 0f8eadd8b9600cf1254b1efb702d2fe49ae00b71