[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - comphelper/source
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 3 19:44:49 UTC 2019
comphelper/source/misc/lok.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit d168d78e6eecd66c7c063c6c0fff78129c4eb2dc
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Sat Aug 3 00:46:59 2019 +0300
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Sep 3 21:43:56 2019 +0200
Remove work-around for isMobile()
Let's remove this dangerous work-around since
it is no longer needed after 6ceab5b233da675b25f42fadff9e85d404903322
(cherry picked from commit 610050fcd745694a6dee58152bfc1c4d85535165)
Change-Id: Idb18d83f9eac571334fe8bfcd7f212f2f0a930a9
Reviewed-on: https://gerrit.libreoffice.org/78311
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx
index 8862568608a8..5f5fc31d4421 100644
--- a/comphelper/source/misc/lok.cxx
+++ b/comphelper/source/misc/lok.cxx
@@ -67,10 +67,6 @@ void setMobile(int nViewId, bool bMobile)
bool isMobile(int nViewId)
{
- // No view given, so act as a global var
- if (nViewId == -1)
- return g_vIsViewMobile.size() > 0;
-
if (g_vIsViewMobile.find(nViewId) != g_vIsViewMobile.end())
return g_vIsViewMobile[nViewId];
else
More information about the Libreoffice-commits
mailing list