comphelper/source/misc/lok.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 610050fcd745694a6dee58152bfc1c4d85535165 Author: Muhammet Kara <[email protected]> AuthorDate: Sat Aug 3 00:46:59 2019 +0300 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Aug 30 08:20:14 2019 +0200 Remove work-around for isMobile() Let's remove this dangerous work-around since it is no longer needed after 6ceab5b233da675b25f42fadff9e85d404903322 Change-Id: Idb18d83f9eac571334fe8bfcd7f212f2f0a930a9 Reviewed-on: https://gerrit.libreoffice.org/78282 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 253d94500f13..b18314d155e5 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -66,10 +66,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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
