Skip to content

Commit

Permalink
Remove Poco::LocalDateTime left-overs
Browse files Browse the repository at this point in the history
Change-Id: Ia847ec0f1b5602cfa0790b8702aa70e74ecec160
  • Loading branch information
ayhanyalcinsoy authored and mrkara committed Oct 24, 2020
1 parent e37856f commit 1ef9ad4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/UnitWOPITemplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class UnitWOPITemplate : public WopiTestServer
{
LOG_INF("Fake wopi host request, handling CheckFileInfo: " << uriReq.getPath());

Poco::LocalDateTime now;
Poco::JSON::Object::Ptr fileInfo = new Poco::JSON::Object();
fileInfo->set("BaseFileName", "test.odt");
fileInfo->set("TemplateSource", std::string("http://127.0.0.1:") + std::to_string(ClientPortNumber) + "/test.ott"); // must be http, otherwise Neon in the core complains
Expand Down
1 change: 0 additions & 1 deletion test/UnitWOPIWatermark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class UnitWOPIWatermark : public WopiTestServer

assertCheckFileInfoRequest(request);

Poco::LocalDateTime now;
const std::string fileName(uriReq.getPath() == "/wopi/files/3" ? "he%llo.txt" : "hello.txt");
Poco::JSON::Object::Ptr fileInfo = new Poco::JSON::Object();
fileInfo->set("BaseFileName", fileName);
Expand Down
1 change: 0 additions & 1 deletion test/WopiTestServer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class WopiTestServer : public UnitWSD

assertCheckFileInfoRequest(request);

Poco::LocalDateTime now;
const std::string fileName(uriReq.getPath() == "/wopi/files/3" ? "he%llo.txt" : "hello.txt");
Poco::JSON::Object::Ptr fileInfo = new Poco::JSON::Object();
fileInfo->set("BaseFileName", fileName);
Expand Down

0 comments on commit 1ef9ad4

Please sign in to comment.