loolwsd: Kill unused code
Change-Id: I7c8d16ce2358ca9ab41fcc57a8e9b9241b240150
This commit is contained in:
parent
81f374a940
commit
d5fdb210aa
1 changed files with 1 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue