Commit 1e2e5996 authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent 033feeaf
......@@ -94,15 +94,15 @@ int PROTECTION_COMMON::serialize (std::wostream & _stream)
{
if (protect)
{
CP_XML_ATTR(L"sheet", protect->fLock);
CP_XML_ATTR(L"sheet", (protect->fLock ? 1 : 0));
}
if (object)
{
CP_XML_ATTR(L"objects", object->fLockObj);
CP_XML_ATTR(L"objects", (object->fLockObj ? 1 : 0));
}
if (scenario)
{
CP_XML_ATTR(L"scenarios", scenario->fScenProtect);
CP_XML_ATTR(L"scenarios", (scenario->fScenProtect ? 1 : 0));
}
CP_XML_ATTR(L"selectLockedCells", 1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment