[Libreoffice-commits] online.git: kit/ChildSession.hpp kit/Kit.cpp test/WhiteBoxTests.cpp
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 17 07:25:23 UTC 2020
kit/ChildSession.hpp | 2 +-
kit/Kit.cpp | 2 +-
test/WhiteBoxTests.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 07629f0d7cc628ffbeeaafbddbe021eb6496b3ab
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Sep 17 08:57:18 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Sep 17 09:24:44 2020 +0200
Mark getMobileAppDocId() as const
Change-Id: Ie02cf07ce12ad63bf5374d94bdbd1b55eaeec4da
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102897
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/kit/ChildSession.hpp b/kit/ChildSession.hpp
index 3b6226d8f..c828fcce2 100644
--- a/kit/ChildSession.hpp
+++ b/kit/ChildSession.hpp
@@ -72,7 +72,7 @@ public:
virtual void alertAllUsers(const std::string& cmd, const std::string& kind) = 0;
- virtual unsigned getMobileAppDocId() = 0;
+ virtual unsigned getMobileAppDocId() const = 0;
};
struct RecordedEvent
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index c955a3339..a68b40e1d 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -708,7 +708,7 @@ public:
alertAllUsers("errortoall: cmd=" + cmd + " kind=" + kind);
}
- unsigned getMobileAppDocId() override
+ unsigned getMobileAppDocId() const override
{
return _mobileAppDocId;
}
diff --git a/test/WhiteBoxTests.cpp b/test/WhiteBoxTests.cpp
index 1982f328a..445a7134a 100644
--- a/test/WhiteBoxTests.cpp
+++ b/test/WhiteBoxTests.cpp
@@ -666,7 +666,7 @@ public:
{
}
- unsigned getMobileAppDocId() override
+ unsigned getMobileAppDocId() const override
{
return 0;
}
More information about the Libreoffice-commits
mailing list