Fix error in JSONtoRedactionTarget
Change-Id: I6e82f86adfc6e1ebff2d9377dd011d0d97648848 Reviewed-on: https://gerrit.libreoffice.org/75602 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
@@ -384,7 +384,7 @@ RedactionTarget* JSONtoRedactionTarget(const boost::property_tree::ptree::value_
|
||||
{
|
||||
OUString sName = OUString::fromUtf8(rValue.second.get<std::string>("sName").c_str());
|
||||
RedactionTargetType eType
|
||||
= static_cast<RedactionTargetType>(atoi(rValue.second.get<std::string>("sName").c_str()));
|
||||
= static_cast<RedactionTargetType>(atoi(rValue.second.get<std::string>("eType").c_str()));
|
||||
OUString sContent = OUString::fromUtf8(rValue.second.get<std::string>("sContent").c_str());
|
||||
bool bCaseSensitive
|
||||
= OUString::fromUtf8(rValue.second.get<std::string>("bCaseSensitive").c_str()).toBoolean();
|
||||
|
Reference in New Issue
Block a user