[Libreoffice-commits] online.git: test/UnitWOPILoadEncoded.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri May 24 07:09:51 UTC 2019
test/UnitWOPILoadEncoded.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8c9b85457a78e4c655998648fc0096a0db7ee7ac
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri May 24 09:09:08 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri May 24 09:09:08 2019 +0200
test: fix build in UnitWOPILoadEncoded
This was forward-ported without adapting to use the getters.
Change-Id: I3b236b50a2021d95c02b3cc7983fa0b7b3d47dfa
diff --git a/test/UnitWOPILoadEncoded.cpp b/test/UnitWOPILoadEncoded.cpp
index 8a0bb3ebd..a3d19db81 100644
--- a/test/UnitWOPILoadEncoded.cpp
+++ b/test/UnitWOPILoadEncoded.cpp
@@ -42,7 +42,7 @@ public:
{
initWebsocket("/wopi/files/3?access_token=anything");
- helpers::sendTextFrame(*_ws->getLOOLWebSocket(), "load url=" + _wopiSrc, testName);
+ helpers::sendTextFrame(*getWs()->getLOOLWebSocket(), "load url=" + getWopiSrc(), testName);
SocketPoll::wakeupWorld();
_phase = Phase::CloseDoc;
@@ -50,7 +50,7 @@ public:
}
case Phase::CloseDoc:
{
- helpers::sendTextFrame(*_ws->getLOOLWebSocket(), "closedocument", testName);
+ helpers::sendTextFrame(*getWs()->getLOOLWebSocket(), "closedocument", testName);
_phase = Phase::Polling;
break;
}
More information about the Libreoffice-commits
mailing list