loolwsd: Kill unused code

Change-Id: I7c8d16ce2358ca9ab41fcc57a8e9b9241b240150
This commit is contained in:
Pranav Kant 2016-10-05 16:42:20 +05:30
parent 81f374a940
commit d5fdb210aa

View file

@ -302,16 +302,7 @@ bool ChildSession::loadDocument(const char * /*buffer*/, int /*length*/, StringT
return false;
}
std::ostringstream ossViewInfo;
const auto viewId = std::to_string(_viewId);
// Create a message object
Object::Ptr viewInfoObj = new Object();
viewInfoObj->set("id", viewId);
viewInfoObj->set("username", _userName);
viewInfoObj->stringify(ossViewInfo);
Log::info("Created new view with viewid: [" + viewId + "] for username: [" + _userName + "].");
Log::info("Created new view with viewid: [" + std::to_string(_viewId) + "] for username: [" + _userName + "].");
_docType = LOKitHelper::getDocumentTypeAsString(_loKitDocument->get());
if (_docType != "text" && part != -1)
{